UDT stopped working after upgrade to CMSMS Version: 2.1.1
Posted: Wed Jan 13, 2016 5:44 pm
I use this UDT to pull content from other pages. It has stopped working completely in 2.x.x. Any pointers ?
I use it like this :-
or this:-
*********************
Code: Select all
$alias = isset($params['alias']) ? $params['alias'] : '';
$box = isset($params['box']) ? $params['box'] : '';
global $gCms;
$cgsimple = $smarty->get_template_vars('cgsimple');
$page_content = $cgsimple->get_page_content( $alias , $box);
echo $page_content;Code: Select all
{Gallery dir={pull_content alias=$child.alias box='Gallery'}Code: Select all
{{pull_content alias=$child.alias}|cms_html_entity_decode|trim|strip_tags|summarize:10}Code: Select all
Cms Version: 2.1.1
Installed Modules:
AdminSearch: 1.0
CMSContentManager: 1.1
DesignManager: 1.1.1
FileManager: 1.5.2
MenuManager: 1.50.2
MicroTiny: 2.0.2
ModuleManager: 2.0.1
Navigator: 1.0.2
News: 2.50.3
Search: 1.50.2
Gallery: 2.0.3
CGExtensions: 1.51
CGSimpleSmarty: 2.0.2
CGContentUtils: 2.1
JQueryTools: 1.3.8
CGBlog: 1.13.3
CGSnapshot: 1.0