|
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 |
muralik Smarty Rookie
Joined: 08 Mar 2004 Posts: 25
|
Posted: Mon Mar 15, 2004 8:08 am Post subject: plugin not working |
|
|
Hi,
I am trying to make my own plugin for a website, but it is not working.
I am using windows.
Earlier when i used to type any spelling mistake in the template, it used to produce a error for eg. {titlex} instead of {title} it used to produce an error, i was assingning title variable in my php script.
I copied ahref plugin to my libs/plugins folder and i specified ahref and attributes in my template file it is working fine,
I copied the same file to another name function.mypage.php and i renamed the function to function smarty_function_mypage
and i am using {mypage url="fare.com.au" string="click"} it is not working.
if i make mypage intensionnaly spell wrong, it is not giving error too.
What is the issue.. pls help me
i am beginner |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon Mar 15, 2004 2:28 pm Post subject: |
|
|
Be sure you clear out your compile_dir and cache_dir, especially after renaming a plugin. |
|
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
|