Page 1 of 1
News Links with different templates -help
Posted: Wed Feb 20, 2008 2:01 pm
by Lexander
Hello Everyone!
I am currently new to "CMS made Simple" and I need help with making costum "news summery" links to different templates. From what I now have witnessed, is that when you were to click on a summary link, the same template/page refreshes and displays the full article. How can I appropiatly edit the summerary links to POST it's ID to a different template? What is it that I have to change in the "Summary Template Editor"?
Can anybody explain this to me how it's done?

Re: News Links with different templates -help
Posted: Thu Feb 21, 2008 10:19 am
by raj
Lexander wrote:
Hello Everyone!
I am currently new to "CMS made Simple" and I need help with making costum "news summery" links to different templates. From what I now have witnessed, is that when you were to click on a summary link, the same template/page refreshes and displays the full article. How can I appropiatly edit the summerary links to POST it's ID to a different template? What is it that I have to change in the "Summary Template Editor"?
Can anybody explain this to me how it's done?
Dear CMS Made Simple Gurus
This is a fantastic system and I wish to thank you- I will be making a donation to the core team.
I too am wondering how to use a different template for the News Detail page. For example if you have a news summary block on the homepage- then you click on a news item to view it's detail it uses the same template as the homepage - meaning you have a news summary block on the news item page? Is there any way of having a different template for the news detail page?
Thanks
Raj Choudhury

Re: News Links with different templates -help
Posted: Thu Feb 21, 2008 10:46 am
by lollipop27
There is a parameter in the news called detailpage="pagealias"...
There your can link the summary to another PAGE.
For example if you want to display the most recent news on the 'home' page but all the others are on the 'news' page, then you can linkt the summary news on the 'home' page to your actual 'news' page. This 'news' page can then obviously have another template that the 'home' page...
The summary and detail template is to style the summary and detail view itself, for example if you want to change the order of author, date, category etc....
Hope this helps you...
Re: News Links with different templates -help
Posted: Thu Feb 21, 2008 11:22 am
by raj
lollipop27 wrote:
There is a parameter in the news called detailpage="pagealias"...
There your can link the summary to another PAGE.
For example if you want to display the most recent news on the 'home' page but all the others are on the 'news' page, then you can linkt the summary news on the 'home' page to your actual 'news' page. This 'news' page can then obviously have another template that the 'home' page...
The summary and detail template is to style the summary and detail view itself, for example if you want to change the order of author, date, category etc....
Hope this helps you...
Dear Lolipop
Thank you for responding so quickly. But you have to be patient because I am not a developer(I wish I was!!) - I am only a designer trying to understand but I do get stuck alot.
Where can I find the parameter in the news called detailpage="pagealias"...?
Thank you-
This is the site I am working on:
http://cms.alexfarr.co.uk/ - It is still is early stages so don't laugh too much!!
Also I have another quick question - as you can see there are too many items in the news summary on the homepage-
How can I limit this so that it only shows 2 or 3? But i do not want this to effect the News Page :
http://cms.alexfarr.co.uk/index.php?page=news-2
I hope you can see the problems and help me.
Thanks
Raj
Re: News Links with different templates -help
Posted: Thu Feb 21, 2008 11:39 am
by lollipop27
Hi... you can always find help with modules and plugins by reading their help page...
go to the Extension > Modules > News page...
There you can find all the paramters
you add them in the tag like this:
{news [b]parameter="value"[/b]}
so add detailpage="pagealias" and add number="2"
that will show you only 2 news.... you'll have an navigation to the other news then, if you don't want it, remove it with CSS (display: none;) or edit the summary template...
Re: News Links with different templates -help
Posted: Thu Feb 21, 2008 11:44 am
by Lexander
Thank you for your input lollipop27

it works!
Cheers!

Re: Thank you Lollipop
Posted: Thu Feb 21, 2008 11:50 am
by raj
Hi there
Thank you SO SO Much!!

I worked it out!
I do usually read the Help files first but I just got confused.
Still a bit confused about how use different template when you go from Homepage > News Item (It currently uses the homepage template which has the news summary block on it) ?
Thank you
Raj
Re: News Links with different templates -help
Posted: Thu Feb 21, 2008 11:59 am
by raj
All solved !!
Thank you so much for the help-
I hope I will be able to help others that get stuck on this.
