Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Anything Goes
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:18

ssi novice


Poster: Maz
Dated: Saturday July 24 2004 - 19:43:44 BST

Heck, I tried everything someone must know how I get an ssi include to show up only on the index page from the template.

This 'if' still shows up on every page.

Code:
<!--#if expr="$DOCUMENT_URI=./index.php"-->
<?php __at__ include(); ?>
<!--#endif-->


Thanks,
maz


Poster: John
Dated: Saturday July 24 2004 - 22:39:07 BST

I don't know php, so I'll be no help to you there. However, it seems to me that if you want this only to show on the index page, why not just pull all this from the template and put only the include on the index page? Why ask all the other pages to go through the computation if you already know they aren't going to use it?


Poster: Maz
Dated: Saturday July 24 2004 - 23:00:55 BST

Because includes won't go through the template system because its already an include for the whole system.

I've tried every possible combination, just can't get it to show only on index.

maz