[solved] Quick question on detail templates for the News module...

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
Gordon MWS
New Member
New Member
Posts: 8
Joined: Fri Mar 06, 2009 3:52 pm

[solved] Quick question on detail templates for the News module...

Post by Gordon MWS »

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:

Code: Select all


{news summarytemplate='mws_summary' number='3' detailpage='our-blog' moretext='Read more'}

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:

Code: Select all


{news summarytemplate='mws_summary' number='3' detailpage='our-blog' detailtemplate='mws_blogdetail' moretext='Read more'}

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??
Last edited by Gordon MWS on Mon Mar 09, 2009 3:08 pm, edited 1 time in total.
User avatar
Gordon MWS
New Member
New Member
Posts: 8
Joined: Fri Mar 06, 2009 3:52 pm

[Solved] Quick question on detail templates for the News module...

Post by Gordon MWS »

Sorted, spot the forgetful idiot!!

I had setup the pagetitle modification and variable wasn't being setup!!!!
Post Reply

Return to “Modules/Add-Ons”