Page 1 of 1

Gallery not processing in News

Posted: Sat Mar 18, 2017 11:32 am
by jackstringer
I am sure I have seen this issue before but I my google-fu is weak today.

The website is running CMSMS 2.1.6, News 2.50.6, and Gallery 2.3.

In the news articles, I am adding:

Code: Select all

{Gallery dir='2013/20130101_Event'}
For some reason today when I went to add a new news article I ended up with an issue where the Gallery tag isn't being processed in news module output so rather than appearing as some clever images it just appears as text. Can't seem to find the correct switch for it.

Re: Gallery not processing in News

Posted: Sat Mar 18, 2017 1:35 pm
by velden

Re: Gallery not processing in News

Posted: Sat Mar 18, 2017 2:06 pm
by jackstringer
FYI for future referance you need to find the templates for news then find the code that will display the summary/content.

Code: Select all

{$entry->summary}
and change it to

Code: Select all

{eval var=$entry->summary}
also

Code: Select all

{$entry->content}
and change it to

Code: Select all

{eval var=$entry->content}
Don't do this (or use with extream caution) if you are taking public posts as it means someone could add html/code that could be processed by {news}.