PDA

View Full Version : I'd like the navbar to appear on redirects


JJR512
11-08-2001, 10:20 PM
My users and I would like the navbar to show up on redirect messages, such as what you see what you see right after you post a message. Sometimes we want to go somewhere else other than where the redirect takes us by default, and having the navbar there will help us get there faster (even though it is only there for a few seconds).

I've tried putting $navbar inside the standardredirect template, but it doesn't show up. It looks like $navbar is what displays the nav bar everywhere else it is supposed to show up, but it doesn't seem to work in this template.

Any help?

JJR512
11-09-2001, 08:25 PM
Anyone thinking about this?

cyrus
11-09-2001, 09:41 PM
Sounds ver useful to me. But this can easily be done, simply edit you redirect template .... isnt it ?

JJR512
11-09-2001, 09:48 PM
That's what I thought. But the thing that draws the nav bar, $navbar, has no effect in that template. Many other templates recognize $navbar, so I think it's just a matter of telling the code that the standard_redirect template can use it, too. But I don't know how to do that.

JJR512
11-26-2001, 11:52 PM
Anyone trying this?

Admin
11-27-2001, 12:15 PM
I'm afraid this would require some more extensive hacking (if I'm right).

The navbar isn't always dynamically generated, it's only like that in a handful of cases.
So you will need to edit your redirection templates (redirect_xxx) and put whatever you want there.

Then you'll need to add something that generates the navbar in the standardredirect() function, not sure how though.

Sorry.