how to install smarty plugins

how to install smarty plugins

Postby coldtobi on Wed Mar 12, 2008 6:01 pm

I learned that Smarty has also some plugins. However, I do not know how to integrate them into lifetype. Any hints?

(The smartyplugin I need is "smarty_exists" which checks if a (template) file exists.)
See: http://smarty.incutio.com/?page=SmartyPlugins
coldtobi
 
Posts: 32
Joined: Fri Jun 08, 2007 5:28 am
Location: Germany
LifeType Version: 1.2.7

Postby jondaley on Wed Mar 12, 2008 11:15 pm

There is a smarty directory class/template/smarty, and you just drop the file in the plugins directory.

And then you should be able to use the appropriate object in your template. I don't think there is any registration or anything that you need to do.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch


Return to Templates

cron