You Are Here mod

Posted by D. Alan Stewart 
Re: You Are Here mod
April 30, 2004 01:33AM
I changes this in CVS to go only one level up instead of the root.
It doesn't make much sense to go from the forum directly to the root of the forum (only with a mod like this ;-)).


Thomas Seifert
Re: You Are Here mod
April 30, 2004 02:42PM

also with my forum..

personally i think there should be a link to "Forum List" and another to "up one level" but i think the You Are Here mod would nicely replace this navigation completely with a simple link to the top level forum list.

r.
Re: You Are Here mod
April 30, 2004 03:35PM
ts77 Wrote:
-------------------------------------------------------
> I changes this in CVS to go only one level up
> instead of the root.
> It doesn't make much sense to go from the forum
> directly to the root of the forum (only with a mod
> like this ;-)).

Ahhhh.
Re: You Are Here mod
April 30, 2004 03:38PM
rheo Wrote:
-------------------------------------------------------
> > also with my forum..
>
> personally i think there should be a link to
> "Forum List" and another to "up one level" but i
> think the You Are Here mod would nicely replace
> this navigation completely with a simple link to
> the top level forum list.
>
> r.

Yes, and I will take care of adding the root level this weekend. I don't know how I missed that except that my focus was on issues such as discerning whether the current page is index.php, list.php, or read.php.
new version
May 01, 2004 05:35PM
Here's a new version with the root level included in the path.

Attachments:
open | download - YouArehere.tar.gz (920 bytes)
Re: You Are Here mod
May 01, 2004 08:43PM

nice!

it's still not showing up in my index.php though..

does it require something in the index.php in order to work?

Attachments:
open | download - index.php (4.1 KB)
Re: You Are Here mod
May 03, 2004 09:41AM
No, everything is in YouAreHere.php. Is the title of your Phorum an empty string? I'm getting that from $PHORUM['title'].

You should be getting:

Position: "phorum title" > "folder" >...

From the root of the Phorum yhou should have:

Position: "phorum title"
Re: You Are Here mod
May 03, 2004 04:49PM

the problem is probably that i may not have the require "hook" in my index.php. i've customized it heavily and don't update it from teh cvs anymore.

i'll compare mine to the cvs version soon to confirm this.. thanks for the mod tho.. it works great!

Re: You Are Here mod
May 04, 2004 10:52AM
You likely don't have the after_header and before_footer hooks in your index rheo

Brian - Personal Blog
Re: You Are Here mod
May 09, 2004 05:59PM
Here's a verion updated to use the phorum_page constant in the latest CVS version. Also some cosmetic fixes - text that is not a link no longer acts as an empty link.
Attachments:
open | download - YouAreHere.tar.gz (943 bytes)
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Sorry, only registered users may post in this forum.

Click here to login