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

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
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

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

Post 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.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

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

Post 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.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

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

Post by jasnick »

Thanks, Wishbone, very much - will keep that in mind!
Post Reply

Return to “CMSMS Core”