Log in

View Full Version : Breadcrumb Question - Hack??


JakeC
02-10-2003, 12:29 PM
I'm wondering If I need a hack in order to make the category links in the breadcrumb disappear or to be an inactive link? Here is what I mean:
https://vborg.vbsupport.ru/external/2003/02/2.gif

My users are getting confused when they click on the category link and end up on a page with just the links that are sub forums of the category. I have a lot of users that are very new to computers and anything I can do to make it less confusing is a good thing. Thanks in advance.

JakeC

Carnage540
02-10-2003, 12:42 PM
I think you may need to edit one of these in your templates.....i am not sure though.

navbar [change original]
nav_joiner [change original]
nav_linkoff [change original]
nav_linkon [change original]

JakeC
02-10-2003, 12:55 PM
I was looking at those and it seems like I can't modify those without disabling the whole breadcrumb. Is there a way to modify them without disabling them all?

Jake

Carnage540
02-10-2003, 01:04 PM
Not sure bro, just recently got vB.....

Umm, try this site: http://www.vbulletintemplates.com/mods/

I'm 99.9% sure they'd be able to help you out ;)

-- Carnage

Dean C
02-10-2003, 03:33 PM
This is easy :)

In your 'nav_linkon' template replace the whole of it with this:


$nav_title


Regards :)

- miSt

JakeC
02-10-2003, 11:23 PM
That almost did it, but it actually disabled all of the bread crumb except the main page. Here is a picture of what I am shooting for. I suspect that it may have to be done as a hack instead of a template mod. Hmm...I really need to lear PHP. I bought a book, I just havn't read it yet :paranoid:. Thanks in advance

Jake

https://vborg.vbsupport.ru/external/2003/02/3.gif

Erwin
02-10-2003, 11:34 PM
It's not in the template, it's in the relevant PHP files eg. showthread.php or forumdisplay.php (and other ones with the same). You need to find this code in these files:


$pagenav = getpagenav


And remove the URL at the end of that line. That should do it.

JakeC
02-11-2003, 01:39 AM
$pagenav = getpagenav($totalthreads,"forumdisplay.php?s=$session[sessionhash]&forumid=$forumid&daysprune=$daysprune&sortorder=$sortorder&sortfield=$sortfield&perpage=$perpage")

This is in the forumdisplay.php. Which part should I delete. will this make only the first level forums (ie categories) become a non-link but leave the deeper levels intact? Thanks for helping, I appreciate it.

Jake