Page 1 of 1

[Solved]News module - how to make Content a link

Posted: Thu Jul 14, 2011 1:23 am
by jasnick
Using CMSMS latest version

I have several pdf docs that I have uploaded to Uploads.

I want to make them News Items so that the pdf opens when someone clicks on More. In other words, I want to avoid having to type the entire article into Content.

Is there a way to do this?

Solved: I decided to do away with having a Summary and just posted the link in Content.

Re: [Solved]News module - how to make Content a link

Posted: Thu Jul 14, 2011 4:40 pm
by Wishbone
Make a custom field called link_url.. Put some Smarty logic in the summary template to link to that link_url if it exists, else go to the detail view.

Re: [Solved]News module - how to make Content a link

Posted: Fri Jul 15, 2011 1:21 am
by jasnick
Thanks, Wishbone, very much - will keep that in mind!