JB Reverse Segments


Jason Boothman

3rd Party (Free)

375 downloads (last 90 days)

MIT License Download v1.0

EE Version Support

  • ExpressionEngine 2


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


  • jQuery for the Control Panel

Add-On Type(s)



Sometimes you don't care how many segments are in the url, you just care about two or three of them at the end. JB Reverse Segments allows you to easily access those by reversing the order in which you access them (counting from right to left).

Assuming the following url…

Using ExpressionEngine…

{segment_1} = tvshows
{segment_2} = scifi
{segment_3} - stargate.

Using JB Reverse Segments on the same url…

{reverse_segment_1} = stargate
{reverse_segment_2} = scifi
{reverse_segment_3} = tvshows.

The extension builds the variables upon page load so it shouldn’t matter how many segments there are - just count from right to left. {reverse_segment_1}, {reverse_segment_2}, etc…

Note: It will most likely work on any version of EE, but I selected 2.8 as that is what I’m running (if someone wants to test on earlier version and let me know I can adjust the requirements).

Download JB Reverse Segments

EE Support Downloads Add-On Version Release Date
2.8.0+ Download 1.0 Mar 2, 2015

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. template_fetch_template

This entry was created March 3, 2015, 1:13 pm.
This entry was last updated March 3, 2015, 2:14 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.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!