Help - Search - Members - Calendar
Full Version: Individual Entry Archive - Content On Only One Entry?
Movable Type Community Forum > Using Movable Type > Entries and Archives
test17
hi - i'm trying to figure out how/if in MT 3.2 i can put some content so it only shows up on a single/specific entry page. for example, in the category archive template i know the code to make certain content appear on some category archive pages and not on others. is there a way to do the same with the individual entry archive template if i have some content that i want to appear just on one single entry and i know the name of that entry? thanks for any tips
test17
hi - i just wondering if there is some code like what can used on category archive templates - see below to put certain content on certain category pages, but not on others... thanks for any tips of how to do the same on the individual entry archive template/pages...


<MTIfCategory name="tom smith">
lorem ipsum lorem ipsum

</MTIfCategory>



QUOTE (test17 @ Oct 16 2008, 08:53 PM) *
hi - i'm trying to figure out how/if in MT 3.2 i can put some content so it only shows up on a single/specific entry page. for example, in the category archive template i know the code to make certain content appear on some category archive pages and not on others. is there a way to do the same with the individual entry archive template if i have some content that i want to appear just on one single entry and i know the name of that entry? thanks for any tips
OtherNiceMan
I have to admit it has been a long time since I used 3.2 but I think it should be the same.
test17
i wondered if that was possible, but i'm not clear how to write the code, e.g. on an individual entry what would be the equivalent to "category name" e.g. tom smith? would i use the page/post title? and would i use code like this maybe ?

<MTIfEntry name="tom smith">
lorem ipsum lorem ipsum

</MTIfEntry>


thanks for any ideas...

OtherNiceMan
What I would do is use a private tag (private tags start with @) and use MTEntryIfTagged http://www.sixapart.com/movabletype/docs/3...try/#entry-7499
test17
hmmnn... this sounds good except that it looks like it is only for MT 3.3 and we're stuck with MT 3.2 because we're hosted on yahoo that hasn't upgraded MT 3.2 yet... ugh


QUOTE (OtherNiceMan @ Oct 27 2008, 02:24 PM) *
What I would do is use a private tag (private tags start with @) and use MTEntryIfTagged http://www.sixapart.com/movabletype/docs/3...try/#entry-7499

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.