Page 1 of 1
How transfer a smarty-tag to work in CMS?
Posted: Mon Sep 12, 2005 8:42 pm
by gnolen
Hi there everyone,
I have found this plug-in:
http://www.cerdmann.com/thumb/ and it really cool but how do I make it to work with the CMS? I have tried to put everything as for a normal module but it just won't work correctly within the CMS.
Anyone that knows?
Thanks / Gnolen
Re: How transfer a smarty-tag to work in CMS?
Posted: Mon Sep 12, 2005 8:45 pm
by Ted
Throw the file in /lib/smarty/plugins/. It should pick right up from there.
Re: How transfer a smarty-tag to work in CMS?
Posted: Mon Sep 12, 2005 8:58 pm
by gnolen
Hey Wishy....
Thanks! I had this problem for 2 minutes and 19 seconds!

)
Re: How transfer a smarty-tag to work in CMS?
Posted: Mon Sep 12, 2005 10:36 pm
by Ted
Sorry. I'll try harder next time.

Re: How transfer a smarty-tag to work in CMS?
Posted: Mon Sep 12, 2005 10:43 pm
by alby
wishy wrote:
Throw the file in /lib/smarty/plugins/. It should pick right up from there.
I use a my directory (/myplug) and add:
$smarty->plugins_dir = array(SMARTY_DIR, "/myplug");
Wishy, is possible to add a $config['other_plug'] therefore it's simple update a new version of cmcms?
Bye
Re: How transfer a smarty-tag to work in CMS?
Posted: Mon Sep 12, 2005 10:45 pm
by Ted
I don't see why not. However, I am seeing that plugin loading is one of the slowest things, so I'd like to minimize the number of directories loaded if possible.
I can play with it, though.