Quote:
Originally Posted by kh99
That was my mistake, addedit is right (or at least as far as I know from looking at the code you posted). If it really is supposed to be 'addeditphoto' then I agree that it doesn't look like it would make any difference to this problem.
When you can test, you could put in code to print out the value of $navclass at different places, and I'm sure you'll be able to figure it out.
|
I'll do it when my site will be visible again. Thank you very much for your kind help. Really appreciated.
--------------- Added 05 Jul 2015 at 10:35 ---------------
For those who maybe have the same problem, at least in my case, I found the solution. Don't know why but the assignement to $navclass must not exists.
Currently in my code, I had:
PHP Code:
$navclass = 'active';
$templater->register('navclass', $navclass);
Having as refference the profile.php I found that there is no any value assignment to $navclass but only:
PHP Code:
$templater->register('navclass', $navclass);
so I commented out the assignment 'active' and now it works fine.
Once again I want to thank @kh99 for the time that he spent trying to figure out the bug.
Hav