CMS MADE SIMPLE FORGE

CGContentUtils

 

[#12238] dropdown field gives error when calling a module

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Tue Jan 07 10:51:12 -0500 2020

Assigned To:
Version: 2.5.4
CMSMS Version: 2.2.13
Severity: None
Resolution: None
State: Open
Summary:
dropdown field gives error when calling a module
Detailed Description:
When using a Smarty template in a dropdown field, and calling a module to create
the options, it generates this error when editing the page:
Syntax error in template "string:{cms_module module='test'}" - Unexpected "&"

Notes:
It works fine in CGCU 2.4 and earlier
It works fine for some module calls but not others. Of the ones I tested, News
works, but CompanyDirectory, Gallery, and LISE all generate the error.

To Recreate:
1) in CGCU 2.5.3, create a dropdown block
2) in the Options field, put in {cms_module module='test'}
3) add the CGCU tag to your page template
4) attempt to edit page


History