[solved] Forcing a "Detail Template" view for news
Posted: Sun Mar 01, 2009 8:03 am
I'm essentially looking to display the latest news entry in "detail" view on a page. Seems fairly straightforward, but I haven't been able to figure out how to pull it off just yet.
I tried duplicating the detail template as a summary template, and then using this tag {news number="1" summarytemplate="Home"} ('Home' being the name of summary template duplicated from the original details one) but I get this error: string(43) "Smarty error: eval: missing 'var' parameter"
I found a post (http://forum.cmsmadesimple.org/index.php/topic,15176.0.html) which seems to be the kind of answer I'm looking for but it also seems like it uses outdated code.
Any thoughts?
I tried duplicating the detail template as a summary template, and then using this tag {news number="1" summarytemplate="Home"} ('Home' being the name of summary template duplicated from the original details one) but I get this error: string(43) "Smarty error: eval: missing 'var' parameter"
I found a post (http://forum.cmsmadesimple.org/index.php/topic,15176.0.html) which seems to be the kind of answer I'm looking for but it also seems like it uses outdated code.
Any thoughts?