I often have a News item that references an event that already has an existing page on the site. I would like for the News item link to open the existing page rather than open a new page and show the Summary/Detail information.
I have experimented with different options, including using the existing page URL for the item but this opens a new page not the desired existing page.
Thanks for any suggestions.
[SOLVED] News Link to an Existing Page
[SOLVED] News Link to an Existing Page
Last edited by RHF on Mon Aug 27, 2012 1:37 pm, edited 1 time in total.
Re: News Link to an Existing Page
The easiest way would be to put a link in the content of the article, if you don't want any links to the detail then you will have to customize the summary template...
Re: News Link to an Existing Page
In Dutch, but I think it will be clear how to do it... http://forum.cmsmadesimple.org/viewtopi ... 52&t=29666
grtz. Rolf
grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: News Link to an Existing Page
Thanks very much. I used both of your suggestions.
Essentially I created a new Field Definition, called PageAliasLink.
In the Summary template, in <div class="NewsSummaryLink"> I test the value of this field. If it is non-null, I set a cms_selflink to the value. Otherwise, I use the normal News link.
Essentially I created a new Field Definition, called PageAliasLink.
In the Summary template, in <div class="NewsSummaryLink"> I test the value of this field. If it is non-null, I set a cms_selflink to the value. Otherwise, I use the normal News link.