Moving Breadcrumbs above product names |
Post Reply |
Author | |
edwardmills
Groupie Joined: 16-August-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 18-December-2006 at 8:05pm |
Hi There
Wondering how difficult it would be to move the breadcrumb navigation above the name in the product and category pages. I looked at viewcategories.asp and viewprdc.asp. It definitely seems a bit more complicated than a simple cut and paste of code. Has anyone done this? And if so, can you give me any tips? Thanks ed |
|
fidjiti
Senior Member Joined: 30-November-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Nope I haven't tried it but would also like to know how to do this. Thanks!
|
|
Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :) |
|
edwardmills
Groupie Joined: 16-August-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Hi Linda
I figured it out for the product page. We're using the layout with the product image on the left. So for us, the file to modify is, viewPrdL.asp in the PC folder. The file is well commented. You just have to cut and paste the breadcrumb section above the show product name section. Just make sure you get the complete table row and data tags as well. Move this entire section of code: <tr> <td colspan="2"> <% '*********************************************************** ****************************************** ' 1) CATGEORY BREADCRUMBS '*********************************************************** ****************************************** pcs_CategoryTree '*********************************************************** ****************************************** ' END CATGEORY BREADCRUMBS '*********************************************************** ****************************************** %> </td> </tr> To just below the line: <table class="pcMainTable"> If you're using a different layout on your product page, it will be a different file. But you should be able to figure out which one. Hope this helps. ed |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
Edit one of these files depending on your product detail display: Search for the following section of code and move it above the section for the Product Name: <tr>
|
|
fidjiti
Senior Member Joined: 30-November-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
sweet thanks I'll try it!
|
|
Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :) |
|
edwardmills
Groupie Joined: 16-August-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
For the category pages, it's a bit harder to find.
It's in the file, viewcategories.asp in the pc folder. Search for the section of code below and move the line <h1>...category name... to below the closing </div>tag where it's shown here. '******************************* ' Show current category info '******************************* ' Show BreadCrumbs - current category name and location - If subcategory z %> <tr> <td> <div class="pcPageNav"> <% response.write dictLanguage.Item(Session("language")&"_viewCat_P_2") response.write strBreadCrumb intIdCategory=pIdCategory %> <!-- Load category discount icon --> <!--#Include File="pcShowCatDiscIcon.asp" --> </div> <h1><%=pCategoryName%></h1> </td> </tr> <% ' End Show BreadCrumbs Hope this helps again. ed |
|
edwardmills
Groupie Joined: 16-August-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Hi Netprofits
Looks like we posted at the same time. As always, thanks for your support. It is very appreciated! ed |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions 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 |