CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#5924] Fire an event prior to ContentPostRender

avatar
Created By: Sofia Hauschildt (sonya)
Date Submitted: 2011-01-03 16:27

Assigned To:
Resolution: Fixed
State: Closed
Summary:
Fire an event prior to ContentPostRender
Detailed Description:
If there were an Event  prior to ContentPostRender (before template is fetched
by Smarty) we could have an elegant template switcher (not just Stylesheets, but
whole template)! :) See dirty UDT solution here
http://forum.cmsmadesimple.org/viewtopic.php?f=4&t=19028&p=241444#p241444
I would write a module that handles template array and add a nice jquery bar at
the top where templates can be selected. It could be also use it on
themes.cmsmadesimple.org so that templates can be previewed prior to
downloading.

History

Comments
avatar
Date: 2011-03-15 17:29
Posted By: Ronny Krijt (ronnyk)

Looked into 1.10
      
avatar
Date: 2016-09-02 17:01
Posted By: Robert Campbell (calguy1000)

ContentPreRender event exists in 2.2.  However,  I would not suggest switching
templates as it could be problematic.
      
avatar
Date: 2017-06-10 11:10
Posted By: Robert Campbell (calguy1000)

CMSMS 2.2 is released
      
Updates

Updated: 2017-06-10 11:10
state: Open => Closed

Updated: 2016-09-02 17:01
resolution_id: 6 => 7

Updated: 2011-03-15 17:29
resolution_id: => 6