|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
atu Smarty Regular
Joined: 18 Apr 2003 Posts: 51 Location: Luxembourg
|
Posted: Wed Aug 13, 2003 11:21 am Post subject: 2.6 rc1 - plugins |
|
|
Hi,
I defined more than one plugin directory:
$smarty->plugins_dir[] = _BASE_DIR.'plugins1';
$smarty->plugins_dir[] = _BASE_DIR.'plugins2';
$smarty->plugins_dir[] = _BASE_DIR.'plugins3';
If there are more than one plugin in each directory smarty recognize only the first plugin in alphabetic order and ignore the rest of plugins in this directory!?! Error:
Fatal error: Smarty error: [in /test/index.tpl line 18]: [plugin] unknown tag - 'my_plugin' (core.load_plugins.php, line 118) in /lib/smarty/Smarty.class.php on line 1924
This isn't a feature, right? |
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Wed Aug 13, 2003 11:43 am Post subject: |
|
|
Interesting that I am going to have to look into when I get a chance later. It is always a feature I am sure _________________ "Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane |
|
Back to top |
|
atu Smarty Regular
Joined: 18 Apr 2003 Posts: 51 Location: Luxembourg
|
Posted: Wed Aug 13, 2003 12:40 pm Post subject: load plugin problem |
|
|
Hi AZTEK,
This is a tricky problem. For this moment I cant load any plugin outside the regular smarty plugin directory. For example if I move the assign function to a second plugin dir smarty will not recognize it.
Strange because before I was still able to load one plugin. Now nothing works.
Thanks,
Armand |
|
Back to top |
|
atu Smarty Regular
Joined: 18 Apr 2003 Posts: 51 Location: Luxembourg
|
Posted: Wed Aug 13, 2003 12:48 pm Post subject: Ahh! |
|
|
Forget my postings for this moment. I think the problem comes from my application. Sorry to waste your time!!!
armand |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|