Jump to content

PHP Breadcrumbs(link tree) help.


nonexistentera

Recommended Posts

Hello.

I have been searching around for something that could meet my needs, but as of which have not found anything.

I have all my url's layed out as so

 

index.php?action=requestedAction

 

Which apache rewrites to

/requestedAction

 

I am not sure how I could create a breadcrumb trail for this, or where to really begin.

 

Anyone knowledgeable on this :/

 

Thanks for anything in advance

-nonexistentera

Link to comment
https://forums.phpfreaks.com/topic/162042-php-breadcrumbslink-tree-help/
Share on other sites

The point of breadcrumbs is that you are navigating deeper within a page hierarchy.  You have a single controller page that rewrites it to a different url yes, but the setup is still that single controller page > action  so it's kind of pointless to have breadcrumbs... You can just have a static link back to the homepage, without the action being specified.

 

 

Well I mean like it will be ?action=browse let's say and there are categories, and sub categories, so ?action=browse&cat=3&subcat=2

 

So lets say 3 is Software, and the sub category is PHP. There would be

Home>Browse>Software>PHP

 

Then the user can go to the category software, or the browse section.

 

I think I just saw what I needed, so I will see what I can think up.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.