Hi all, Many directories has on the bottom this line: Copyright xxx 2006, All right's Reserved. Now it is really annoying to go and change it every time the year has changes. Not to mention if you have more than one directory. You can solve this problem by adding a small php command instead of the year: {date('Y')} Code (markup): That's it...
Thanks a lot--very good for people like me who know nothing about coding --forget php Green rep for it
I think I know what tple file is, but to lazy to look right now in will change it when I can...But which .tpl file to edit? Give you a grn rep.
Great tip. I am sure it will help those who have lots of Directories and editing template takes too much time. PS. Isn't that a "Smarty" code ?? Coz if it is PHP, we have to add starting and ending tags?? [/SIZE] PHP: