Item Finder

Developer

Laisvunas

3rd Party (Commercial)
Current Version: 1.0

License Agreement

Buy Now!

$10.00
Qty:

EE Version Support

  • ExpressionEngine 1.x
  • 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

Item Finder allows you to find a needed item by parsing numbers in url_titles.

This plugin allows you to find needed item by parsing numbers in url_titles.

PARAMETERS:

1) item - Required. Possible values are integers starting from “1”.

2) category - Optional. Allows you to specify category id. Pipe character and “not”
aren’t supported.

3) weblog - Optional (for EE1.x only). Allows you to specify weblog short name. Pipe character and “not”
aren’t supported.

3) channel - Optional (for EE2.0+ only). Allows you to specify channel short name. Pipe character and “not”
aren’t supported.

4) site - Optional. Default value is “1”.

5) orderby - Optional. Possible values are “date” and “title”. Default is “date”.
Use this parameter together with “if_not_found” parameter.

6) if_not_found - Optional. Possible values are “none”, “first” and “last”. If
the value is “none”, then in case needed item was not found, the variable
{item_finder_url_title} will output nothing. If the value is “first”, then
in such case it will output url_title of the first entry. If the value is “last”, then
in such case it will output url_title of the last entry.

VARIABLES:

1) {item_finder_url_title} - will output url_title of the entry containing item specified in parameters.

EXAMPLE OF USAGE:

Say you have channel “articles” in which there are several entries
posted into category “technical”, whose url_titles are as follows:

articles_15_20
article_21
article_22_24
articles_24_26
article_27

Now suppose you need to display entry containing article 25.

In order to achieve this you will need to write such code:

{exp:item_finder channel="articles" category="technical" item="25" orderby="date" if_not_found="first" parse="inward"}
{redirect="my_template_group/my_template/{item_finder_url_title}/"}
{/exp:item_finder} 

{item_finder_url_title} will output “articles_24_26” and needed entry
will be displayed.

INCORRECTLY FORMED URL TITLES

Some url_titles are considered incorrectly formed and are not parsed by the plugin. Those
are url_titles in which:

1) some number is equal to zero

2) some number contain leading zero

3) there are more than two numbers

4) second number is bigger than the first

Item Finder Links

This entry was created July 1, 2009, 3:34 pm.
This entry was last updated August 29, 2011, 2:07 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!

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!