Category URL

Developer

Johan Strömqvist

3rd Party (Free)

Creative Commons Attribution

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Category URL returns the full URL for one specific category based on it's parent's category_url_title's. Like so: index.php/category_one/category_two/category_three

This plugin returns the full URL for one specific category based on it’s parent’s category_url_title’s. 


EXAMPLE

If you have a category structure like this:

Pants
- Levis
- Wrangler
Shirts
- Fred Perry
- Armani
- - Business
- - Casual
- Ralph Lauren
Shoes
- Adidas

This plugin would output

index.php/pants
index.php/pants/levis
index.php/pants/wrangler
index.php/shirts
index.php/shirts/fred-perry
index.php/shirts/armani
index.php/shirts/armani/business
index.php/shirts/armani/casual
index.php/shirts/ralph-lauren
index.php/shoes
index.php/shoes/adidas


HOW TO USE


{exp:channel:categories channel="foo" data-style="nested"}

{category_name} URL is: {exp:category_url template="" parent_id="{parent_id}" category_url_title="{category_url_title}" category_id="{category_id}"}

{/exp:channel:categories}

UPDATES

1.1 - Added support for “template” parameter so you can add your template_group AND/OR template as a subpath to your structure. Example: index.php/template_group/template/pants/armari. In this example the template parameter would be: template=“template_group/template”.

Category URL Links

This entry was created January 26, 2011, 5:38 pm.
This entry was last updated March 6, 2011, 11:37 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

3 Reviews:

instyx 08.10.15

instyx
Rating - {addon_rating_average}

Hi, dowload link is not working.
Can you please fix that?
Thank you.

zizther 01.19.12

zizther
Rating - {addon_rating_average}

This is a great add-on for anyone who requires the category URL’s to be your category_url_title.
It saves a lot of time.

Oscar 01.27.11

Oscar
Rating - {addon_rating_average}

Finally!!  This was such a pain before. Strange that this functunality isn’t included in the core of EE. Thank you for sharing Johan.