Help - Search - Members - Calendar
Full Version: photolog sidebar
Movable Type Community Forum > Additional Resources > Tips and Tricks
spoot
Anyone know how Addrian Tijessiling (the author of the EXCELENT!! ecto) did this on his web log

http://www.kung-foo.tv/blog/


In the upper right top he has thumbnails for a photolog. Has he created a cat for the photolog sidebar and somehow excluded it from his main blog? Anyone have any ideas as to how he did this. Or maybe a better way to put it: How do you create a sidebar cat that doesn't show up in regular weblog? Is he usung filter cat? Is there an easier way to do this. Am I insane?

Thank you.
LisaJill
based off the url's, i'd guess its a second weblog - the include is probably an mtentries container with lastn="7" and that formatted, php included into the sidebar.

easy stuff really =)
spoot
Thanks for the response.

I also found this info on the ecto site. Addrian has the code and info on his photolog.

http://www.kung-foo.tv/blog/archives/000585.php


Hope this is usefull for someone else.
tomswinglerIII
is there anyway to display php included content into a smaller view onto the main index. My main index is including the last four posts from another blog, but I want it to resize the pics and not include the text and place it in the sidebar without using a plugin. take a look here Basically my question is how do you format the included content?
LisaJill
You create a NEW index template with JUST the code that you're going to want included. You format this however you want (can be totally different from the actual main index for that site).

does that help? You can see an example of this on my site. On the main site, in the right column I have weigh-in - thats showing just the last 5 posts and comment count. But if you look at www.lisa-jill.com/fitness, there is a LOT more information.

It's the same theory. If its a photoblog it depends how you enter the photo and if the catch to the photo is templated or not. So if you're still unsure would need a bit more info. =)
tomswinglerIII
This is what I have in up.html which is the page that is included on my main index :
CODE
TreoCam:
<MTEntries lastn="4">
<$MTEntryTitle$>
Posted: <$MTEntryDate$>
<$MTEntryBody$>
<a href="<$MTEntryPermalink$>" target=_blank
name="comments">Comments</a> | <a href="<$MTBlogURL$>" target=_blank>View all</a>
</MTEntries>


So I can format that to shape it into my main index? How exactly do I do that?
tomswinglerIII
also, I've noticed that my code states target=_blank
This makes it open a new window, right? What is the code that makes the target the body of my index so that users don't get a new window?
LisaJill
Just remove the target and it will default to the same window.

When you post a new picture, what do you put into the Entry Body? Is it the full image tag?
tomswinglerIII
I am using mofp2 to post the pictures to a blog located here I send the pics through email.
I basically just want the last four pics from picblog resized and placed on the top right of my main blog. Is this possible to do w/o plugins or anything to difficult. I figured I could format the included page to resize the pics and align it on the top right side of the page. thanks again for all your help.
LisaJill
Hrm, see, with my photoblog the entry bod is simply the first part of the file name - I can resize by percentages or absolute values (tho that'd be bad cos of distortion) easily, but 2 reize the photos the way mfop posts them, I'm not sure how. MTEmbedImage may be of help to you (mt-plugins.org) or some php...

I think the mfop site has some instructions on doing this as well =)

sorry I can't help more sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.