Hi - Using CMSMS 2.13
The cms_selflink tag is working on regular pages but not in the news module.
I see this forum post: viewtopic.php?f=8&t=59503&p=272347&hili ... le#p272347
But I don't understand either of the ways to solve problem:
1) Where does one change the setting for self link in tiny admin?
If not that, then:
2) I'm not exactly sure WHERE in my news detail and summary templates to insert {eval var=$entry->content}
Any help would be appreciated.
cms_selflink tag not working in news module
Re: cms_selflink tag not working in news module
Wherever you want the specific content (from the News module) being displayed.2) I'm not exactly sure WHERE in my news detail and summary templates to insert {eval var=$entry->content}
Re: cms_selflink tag not working in news module
So, you mean replace {$entry->content} with {eval var=$entry->content} ? (Sorry I'm not more fluent in Smarty!)velden wrote:Wherever you want the specific content (from the News module) being displayed.2) I'm not exactly sure WHERE in my news detail and summary templates to insert {eval var=$entry->content}
I'm still also confused why an included plug-in like News isn't automatically set up to make the cms_selflink tag work, or am I missing something?
Re: cms_selflink tag not working in news module
Yes. Why don't you try and see what happens?twwitt wrote: So, you mean replace {$entry->content} with {eval var=$entry->content} ? (Sorry I'm not more fluent in Smarty!)
Because if someone you don't trust can submit News (e.g. front end submission by website visitors) you might want to consider to NOT evaluate all code they enter. Obviously for security related reasons.twwitt wrote: I'm still also confused why an included plug-in like News isn't automatically set up to make the cms_selflink tag work, or am I missing something?
Now you know this use eval at your own discretion.
Re: cms_selflink tag not working in news module
Thanks, I did try it, and at first I didn't think it made any change, but realized I had to also change
{$entry->summary} to {eval var=$entry->summary}, in addition to the {$entry->content} to {eval var=$entry->content} change.
So that does solve my problem.
Thanks so much for the help!
{$entry->summary} to {eval var=$entry->summary}, in addition to the {$entry->content} to {eval var=$entry->content} change.
So that does solve my problem.
Thanks so much for the help!
Re: cms_selflink tag not working in news module
Want to mark this as SOLVED. I used to be able to click Edit on my first post, but am not able to do so. Is there another way of marking SOLVED that I'm not familiar with?