![]() |
How do I disable Our Products in breadcrumbs |
Post Reply ![]() |
Author | |
BigOrder ![]() Newbie ![]() Joined: 08-April-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 08-April-2009 at 9:36am |
Hello,
New user here. I searched through about 10 pages of forums and didn't see an answer for this. I'd like to disable the "Our Products" link in the breadcrumbs. We have so many categories and I think it's pretty messy looking. I'd rather have our users just use our left side navigation and not let them see the Our Products page at all. TIA Shane |
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
1. Edit the languages.asp file in the includes folder. Look for this line:
dictLanguage.Add "english_viewCat_P_2", "<a href='viewCategories.asp'>Our Products</a>: "
2. Delete <a href='viewCategories.asp'>Our Products</a>:
Do NOT delete the quote marks around this text as they are required.
|
|
![]() |
|
BigOrder ![]() Newbie ![]() Joined: 08-April-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
I actually had tried this at first. I'm no code writer, but I can usually decipher whats going on if I read it.
Anyway, when I do what you suggested is does remove the Our Products link, but at the top of the page I get this error: set clearLanguage=nothing end function %> Know whats going on? |
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
It looks like you are missing a closing quote or if you made other changes to the languages file one of the other lines is not formatted correctly.
After editing the line, it should look like this:
dictLanguage.Add "english_viewCat_P_2", ""
Make sure you have the two double quote marks at the end.
|
|
![]() |
|
BigOrder ![]() Newbie ![]() Joined: 08-April-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
I don't think I'm missing a quote. I simply edited the one line to say
dictLanguage.Add "english_viewCat_P_2", "" and that's it. When I put that line back to the original way the error goes away. I've made no other edits to this file. Edited by BigOrder - 08-April-2009 at 2:54pm |
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
I'm not sure what else to recommend. We do that change on sites and it works fine. I tested it again this afternoon and it worked.
|
|
![]() |
|
BigOrder ![]() Newbie ![]() Joined: 08-April-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
OK, I fixed the problem.
I have NO IDEA how or why .. but when opening the file in Dreamweaver the bottom seven lines of code dont show up at first. This -- function clearLanguage() ' clear the dictionary. on error resume next clearLanguage=dictLanguage.removeAll set clearLanguage=nothing end function %> After I wait a minute these lines appear (ghosts?). And on my test file that I was working with the last 3 lines got duplicated. This is what was appearing at the top of my webpage. I never did trust Dreamweaver with code, but I haven't had to edit any code in a while and it slipped my mind not to use it. |
|
![]() |
|
BigOrder ![]() Newbie ![]() Joined: 08-April-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Oh, I wanted to thank you for your help. So.. thanks!
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |