EE 1
EE 2
Last Segment
Developer
3rd Party (Free)
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
- Hermes
Get the {last_segment} of the current url in EE 2.0. The package contains both an extension and a plugin.
This extension will add the following global variables:
* {last_segment} – last segment (will never be the pagination segment ie /P1)
* {last_segment_absolute} – absolute last segment (even pagination)
* {last_segment_id} – the id of the last segment (for example “3”)
* {last_segment_absolute_id} – the id of the absolute last segment
If you don’t want to add these global vars you can use the plugin instead:
{exp:last_segment} will return the last segment. {exp:last_segment ignore_pagination=‘no’} will be the same as {last_segment_absolute}
Download Last Segment
| EE Version | Downloads | Add-On Version | Release Date |
|---|---|---|---|
| 2.+ | Download | 02/04/2010 |
This entry was last updated February 19, 2010, 10:53 am.
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!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!