Structure Sub Pages

Developer

Rein de Vries

3rd Party (Free)

Creative Commons Attribution No Derivatives Download v1.1.2

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

A small plugin that retrieves the sub pages from the structure module. Handy when you want to grab the first subpage in row, or to redirect directly to its subpages when you hit the parent page.

=============================
examples
=============================

{exp:structure_sub_pages entry_id="{structure:page:entry_id} [OR] {entry_id}"}

{if no_results}{/if}
			
{if has_results}{/if}

link : {sub_1} - Title : {sub_1_title} - Entry_id : {sub_1_entry_id}
link : {sub_1_1} - Title : {sub_1_1_title} - Entry_id : {sub_1_1_entry_id}
link : {sub_1_2} - Title : {sub_1_2_title} - Entry_id : {sub_1_2_entry_id}

link : {sub_2} - Title : {sub_2_title} - Entry_id : {sub_2_entry_id}
link : {sub_2_1} - Title : {sub_2_1_title} - Entry_id : {sub_2_1_entry_id}

link : {sub_3} - Title : {sub_3_title} - Entry_id : {sub_3_entry_id}
etc….

Get the first item
link : {first_sub} - Title : {first_sub_title} - Entry_id : {first_sub_entry_id}
			
Get the last item
link : {last_sub} - Title : {last_sub_title} - Entry_id : {last_sub_entry_id}

{/exp:structure_sub_pages}

=============================
The Tag
=============================
{exp:structure_sub_pages}

=============================
The Varibles
=============================
link : {sub_[number of the sub]} [OR] {sub_[number of the sub]_[number of the sub]}
Title : {sub_[number of the sub]_title} [OR] {sub_[number of the sub]_[number of the sub]_title}
Entry_id : {sub_[number of the sub]_entry_id} [OR] {sub_[number of the sub]_[number of the sub]_entry_id}

==============
TAG PARAMETERS
==============
entry_id=”[the key]”

==============
Changelog
==============

  • 1.1.2 : Added no_results and has_results as if statements
  • 1.1.1 : Support for the first and last item
  • 1.1 : Change the mechanism for building the subnavs, the order for the items are now always ok!
  •  
  • 1.0 : init release

Download Structure Sub Pages

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.1.2 Mar 13, 2012

Structure Sub Pages Links

This entry was created March 15, 2012, 11:51 am.
This entry was last updated August 22, 2013, 1:01 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!