Next / Previous Links Anywhere

Developer

Super McFly - Martin Malloy

3rd Party (Free)

1 downloads (last 90 days)

Download v1.0

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

With this ExpressionEngine 2 plugin you can now have next / previous links anywhere you want, including between the exp:channels tags. Just supply the plugin with an entry ID and a type (next or previous) and you’re set. It works like the first-party next/previous entry linking.

Examples

{exp:sm_links type="previous" entry_id="3"}
	<p>Previous entry: <a href="{l_path='content/blogs'}">{l_title}</a></p>
{/exp:sm_links}
{exp:sm_links type="next" entry_id="3"}
	<p>Next entry: <a href="{l_path='content/blogs'}">{l_title}</a></p>
{/exp:sm_links}

Parameters

type=“previous”
Defaults to “”. Required. The type of link to create.

entry_id=“23”
Defaults to “”. Required. The entry from which the results are generated.

category=“17”
Defaults to “”. Limit by specific categories.

category_group=“2”
Defaults to “”. Limit by category groups.

show_expired=“no”
Defaults to “no”. Allow expired entried to be included.

show_future_entries=“no”
Defaults to “no”. Allow future entries to be included.

status=“open”
Defaults to “open”. Limit by entry status.

channel=“blogs”
Defaults to “”. Limit by entry channels.

Variables

{l_entry_id}
The ID number of the entry.

{l_title}
The title of the entry.

{l_channel}
The channel title of the entry. Useful for conditional template paths.

{l_url_title}
The human readable title used in the URL as a permalink.

{l_id_path=‘site/index’}
The path (template_group/template) where you want to show the entry. The entry_id of the entry will be automatically added.

{l_path=‘site/index’}
The path (template_group/template) where you want to show the entry. The url_title of the entry will be automatically added.

Download Next / Previous Links Anywhere

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0 Mar 1, 2010

Next / Previous Links Anywhere Links

This entry was created March 2, 2010, 6:18 am.
This entry was last updated August 27, 2010, 5:43 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.

2 Reviews:

Mark @ Encrypt Designs 06.16.14

Rating - {addon_rating_average}

Great idea and potential time saver but definitely doesn’t work as Dom and Tom said :(

Dom & Tom, Inc 01.23.13

Dom & Tom, Inc
Rating - {addon_rating_average}

This plugin just doesn’t work properly. I get the first and last entries of a channel, and l_path doesn’t behave properly either. If anyone gets this working properly, please leave a comment about how.