Longclaw
03-07-2007, 08:08 PM
Im trying to add the navbar template to the login failed template (STANDARD_ERROR). I have taking the $navbar out of an if statement to no avail. I read somewhere that you have to define the variable $navbar in the php files, where would I do this and is there an easier way to do this? Fundamentally the $navbar is inside an if statement is there anyway I can have it evaluate to true without too much hackery?
Also if anyone knows where other templates arent using the navbar could you please let me know.
Thanks
It seems this is possible by adding the code into the header and blanking out the navbar. The problem is that when you logout the navbar isnt refreshed and your left with links to the userCP. Is there away to do a page refresh to the index page on a log out?
bump, I've put the nav bar in the header which has added navigation to every page. But when I log out The state of the navbar wont change, is there anyway to force a page refresh on a log out?
Also if anyone knows where other templates arent using the navbar could you please let me know.
Thanks
It seems this is possible by adding the code into the header and blanking out the navbar. The problem is that when you logout the navbar isnt refreshed and your left with links to the userCP. Is there away to do a page refresh to the index page on a log out?
bump, I've put the nav bar in the header which has added navigation to every page. But when I log out The state of the navbar wont change, is there anyway to force a page refresh on a log out?