How transfer a smarty-tag to work in CMS?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
gnolen

How transfer a smarty-tag to work in CMS?

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: How transfer a smarty-tag to work in CMS?

Post by Ted »

Throw the file in /lib/smarty/plugins/.  It should pick right up from there.
gnolen

Re: How transfer a smarty-tag to work in CMS?

Post by gnolen »

Hey Wishy....

Thanks! I had this problem for 2 minutes and 19 seconds! :o)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: How transfer a smarty-tag to work in CMS?

Post by Ted »

Sorry.  I'll try harder next time.  ;)
alby

Re: How transfer a smarty-tag to work in CMS?

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: How transfer a smarty-tag to work in CMS?

Post 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.
Locked

Return to “Modules/Add-Ons”