EE 1
EE 2
Segment Search
Developer
3rd Party (Free)
72 downloads (last 90 days)
Compatibility
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Better Workflow
- Matrix
Requirements
- jQuery for the Control Panel
Categories
Plugin
Tags
Search URL segments for use in conditionals.
Usage
Search ALL segments for the presence of the word “stuff”.
{if {exp:segment_search keyword="stuff"}}{/if}
Search ALL segments for the exact word “stuff”.
{if {exp:segment_search keyword="=stuff"}}{/if}
Search ALL segments for the presence of the word “stuff” or “puff”.
{if {exp:segment_search keyword="stuff|puff"}}{/if}
Search ALL segments for the absence of the words “stuff” and “puff”.
{if {exp:segment_search keyword="not stuff|puff"}}{/if}
Search segments 1-3 for the presence of the word “stuff”.
{if {exp:segment_search keyword="stuff" segments="1|2|3"}}{/if}
Search ALL segments except 1-3 for the presence of the word “stuff”.
{if {exp:segment_search keyword="stuff" segments="not 1|2|3"}}{/if}
Search segments 1-3 for a number using regex.
{if {exp:segment_search keyword="/\d+/" segments="1|2|3" regex="yes"}}{/if}
Search the last segment for P and a number (a pagination page) using regex.
{if {exp:segment_search keyword="/P\d+/" segments="last" regex="yes"}}{/if}
Download Segment Search
| EE Version | Downloads | Add-On Version | Release Date |
|---|---|---|---|
| 2.+ | Download | 1.0.0 | 2011-02-09 02:00 AM |
Segment Search Links
This entry was created February 9, 2011, 5:57 pm.
This entry was last updated April 20, 2012, 4:58 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!
2 Reviews:
Sam Sullivan 10.09.12
Thanks Rob! it sorted out my pagination a treat.
Hilversum 07.11.12
Brilliant - needed something unique for new site and it hit the spot.