Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Breadcrumb navigation for static pages?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-09-2008, 09:52 AM
 
Doctored Locks Doctored Locks is offline
 

Advanced Member
  
Join Date: Dec 2008
Posts: 42
 

Default Breadcrumb navigation for static pages?

Is there a way to set up breadcrumbs on static pages?

I'm looking for them to have a hierarchy similar to:
categories > subcategories > subcategories > page

These would all be static pages, not necessarily products.

For example:

This page:
http://www.doctoredlocks.com/catalog/pages.php?pageid=4
should have the breadcrumb prior to home be this one:
http://www.doctoredlocks.com/catalog/pages.php?pageid=3

Is there a way to do this?

I tried to find it in the forum threads but couldn't find anything similar.


-Melinda
__________________
Version 4.1.11 Pro
Add-on: X-Affiliate
Add-on: X-RMA
Add-on: X-FancyCategories
Reply With Quote
  #2  
Old 12-09-2008, 10:00 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Breadcrumb navigation for static pages?

Afraid not - the static pages are all on the same 'level' by default.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-09-2008, 10:25 AM
 
Doctored Locks Doctored Locks is offline
 

Advanced Member
  
Join Date: Dec 2008
Posts: 42
 

Default Re: Breadcrumb navigation for static pages?

Well then!

Do you think it would be possible to use Carrie's Hidden Categories Mod:
http://bcsengineering.com/store/product.php?productid=155&cat=0&page=1

What I'm thinking is this:

Instead of making a static page, I would just make a "category." I would put my previous "page" material into the description? They would be viewable as regular categories under one main hidden?

For example here:
http://www.doctoredlocks.com/catalog/home.php?cat=322

The main category would be hidden because I plan to link to tutorials and galleries, but don't wan't the links showing up in my "product" section.

Am I on the right track?

-Melinda
__________________
Version 4.1.11 Pro
Add-on: X-Affiliate
Add-on: X-RMA
Add-on: X-FancyCategories
Reply With Quote
  #4  
Old 12-09-2008, 10:50 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Breadcrumb navigation for static pages?

Not sure that is the way to go, no. Do you absolutely need the breadcrumbs for static pages?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-09-2008, 11:44 AM
 
Doctored Locks Doctored Locks is offline
 

Advanced Member
  
Join Date: Dec 2008
Posts: 42
 

Default Re: Breadcrumb navigation for static pages?

Well, on my static pages, it shows a main list, then you click on a sub list, and then a tutorial. So there is no way to get back to the main list or the sub list easily.

So yes, breadcrumbs would fix that OR I could put links back on every page. Breadcrumbs just seem like the natural choice since people are used to using them for every other page of navigation of the site, that's all.

Just out of curiousity, is there a reason that you think putting those in a category is bad? Or is it just too sloppy for future planning? It wouldn't likely be a great thing with our "search" system but I couldn't think of too many cons. Thoughts?
__________________
Version 4.1.11 Pro
Add-on: X-Affiliate
Add-on: X-RMA
Add-on: X-FancyCategories
Reply With Quote
  #6  
Old 12-09-2008, 12:06 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Breadcrumb navigation for static pages?

I would suggest creating a custom menu in the static pages - and you could even customize the static page template so that you can hard-code the breadcrumbs at the top.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote

The following user thanks balinor for this useful post:
acidon (11-25-2009)
  #7  
Old 01-18-2010, 12:33 PM
  acidon's Avatar 
acidon acidon is offline
 

Senior Member
  
Join Date: Feb 2008
Posts: 139
 

Default Re: Breadcrumb navigation for static pages?

So as of right now, changing static page template to remove breadcrumbs section and then hard-code breadcrumbs in every single static page , is the only way to take full control of breadcrumbs on static pages?
__________________
Version 4.7.6 X-cart Gold
Reply With Quote
  #8  
Old 01-18-2010, 01:18 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Breadcrumb navigation for static pages?

Nope you don't have to edit every single page as below is one way..
You could do it this way, to only have a menu appear for static pages with your chosen static pages, this would show only within static pages areas.

{if $page_content ne ''}Your Menu Here Top Or Side or your include file with your menu horizontal or at the site for static pages only
{/if}

YOU CHOOSE WHERE TO HAVE ABOVE CODE DISPLAYED, FOR TESTING ON MY LOCAL HOST I HAVE IT AT TOP ABOVE BREADCRUMBS..

It can be configured further, but that's the basic, so you could have a lovely neat menu at top for example displaying all your links within your chosen pages
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #9  
Old 01-18-2010, 02:17 PM
  acidon's Avatar 
acidon acidon is offline
 

Senior Member
  
Join Date: Feb 2008
Posts: 139
 

Default Re: Breadcrumb navigation for static pages?

Umm not sure what menu are you referring to?

All I want is to be able to control breadcrumbs, for example:

I want to create an Articles section page on my site, that page will contain links to a bunch of static pages with articles. When user visit any of those static pages, he should see next thing in breadcrumbs :

MySite > Articles > Page name

As of right now, X-cart would show ALL static pages at root lvl:

MySite > Page Name


Returning to my previous question, is changing static page template to remove breadcrumbs section and then hard-code breadcrumbs in every single static page is the only way to take full control of breadcrumbs on static pages?
__________________
Version 4.7.6 X-cart Gold
Reply With Quote
  #10  
Old 01-18-2010, 02:34 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Breadcrumb navigation for static pages?

It wouldn't show all pages at root level, It would be your custom menu as I stated, letting you choose which pages to show.

Example 1 (Your custom menu):
Articles - Article 1 - Article 2

Example 2 (Your Custom Menu)
Could be a tabbed style menu drop-down etc.

Or any other Menu, user would know exactly where they are and it would only show on what pages you require..


But it would not show like a breadcrumbs menu NO (As it's a custom hard coded menu) UNLESS: Your menu can show active page users is on via css then it would look like>

Article - Article 1

I really couldn't see the point of breadcrumbs that way, when it's possible as we stated.

Other then this, how the other user does it via a category for articles...

Sorry I wasn't much help.
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote

The following user thanks gizmo for this useful post:
acidon (01-19-2010)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:57 PM.

   

 
X-Cart forums © 2001-2020