This is my first time using CMSMS and I think I am going to like it. Couple of questions to start me off.
How do I limit the news items to 2?
How do I change the template that the search feature uses?
Cheers all.
First time using CMSMS. Limit news to 2? Change search template?
-
cyberman
Re: First time using CMSMS. Limit news to 2? Change search template?
Hi,
welcome on CMS made simple
.
welcome on CMS made simple
So you should read module help and all your questions will be answeredcb2004 wrote: Couple of questions to start me off.
You have to call news module with parameter number='2'.How do I limit the news items to 2?
Search module has a admin too (menu extensions > search) with the possibility to change search templates.How do I change the template that the search feature uses?
Re: First time using CMSMS. Limit news to 2? Change search template?
Thanks for your help. Everyone needs a little guidance with something thats new. I did check the help but could not get the desired effect. I was trying itemcount='2'.cyberman wrote: Hi,
welcome on CMS made simple
So you should read module help and all your questions will be answeredcb2004 wrote: Couple of questions to start me off..
You have to call news module with parameter number='2'.How do I limit the news items to 2?
Search module has a admin too (menu extensions > search) with the possibility to change search templates.How do I change the template that the search feature uses?
I have changed the search form template and the way the search results display, but you can display the search results in another page:
(optional) resultpage="null" - Page to display search results in. This can either be a page alias or an id. Used to allow search results to be displayed in a different template from the search form
However I dont know how to use these parameters yet.
-
cyberman
Re: First time using CMSMS. Limit news to 2? Change search template?
If you haven't change default settings in config.php there's the function named auto-alias activated.
This function take the page title and create a page alias automatically if you save a content page. If you now go to this page (edit this page) to tab "Options" you can see the created alias.
This alias you have to use with parameter resultpage.
This function take the page title and create a page alias automatically if you save a content page. If you now go to this page (edit this page) to tab "Options" you can see the created alias.
This alias you have to use with parameter resultpage.

