Quote:
Originally Posted by chewbacca
Thanks, I must've jumped over that sizeof()...
But now I've got another problem: I can't use the variable I defined in any template other than navbar_link. After reading up a little on plug-ins, I'm not even sure if I can use one to do what I want. Thanks again for your help.
|
You could do something like this:
PHP Code:
global $yourVariable;
$yourVariable = $lastelement;
$yourVariable should now work in most places.