
ross
Staff
/ Moderator

Nov 8, 2006, 11:28 AM
Post #2 of 3
(977 views)
Shortcut
|
|
Re: [floodrod] Template SSI Includes and placeholders
[In reply to]
|
Can't Post
|
|
Hi there. Thanks for posting! The first thing I noticed there is that the templateIf isn’t quite right. The opening templateIf tag appears to be missing a --> right before you start the SSI. The second thing here is that you’ll also want to adjust the placeholder you are using. Instead of just $RSS_URL$ you’ll want to try $article.RSS_URL$. Does that make sense? Here’s an example of what I think the whole thing should look like:
<!-- templateIf : $article.RSS_URL$ ne "" --> <!--#include virtual="/rss/rss2html.php?XMLFILE=$article.RSS_URL$&TEMPLATE=http://www.mysite.com/rss/sample-template.html&MAXITEMS=20" --> <!-- /templateIf --> I spaced it out a little more just to make it easier to read. Give this a shot and let me know how you make out . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting: http://www.interactivetools.com/consulting/
(This post was edited by ross on Nov 8, 2006, 11:40 AM)
|