Links don't work when I use cms_module tag
Posted: Fri Feb 03, 2006 11:36 am
Hi,
I want to have a number of different pages which display news; for example, a homepage with story summarys and an archive page without. My homepage uses the {content} tag, so to make an archive page I think I have to use {cms_module detailtemplate="sometemplate.tpl"}. However, when I use that code, every time I click on a link I stay on the archive page. When using {content} I am taken to a detail page as normal. The only difference in the URLs generated by {content} and {cms_module} is the final variable:
{content} cntnt01returnid=Archive
{cms_module} cntnt01returnid=40
How can I change the variable when using {cms_module} so that the URLs work?
Thought: do I have to create a detailtemplate before this will work? In the module help it says this is optional.
I could really do with some help; please let me know if this wasn't clear, so I can explain it better.
I want to have a number of different pages which display news; for example, a homepage with story summarys and an archive page without. My homepage uses the {content} tag, so to make an archive page I think I have to use {cms_module detailtemplate="sometemplate.tpl"}. However, when I use that code, every time I click on a link I stay on the archive page. When using {content} I am taken to a detail page as normal. The only difference in the URLs generated by {content} and {cms_module} is the final variable:
{content} cntnt01returnid=Archive
{cms_module} cntnt01returnid=40
How can I change the variable when using {cms_module} so that the URLs work?
Thought: do I have to create a detailtemplate before this will work? In the module help it says this is optional.
I could really do with some help; please let me know if this wasn't clear, so I can explain it better.