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: Closed
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
      
avatar
Date: 2017-08-26 11:12
Posted By: Robert Campbell (calguy1000)

Fixed in 2.2.3 as well.
      
Updates

Updated: 2017-08-26 11:12
state: Open => Closed

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