CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11700] Exporting/importing designs changes CGSimpleSmarty call in Navigator template

avatar
Created By: Dorothée DV (Nulea)
Date Submitted: Tue Jan 16 05:10:52 -0500 2018

Assigned To:
Version: None
CMSMS Version: 2.2.5
Severity: Minor
Resolution: None
State: Open
Summary:
Exporting/importing designs changes CGSimpleSmarty call in Navigator template
Detailed Description:
The calls to cgsimple (maybe other modules?) are deleted/modified when exporting
and importing a design.

I have in my default design a Navigator template that permits to switch language
and getting to the parallel page of the current one.
The corresponding line is
<a href="{cms_selflink href=cgsimple::get_parallel_page($node->alias,
$page_alias)}">{$node->menutext}</a>

When I export and import the design elsewhere, that particular line of the
template is modified to
<a href="{cms_selflink href=($node->alias,
$page_alias)}">{$node->menutext}</a>

and... it doesn't work :)


History