Navigation Tree

Started by hydrophilic, September 11, 2008, 02:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hydrophilic

You may already know this but there is a problem with links in the navigation tree that appears near the top of each page in the forums.  I think the problem is isolated to the entry under "Forum".

For example, from the main forum if you click on "General Chat" and then open a post in "General Chat" there is a link labeled "General" in the tree; like this:

+Commodore 128 Alive!
++Forum
++General
  ++General chat
   ++Expansion options for different Commodores

If you click "General" is doesn't return to the list of posts in "General Chat" or even the list of categories under "Forum" but instead takes you all the way back to the Commodore 128 Alive! start page.

At first I thought this was only in cases where a catagory has sub-categories.  But it appears even when there are no sub-categories (for example "Links").

I thought I found an easy work-around: don't click "General" but this seems to be related to grouping on the main forum page.  As another example, from the main forum page if you click on the category "GO64" the link "General" is replaced with "Commodore 128" but it is broken in the same way.  (I see now that catagories on the main forum page are grouped into 'super categories' like "General" and "Commodore 128").

The navigation tree is a great feature (thanks Lance) that I use frequently.  This bug has been, err, bugging me sporadically.  But now I think (hope) I can avoid it if I can remember not to click whatever appears under "Forum".  IMO, these broken links should point to the main forum page that lists the categories and not the start page (that's what the top link is for after all), and optionaly scroll the page to an anchor ("General", "Commodore 128", etc.).  All the other links are fine, AFAIK.

Anyway, thanks again for this great site!

Blacklord

Ok - suspect this is due to me using the mini-portal & the return instead of heading to the right spot is pointing to the top level (the index page of the portal).

I'll try removing the portal on my dev box & see if this cures the issue.

Lance

airship

Thanks for fixing this, Lance. I didn't say anything, but it was driving me nuts, too. :)
Serving up content-free posts on the Interwebs since 1983.
History of INFO Magazine

RobertB

Quote from: airship on September 12, 2008, 02:38 AMI didn't say anything, but it was driving me nuts, too. :)
I hadn't said anything about it; I accepted it and moved on.  :)

             Truly,
             Robert Bernardo
             Fresno Commodore User Group
             http://videocam.net.au/fcug
             The Other Group of Amigoids
             http://www.calweb.com/~rabel1/

hydrophilic

I hadn't said anything previously because I wasn't sure what the problem was.  It seemed sometimes it worked and other times it didn't.  Eventually I was annoyed enough to investigate it and then post.  I wanted to at least offer a good description of the problem and recommend a solution without simply whining "its broke".

Also I wanted to let people know the work-around in case they haven't discovered it themselves: don't click the link below "Forum"

Blacklord

Quote from: hydrophilic on September 12, 2008, 04:17 PM
I hadn't said anything previously because I wasn't sure what the problem was.  It seemed sometimes it worked and other times it didn't.  Eventually I was annoyed enough to investigate it and then post.  I wanted to at least offer a good description of the problem and recommend a solution without simply whining "its broke".

Also I wanted to let people know the work-around in case they haven't discovered it themselves: don't click the link below "Forum"

It is due to the mini-portal - the behaviour changes to the expedcted once the portal is removed.

So - should we ditch the portal ?

Lance

airship

Personally, I never have any problem whining "it's broke!" without offering a solution. I do it all the time. :angel:
Serving up content-free posts on the Interwebs since 1983.
History of INFO Magazine

hydrophilic

I'm not sure what part of the site is the portal, so I can't offer an opinion.  Is that the first page that tells about recent posts and most active users before you get to the forum category list?  It's kind of informative... removing that to fix a broken link seems kind of extreme.

I was afraid of something like that.  It's probably a simple error burried in a ton of intertwined scripts.  Since I'm not familiar with the forum engine I wouldn't know where to start looking.  If you think you know which script is responsible, I wouldn't mind looking at it.  Just PM or email.

I was hoping it was in a module like navtree.php and the script would be obvious as to how the erroneous link is being generated.  But if you can't find it that's ok, since I know how to work around the bug now.