Newbie: Creating Links

General ShopSite user discussion

Newbie: Creating Links

Postby csm71 » Tue Jan 05, 2010 2:44 pm

I am new to Shopsite and have about zero HTML experience. I'm in the process of setting up my store. Getting the pages set up and the products on them are no problem, but I'm hitting wall. How do I create links in the header for "about," "return policy" and similar items? I looked through quite a bit of the previous topics, but could not find anything other than some answers with a bunch of code. I apologize if this is a very basic question and would appreciate any help you can give me.
csm71
 
Posts: 12
Joined: Mon Jan 04, 2010 9:00 pm
Location: New Jersey

Postby Jim » Wed Jan 06, 2010 2:08 pm

If you create the pages ( "about," "return policy" etc) you want as links in ShopSite and assign them to your product pages a link will automatically be created to them. The placement of the link will depend on the template you use. You could also copy the source of the links and put it in the Preferences > Page Header/Footer (or Preferences > Layout Settings in a 10sp1 store) and have the links displayed at the top of all of your pages.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby csm71 » Fri Jan 08, 2010 9:02 am

Jim,

Thanks for the reply. As I said before, I'm pretty new at this and I appreciate you taking the time to explain this to me. Where would I find the source of the links for the pages I create?
csm71
 
Posts: 12
Joined: Mon Jan 04, 2010 9:00 pm
Location: New Jersey

Postby Jim » Fri Jan 08, 2010 10:07 am

Your link should look something like this
<a href="http://yourdomain.com/somepage.html">Page Name</a>

so something like this for the about and return policy pages
<a href="http://yourdomain.com/about.html">About Us</a>
<a href="http://yourdomain.com/returnpolicy.html">Return Policy</a>

You would replace the "yourdomain.com" with what ever your store domain is. You might also need to add something like /shop or /store after the .com if your pages are not in your domain root.

You can just create the links like that and put it in the appropriate place if you want.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby csm71 » Sun Jan 10, 2010 2:44 pm

Thanks for your reply. I came across Shopsite Built-in Templates explained section which gives instructions on how to add links into the navigation bar. I am using the Modern template.

I followed the instructions and was able to get the links onto the navigation bar for most of my templates, but I am having a problem with the Modern.sst template.

For all of the templates the instructions say to find the code:
<div id="headlinks">
<ul class="right">
<li class="navlinks"><a href="[-- MyStoreURL --]">[-- STORE.Home --]</a></li>
[-- IF GiftCert --]
<li class="navlinks">[-- GiftCertlink --]</li>
[-- END_IF --]
[-- IF SC_Registration --]
[-- INCLUDE Modern-crLinks.sst PROCESS --]
[-- END_IF --]

Once that is found this line is to be inserted once for every link you need:
<li class="navlinks"><a href="http://domain.com/filename.html">Page Name</a></li>

I changed "domain.com/filename" to match the page the link refers to and I changed "Page Name" to the name I would like to have on the navigation bar. It works with every template except Modern.sst.

Did I miss something?

On a related note, once the new links were placed on the navigation bar they went from black to green. I can live with this, but how did that happen?
csm71
 
Posts: 12
Joined: Mon Jan 04, 2010 9:00 pm
Location: New Jersey

Postby csm71 » Mon Jan 11, 2010 2:18 pm

OK, never mind. I logged onto my website this morning and the links are in the navigation bars of all the pages. I guess I'll chalk that one up to "user error."

The links still show up green, but only in the shopping cart pages. As I said before, I can live with that.
csm71
 
Posts: 12
Joined: Mon Jan 04, 2010 9:00 pm
Location: New Jersey


Return to User Forum

Who is online

Users browsing this forum: No registered users and 112 guests

cron