Page 1 of 1

[Solved]{Gallery} nor an GCB nor an UDT doesn't work in News

Posted: Sat May 02, 2015 7:16 am
by staartmees
It seems {Gallery} nor a GCB nor an UDT no longer works in News. Putting e.g. {Gallery dir='2015/20150501'} in News shows as {Gallery dir='2015/20150501'}

Everything works fine in a page.

----------------------------------------------

Cms Version: 1.12

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.9
ModuleManager: 1.5.8
News: 2.15.1
Search: 1.7.12
ThemeManager: 1.1.8
FormBuilder: 0.8.1.1
TinyMCE: 2.9.12
CGExtensions: 1.46.4
CGFeedMaker: 1.0.20
CGSimpleSmarty: 1.8
CGJobMgr: 1.3.4
RSSSimplePie: 1.0
Gallery: 2.0.2
ListIt2: 1.4.1
ListIt2zeehonden: 1.4.1
ListIt2berichtenservice: 1.4.1
ListIt2partners: 1.4.1
ExtendedTools: 1.3.3
Showtime: 3.4
ListIt2FEEdit: 1.3
CGCalendar: 1.14.7


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 96000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.6.8
md5_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 50
output_buffering: Aan
safe_mode: Uit (Onwaar)
file_uploads: Aan (Waar)
post_max_size: 96M
upload_max_filesize: 96M
session_save_path: Geen controle omdat 'open_basedir' actief is
session_use_cookies: Aan (Waar)
xml_function: Aan (Waar)
xmlreader_class: Aan (Waar)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.42
Server Db Grants: Er is een "GRAND ALL" permissie gevonden, alles lijkt in orde.
Server Time Diff: Geen tijdverschil aangetroffen


----------------------------------------------

Re: {Gallery} nor an GCB doesn't work in News

Posted: Sat May 02, 2015 7:22 am
by Rolf
You have to add "eval" to the content tags in the News templates. We removed it by default because of frontend submit safety issues.

Code: Select all

{eval var=$entry->summary}
{eval var=$entry->content}

Re: {Gallery} nor an GCB nor an UDT doesn't work in News

Posted: Sat May 02, 2015 8:00 am
by staartmees
Thanks Rolf, that solved the problem.