CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11169] TemplatePreFetch never sent

avatar
Created By: Mathieu Muths (airelibre) (airelibre)
Date Submitted: Mon Sep 26 08:31:36 -0400 2016

Assigned To:
Version: 2.1.5
CMSMS Version: 2.1.5
Severity: Minor
Resolution: Fixed
State: Open
Summary:
TemplatePreFetch never sent
Detailed Description:
I was trying to use the TemplatePreFetch event that should be sent from
Smarty_CMS::fetch function, but this event is never sent as the frontend
templates use smarty_internal_templatebase::fetch functionn

A $smarty->createTemplate function returns a smarty_internal_template object,
and $ThatObject->fetch doesn't run the right function (the one with the
SendEvent)

Hope this will help you solving that problem,,
Thanks


History

Comments
avatar
Date: 2017-07-09 18:45
Posted By: Robert Campbell (calguy1000)

Fixed for CMSMS 2.3
      
Updates

Updated: 2017-07-09 18:45
resolution_id: => 7