Page 1 of 1

links in summary template?

Posted: Fri Oct 19, 2018 4:13 am
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?

Re: links in summary template?

Posted: Fri Oct 19, 2018 1:29 pm
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.

Re: links in summary template?

Posted: Tue Dec 04, 2018 7:03 am
by trananht1612
thanks you very much :)