modifying links

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
tonypb
Forum Members
Forum Members
Posts: 104
Joined: Tue Nov 20, 2007 12:16 am

modifying links

Post by tonypb »

I am currently using this CMS to create a site using basically two templates... one for the home page and one for the rest... on the home page I have a section that shows "news" and also have a "site search"

when you click on the link in the NEWS, it shows me the entire news article within the home page template... how do i force it to change templates and use the interior pages templates?? same when i do a search?

the site is http://www.aerainc.org/index.php

i am way more a designer than a programmer, so... plain english PLEASE!! ;)

thanks in advance for any help anybody out there has
patino-burch design
Anthony Patino-Burch
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: modifying links

Post by RonnyK »

tonypb,

news has a parameter called "detailpage". You can create a new content-page, give it a name, say "News" and uncheck the "show in menu" on the options-tab of that page, to make it NOT-shown in the menu.

In the calling of News you add {news ..... detailpage="news"} to push the details to that full page which you attached to the other template.

Ronny
User avatar
tonypb
Forum Members
Forum Members
Posts: 104
Joined: Tue Nov 20, 2007 12:16 am

Re: modifying links

Post by tonypb »

thank you... thank you... thank you...  ;D
patino-burch design
Anthony Patino-Burch
User avatar
tonypb
Forum Members
Forum Members
Posts: 104
Joined: Tue Nov 20, 2007 12:16 am

Re: modifying links

Post by tonypb »

oh... anyway to do the same with the search on top of the page?
patino-burch design
Anthony Patino-Burch
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: modifying links

Post by RonnyK »

Tony,

almost the same, only is the parameter in search, resultpage......

BTW, the help of a module shows all possible parameters..

Ronny
User avatar
tonypb
Forum Members
Forum Members
Posts: 104
Joined: Tue Nov 20, 2007 12:16 am

Re: modifying links

Post by tonypb »

duhhh! it worked now... i hadnt noticed i had created my "search results" page using the wrong template... thanks
patino-burch design
Anthony Patino-Burch
Post Reply

Return to “CMSMS Core”