[Bb-trac] [bbPress] #763: on template activation

bbPress bb-trac at lists.bbpress.org
Mon Dec 10 14:44:23 GMT 2007


#763: on template activation
-------------------------+--------------------------------------------------
 Reporter:  Null         |       Owner:               
     Type:  enhancement  |      Status:  new          
 Priority:  normal       |   Milestone:  0.8.4 & Pings
Component:  Back-end     |     Version:  0.8.3        
 Severity:  normal       |    Keywords:  template     
-------------------------+--------------------------------------------------
 Hi,

 Already we have the function: on plugin activation, where we can execute
 some functions when a plugin is activated. Something like this would be
 awesom for template activation as well.

 This will give plugin and template builders more freedom to do some
 special stuff with their plugins and templates.

 Excample:
 I want to make a template where I can set in the admin if a sidebar must
 be displayed or not. But as a templatebuilder don't wanna make use of this
 function (cause it wopnt fit in the design etc), he can preset this
 function using on template activation: disable sitebar option.

 This works only if the plugin supports it ofcourse, but this will give you
 an idea how this on template activation could be used.

 I'am sure there are other methods to do the same, but a function like this
 would be very cool, and more easy to use for the programnoobs like me ;)

 _Null

-- 
Ticket URL: <http://trac.bbpress.org/ticket/763>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list