Page links on my More Info pages

General ShopSite user discussion
Post Reply
ffstock
Posts: 16
Joined: Sat Jul 12, 2008 7:55 am

Page links on my More Info pages

Post by ffstock »

Hello, I'm using the Modern template and I'm trying to replace the "Back" link with the "Left Side" navigation links that are on all my pages. I have tried replacing the code in my "Modern MoreInfoPage.sst" include, with the code from my "Modern.sst" page template but got several errors.

Any help would be appreciated.

Thanks,
Allen
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

If you use the code that generates the links from the Modern.sst in the moreinformation section of a product template it will not work. The product template does not have any information about pages like what page links to another page. So using that code will give you errors about page tag now useable on product template.

If you want the same links on a product moreinfo page as are on a regular store page you will need to view the html source generated for one of your pages and copy and paste that to your moreinformation section of the product template. Note that this means these links will be static and won't be updated if you change the links on your pages. so if you update links on your pages you will need to again copy the links and put them in your product template.
ffstock
Posts: 16
Joined: Sat Jul 12, 2008 7:55 am

Page links on my More Info pages

Post by ffstock »

Thanks Jim for your help. I found the generated HTML and pasted it in the product template. The list show at the very top of the page (not on the left). I changed the position of where it was in the product template and now its at the very bottom of the page. Any thoughts?

Thanks again,
Allen
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

Go to a page in your store, like index.html, and right click with the mouse. There will either be a View Source or View Page Source (depending on the browser you are using) click on that link and it will show the html for the page. Then you need to select the html source for the page links section and copy it and then paste that into the moreinformation section of the product template where you want it.
ffstock
Posts: 16
Joined: Sat Jul 12, 2008 7:55 am

Post by ffstock »

Thanks Jim for your help. I found the generated HTML and pasted it in the product template. The list show at the very top of the page (not on the left). I changed the position of where it was in the product template and now its at the very bottom of the page. Any thoughts?

Thanks again,
Allen
ffstock
Posts: 16
Joined: Sat Jul 12, 2008 7:55 am

Post by ffstock »

Will this make a difference if I'm using a custom "More info page"? If so should it be put in the more info page instead of the "Product Page"?
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

If it is not displaying in the place that you expect it to there is probably a problem with the html in your template. If the formatting of tags is not correct the browser doesn't know what to do with the code so it will display misplaced items at the top of bottom of the page. So check the html for your page and make sure that you have appropriate <table><tr><td></td></tr></table> tags around the data. You can run the source of your page through an html syntax checker such as http://www.htmlhelp.com/tools/validator/ to see where problems might exist.
ffstock
Posts: 16
Joined: Sat Jul 12, 2008 7:55 am

Post by ffstock »

I'm beating my head against the wall now, here is what I have:

<table><cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td id="leftnav">
<div id="links">
<li class="inline"><a href="page7.html">
About Us </a>
</li>
<li class="inline"><a href="page19.html">
Faucets - by type </a>
</li>
<li class="inline"><a href="page24.html">
Faucets - by series </a>
</li>
<li class="inline"><a href="page3.html">
Accessories </a>
</li>
<li class="inline"><a href="page18.html">
Trim Kits - for baths + whirlpools</a>
</li>
<li class="inline"><a href="page9.html">
Commercial Product </a>
</li>
<li class="inline"><a href="page23.html">
Faucet Valves </a>
</li>
<li class="inline"><a href="page8.html">
Drains </a>
</li>
<li class="inline"><a href="page10.html">
Hand Showers </a>
</li>
<li class="inline"><a href="page11.html">
Handles </a>
</li>
<li class="inline"><a href="page13.html">
Parts & Accessories </a>
</li>
<li class="inline"><a href="page12.html">
Shower Heads / Arms & Bodysprays </a>
</li>
<li class="inline"><a href="page14.html">
Sinks </a>
</li>
<li class="inline"><a href="page15.html">
Spouts </a>
</li>
<li class="inline"><a href="page16.html">
Supplies </a>
</li>
<li class="inline"><a href="page17.html">
Toilet Trip Levers </a>
</li>
</div>
</td>
</tr>
</table>
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

It may not be that section of code that is causing the problem (it looks ok to me). You need to check the html source of the entire page where it is displayed to see if there are issues on the page itself.
ffstock
Posts: 16
Joined: Sat Jul 12, 2008 7:55 am

Post by ffstock »

I got it!! I made my own INCLUDE and stuck it in the MoreInfoPage in different places until I got it to work. Anyone having problems with this let me know, I will walk you through my site and show you how to adapt it.

Allen
Rod
Posts: 15
Joined: Mon Aug 04, 2008 11:22 am

Post by Rod »

I'm having a lot of trouble with this also.

I'm trying to add navlinks across the top and left side of the product pages with no luck.

Been at it for two days straight now.

Any help would be appreciated.

Thank You,

Rod Jordan
North Carolina
ffstock
Posts: 16
Joined: Sat Jul 12, 2008 7:55 am

Post by ffstock »

Hello Rod, what template are you using?
Rod
Posts: 15
Joined: Mon Aug 04, 2008 11:22 am

Post by Rod »

ModernProductTemplate.sst

Thank You,

Rod Jordan
North Carolina
ffstock
Posts: 16
Joined: Sat Jul 12, 2008 7:55 am

Rod, I didn't see you had posted

Post by ffstock »

Are you still having the problem?

Allen
Rod
Posts: 15
Joined: Mon Aug 04, 2008 11:22 am

Still having problems...

Post by Rod »

I'm still having a problem getting links to show in the correct place on the ModernProductTemplate.sst.

Also, the "Back" link on the More Info pages is not sending the customers back to the previous page but instead seems to be sending them back to the first page that particular product was saved on.

Any help on this would be much appreciated.

Thank You,

Rod Jordan
North Carolina
Post Reply