Structure Channel

Developer

Mark Croxton

3rd Party (Free)

557 downloads (last 90 days)

Download v1.0.1

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)

Module

Tags

A replacement for the Channel module for use with Structure.

Description

Structure Channel is a drop-in replacement for the Channel module which generates query string pagination (?p=1) rather than using URI segments /P1/

Why on earth would you want to do this?

If you are using Structure or the Pages module with Freebie or .htaccess mod_rewrite rules to create custom URLs, then you will quickly find that the native pagination doesn’t work.

Installation

1. Copy the folder structure_channel to ./system/expressionengine/third_party/
2. In the Control Panel, go to Add-Ons > Modules and click the Install link for Structure Channel

Parameters

Exactly the same as the Channel module, with one additional (optional) parameter ‘pagination_param’. This determines the parameter name used in the pagination query string. By default this is ‘p’.

Sample usage


{exp:structure_channel:entries 
    channel="my_channel" 
    disable="member_data|categories" 
    dynamic="no" 
    limit="10" 
    paginate="bottom" 
    paginate_base="/my/custom/uri/?" 
    pagination_param="page"
}

    {title} 
{paginate} Page {current_page} of {total_pages} {pagination_links} {if previous_page} <a href="{auto_path}">Previous Page</a>   {/if} {if next_page} <a href="{auto_path}">Next Page</a> {/if} {/paginate} {if no_results} Sorry, no entries were found. {/if} {/exp:structure_channel:entries}

Download Structure Channel

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0.1 Apr 18, 2012

This entry was created February 21, 2011, 11:54 am.
This entry was last updated August 27, 2012, 5:09 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!