Permalinks & Categories (breadcrumbs?)

5 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 15, 2013   (RSS)

By Toledoh - March 22, 2013

Hey Guys,

Out of interest, can we breadcrumb permalinks automatically?

ie. If I have a page.php that displays the details of a product x - I can have a permalink of /products/product-x/ which is great.

Can I get /products/category/product-x/ where "category" is the category of that product (so I can't hard-code the permalink "default" field)

Cheers,

Cheers,

Tim (toledoh.com.au)

By Toledoh - March 25, 2013

Wow - that's for that.  I'll give it a shot!

Cheers,

Tim (toledoh.com.au)

By Codee - May 15, 2013

Hi Greg,

Is this a one-time solution or is this code meant to be placed on a list page and run every time the page is accessed?

By gregThomas - May 15, 2013

Hi Equinox,

This is a one time solution that will convert links to a detail page into permalinks that could be run as a script. You could place it on a page to run every time a page it is accessed, but its fairly resource intensive, so it might slow the page down a bit. 

Thanks

Greg

Greg Thomas







PHP Programmer - interactivetools.com