How to change links in header tabs
Greetings from Kathmandu.
I'm in the process of using Blogger to set up a static web site and have run into a small problem I'm sure someone here knows the answer for without having to even think too much about it.
If you're one of them, I'd be very happy to hear from you!
The subject line pretty much describes what I want to do. I'd like to keep the tabs but have them direct to pages within the blog: Home, About, Philosophy, Help. I tried swapping out the part after href= but that didn't work.
Template file is attached.
Thank you for reading this and if you can help me - bless you.
Jeff
http://fukuokafullenglish.blogspot.com/
Attachment | Size |
---|---|
template.txt | 15.52 KB |
kazimmerman posted this at 02:42 — 26th January 2009.
He has: 698 posts
Joined: Jul 2005
You should be looking at this section:
<div id='nav'>
<ul>
<li class='current'><a href='http://fukuokafullenglish.blogspot.com/'>Home</a></li>
<li><a href='http://fukuokafullenglish.blogspot.com/feeds/posts/default'>Posts RSS</a></li>
<li><a href='http://fukuokafullenglish.blogspot.com/feeds/comments/default'>Comments RSS</a></li>
<li><a href='#'>Edit</a></li>
</ul>
</div>
Swap out the
href='...'
part with the correct links and the<a href='...'>TEXT SHOWN</a>
with the text you want to display on the page (e.g. Home, About, Philosophy, etc).Kurtis
ShriDurga posted this at 05:58 — 26th January 2009.
They have: 4 posts
Joined: Jan 2009
Hello, Kaz, and thank you for your help.
I did as you suggested, but I've encountered a problem. Here is the modified script, with only one tab modified:
<div id='nav'>
<ul>
<li class='current'><a expr:href='data:blog.homepageUrl'>Home</a></li>
<li><a expr:href='http://fukuokafullenglish.blogspot.com/2009/01/about.html'>About</a></li>
<li><a expr:href='data:blog.homepageUrl + "feeds/comments/default"'>Comments RSS</a></li>
<li><a href='#'>Edit</a></li>
</ul>
</div>
</div>
The result is that the tab no longer displays. In it's place is this error message:
TEMPLATE ERROR: LHS of numeric is null before 57 in http://fukuokafullenglish.blogspot.com/2009/01/about.html
I've left it up so you can see for yourself at
http://fukuokafullenglish.blogspot.com/
Thank you.
kazimmerman posted this at 11:31 — 26th January 2009.
He has: 698 posts
Joined: Jul 2005
I don't know what that error message means; I can check it out later if I have some time. I'm guessing your problem is with the links within the
href='...'
section because they don't match what was in my code selected directly from the template. Try removing theexpr:
before thehref='...'
section on the ABOUT link and see if that helps.Kurtis
ShriDurga posted this at 12:27 — 26th January 2009.
They have: 4 posts
Joined: Jan 2009
That seems to have done it, Kaz.
Many, many thanks and a big hug from the Big Stupa.
nicolitta posted this at 03:43 — 22nd July 2013.
They have: 1 posts
Joined: Jul 2013
I'm getting this error on my blog, any idea:
TEMPLATE ERROR: LHS of numeric is null before 48 in data:blog.url == http://nycnewyear.blogspot.com/ TEMPLATE ERROR: LHS of numeric is null before 48 in data:blog.url == http://nycnewyear.blogspot.com/ TEMPLATE ERROR: LHS of numeric is null before 48 in data:blog.url == http://nycnewyear.blogspot.com/
naadi posted this at 17:11 — 5th August 2013.
They have: 1 posts
Joined: Aug 2013
hey i get error in my blog saying
"LHS of numeric is null before 98 in http://allfoodie.blogspot.in/
what to do i ont know much about coding , dont know where i made mistake
Hasnieda posted this at 08:28 — 22nd January 2014.
They have: 1 posts
Joined: Jan 2014
Hi,
I did something to my blog meta tag but an error message appeared. I accidentally saved the template, as such I can't undo the changes.
The error message is: LHS of numeric is null before 8
What should I do?
Thank you in advance
Regards,
Nieda
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.