News module "See more" link to External Webpage?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Sendlingur
Forum Members
Forum Members
Posts: 61
Joined: Wed Aug 08, 2018 4:59 pm

News module "See more" link to External Webpage?

Post by Sendlingur »

Hi all I've one question.

Is it possible to somehow use the "See more" link to go to an external webpage instead of going to the detailpage?

And off course without making a new template for each news item.

thanks in advance.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1114
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: News module "See more" link to External Webpage?

Post by DIGI3 »

Add another field for external link (or use the 'extra' field), then in your template just check for it. Something like:

Code: Select all

{if $mynewfield}<a href="{$mynewfield}" target="_blank" rel="noreferrer" />{else}{$morelink}{/if}
Not getting the answer you need? CMSMS support options
Post Reply

Return to “Modules/Add-Ons”