ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Root in the title bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Root in the title bar

 Post Reply Post Reply Page  <12
Author
Message
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 5:02pm

I think that this is where you set the bread crumb trail text for the root.

If you look here you will see what I mean:

http://www.disasterstuff.com/store/pc/Stretchers-Backboards- c8.htm

I have dictLanguage.Add "english_viewCat_P_2 set to "Our Products" which shows in the bread crumbs.

But, if you go click on our products which takes you back to ViewCategories.asp, then you still see "Root" in the title bar.

Back to Top
MarkCoyle View Drop Down
Senior Member
Senior Member


Joined: 06-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarkCoyle Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 5:45pm

I believe this is a combination of the include-metatags.asp and your settings.asp includes file.  Have you set the company store name in Store Settings for example?

So you need to set this line in include-metatags.asp:

Const DefaultTitle = "<your name>" and the store title which I think is substituted then into the title.

cheers

Mark

 

Back to Top
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Posted: 05-May-2008 at 9:59pm
Thanks to everyone that has offered suggestions on this one, but nothing suggested has worked yet.  My default.asp is a copy of viewcategories.asp.  This page draws from the database to populate.  Since the categories are all part of the root, that seems to be where product cart is getting the name root and putting it in the title.  If you go to a category, then root does not show up.  Instead, the category shows up such as Country Living Grain Mill and so on.  The question becomes, can you change the name of the root category?  If not, is there a way to trap what is happening and replace it with what I want to put in there as my text.


Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 05-May-2008 at 10:45pm

The word "root" is saved in the first row the table "categories" in your database.  If you can find an experienced db editor, or if you are familiar with db editing, then you can change the word. Just remember to backup before you do any editing of the db.

Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 06-May-2008 at 5:44am
Hi Ammonihah,
      Which version of Product Cart are you running? - I just checked a site I have running V3.11 (With BTO - but I doubt that makes a difference) and I'm not seeing the results you are getting. The Backboards page you provided a link to is not showing Root in the title, but your "Home" and "viewcategories" pages do.

If you running V3.11 try putting back in place the default version and see if it still mentions "Root". If not, then you can update the 3 lines with the default meta data  and away you go.
If so then let us know.

Looking at the code in the member the title is built up in several possible ways, so we may need to work through them to determine the root cause of "Root" - which as Matt says comes from the DB, but I don't believe should be being displayed.
 



Back to Top
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Posted: 06-May-2008 at 10:12am
Matt,

Is this correct?  If the word root is coming from the database, is there something that I have done to make it appear in the title or is this normal?
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.051 seconds.