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-->
<?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?