Gallery not processing in News

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
jackstringer
Forum Members
Forum Members
Posts: 42
Joined: Sun May 02, 2010 3:54 pm

Gallery not processing in News

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Gallery not processing in News

Post by velden »

jackstringer
Forum Members
Forum Members
Posts: 42
Joined: Sun May 02, 2010 3:54 pm

Re: Gallery not processing in News

Post 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}.
Locked

Return to “Modules/Add-Ons”