links in summary template?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
trananht1612
New Member
New Member
Posts: 3
Joined: Fri Oct 19, 2018 3:24 am

links in summary template?

Post by trananht1612 »

Hi Everyone,

I use my news module mainly without a summary so the news just directly shows on my homepage. However when i do this, any links i created are not being parsed by the module. What can i do to include (external) links in the summary template?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1625
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: links in summary template?

Post by DIGI3 »

News summary and detail are not parsed through Smarty by default for security reasons. If you are not using front end submissions, and trust all of your news editors, you can change them to use {eval}, e.g.:

Code: Select all

{eval var=$entry->content}
If you're not referring to Smarty code but just regular links being stripped, that may be due to the wysiwyg editor - you can try disabling it or switching to a different one to determine that.
Not getting the answer you need? CMSMS support options
trananht1612
New Member
New Member
Posts: 3
Joined: Fri Oct 19, 2018 3:24 am

Re: links in summary template?

Post by trananht1612 »

thanks you very much :)
Locked

Return to “Modules/Add-Ons”