PDA

View Full Version : What file to edit


midwestbonsai
11-04-2006, 04:09 AM
What file do I edit if I want something to display only on the directory page?
Thanks

proprod
11-04-2006, 04:10 AM
Content visible to registered users only.

Just to get it clear, the directory page, you mean the page that displays initially when the site is visited? Index page?

midwestbonsai
11-04-2006, 04:13 AM
Content visible to registered users only.
Correct.
-Paul

proprod
11-04-2006, 04:19 AM
Content visible to registered users only.
Ok, that would be main.tpl You'll want to use code like:

Content visible to registered users only.
You may have to play around a little but to get it where you like. But the code above will only display that content on the main page.

midwestbonsai
11-04-2006, 03:14 PM
Where do you add this code? Cause I dont see it when I add it to the main.ptl

anon
11-06-2006, 09:10 PM
Content visible to registered users only.
{if $category.ID eq 0 and !$p and !$q}
your content here
{/if}

you missed something important prodprod