• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

jvmaloley
#1 Posted : Wednesday, September 17, 2008 11:07:24 AM(UTC)
jvmaloley

Rank: Member

Joined: 2/26/2007(UTC)
Posts: 57

Is there a way to have my footer home link read something other than my header home link? For instance at my website http://www.vendingmachinesworldwide.com/ my header has the "home" link and so does my footer. I know in order to change this you must go to the admin control panel, go to options, then edit the text in site terms. Is there a way to do this differently? For instance have my footer home link read Vending Machines Home instead of Home.
bvcoder
#2 Posted : Wednesday, September 17, 2008 2:03:50 PM(UTC)
bvcoder

Rank: Member

Joined: 8/1/2007(UTC)
Posts: 310

Well, you could always open up the header/footer user controls in the code and then modify them based on what you want. But you need to comment off the code that overwrites the default text by reading it from SiteTerms. That should do it.
Thanks,
Satya
support @ bayquel.net
Work: +1 803 883 3226
jvmaloley
#3 Posted : Wednesday, September 17, 2008 10:30:47 PM(UTC)
jvmaloley

Rank: Member

Joined: 2/26/2007(UTC)
Posts: 57

Satya what do you mean by comment off the code that overwrites and how would I do this?
bvcoder
#4 Posted : Thursday, September 18, 2008 12:15:24 AM(UTC)
bvcoder

Rank: Member

Joined: 8/1/2007(UTC)
Posts: 310

Go to the folder BVModule\Themes\<your theme folder>\controls\. You will find Header and footer controls there. These are the ones you need to change. You can set some static text based on what you want in the ascx files. However, they will be overwritten in the code behind files. Open up the .vb files and you will see code as below :

lnkHome.Text = Content.SiteTerms.GetTerm("Home")

Essentially the text of your links is being set from the Site Terms. You will notice that both the Home links in the footer and the header are set form the same Site Term. So you can comment off one and hardcode is to what you want. Or, you could add a new site term and use that new site term for the text in the header and the footer. You decide whats easy and maintenable for you. Does that help?
Thanks,
Satya
support @ bayquel.net
Work: +1 803 883 3226
jvmaloley
#5 Posted : Thursday, September 18, 2008 11:04:42 AM(UTC)
jvmaloley

Rank: Member

Joined: 2/26/2007(UTC)
Posts: 57

Yes that helps but how would I give the link a different meta tag? What ever text is the meta tag is the same. For instance if it was named home the meta tag would also be home I would like to change this.
Forum Jump  
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012