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
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.

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.