CMS MADE SIMPLE FORGE

Cataloger

 

[#5686] catalog item templates fail to export values to $gCms->smarty

avatar
Created By: Ludger Merkens (lume)
Date Submitted: Tue Nov 16 04:02:01 -0500 2010

Assigned To:
Version: 0.8.0
CMSMS Version: None
Severity: Major
Resolution: None
State: Open
Summary:
catalog item templates fail to export values to $gCms->smarty
Detailed Description:
If you {capture} the content of a catalog item (sub)template in order to have
some sub-template variables assigned to the main template. This assignment fails
(on the second run). Strangely it works the first time after assigning the
subtemplate to the Cataloger page.


History

Comments
avatar
Date: 2010-11-16 04:05
Posted By: Ludger Merkens (lume)

in addition - if you write a plugin that calls $gCms->smarty->assign to
backreference theese values - it works only the first time
as another addition - if you write a plugin that temporarily stores such values
in a global php variable - it seems to work for the first and second time. Third
and later calls fail to backreference the values. (This is really confusing)
      
avatar
Date: 2010-11-16 04:07
Posted By: Ludger Merkens (lume)

ok - i forgot to mention - if you call {assign } from inside a category
subtemplate, backreferencing works fine!
      
Updates

Updated: 2010-11-16 04:10
severity_id: 12 => 2

Updated: 2010-11-16 04:05
version_id: -1 => 28688
resolution_id: => 5