[solved] Quick question on detail templates for the News module...
Posted: Mon Mar 09, 2009 2:19 pm
				
				I have setup a news detail template to suit the site I am working on just now, however I am having some trouble using it! 
My understanding was that the template would be referenced in the calling {news} statement to tell the detail page what template to use - but this does not happen!? Here is what I put and a brief descriiption...
My homepage has the three latest news articles in summary form using the following:
The 'our-blog' page when accessed through the menu shows a summary of the ten most recent posts, or when accessed from the homepage {news} tag has been showing the correct post in the default 'Sample' detail template (I have used an {if}{else}{/if} statement to use the corresponding tags) when I change the homepage {news} tag to:
All I get is the standard blog page, as if I accessed it from the navigation menu, however the url is showing the news article title??
I am currently running this on CMSms 1.5.2 using pretty-urls (htaccess method).
I have had a search through the forums and documentation but without any success, can someone let me know what it is I am doing wrong??
			My understanding was that the template would be referenced in the calling {news} statement to tell the detail page what template to use - but this does not happen!? Here is what I put and a brief descriiption...
My homepage has the three latest news articles in summary form using the following:
Code: Select all
{news summarytemplate='mws_summary' number='3' detailpage='our-blog' moretext='Read more'}
Code: Select all
{news summarytemplate='mws_summary' number='3' detailpage='our-blog' detailtemplate='mws_blogdetail' moretext='Read more'}
I am currently running this on CMSms 1.5.2 using pretty-urls (htaccess method).
I have had a search through the forums and documentation but without any success, can someone let me know what it is I am doing wrong??