• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: News module "See more" link to External Webpage?
PostPosted: Mon Nov 19, 2018 2:14 pm 
Offline
Forum Members
Forum Members

Joined: Wed Aug 08, 2018 4:59 pm
Posts: 18
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: News module "See more" link to External Webpage?
PostPosted: Mon Nov 19, 2018 3:45 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 502
Location: Victoria, BC
Add another field for external link (or use the 'extra' field), then in your template just check for it. Something like:

Code:
{if $mynewfield}<a href="{$mynewfield}" target="_blank" rel="noreferrer" />{else}{$morelink}{/if}

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting