EE 1
EE 2
Structure Channel

Developer

Mark Croxton

3rd Party (Free)

45 downloads (last 90 days)

Download v1.0.1

Compatibility

  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Better Workflow
  • Matrix

Requirements

  • jQuery for the Control Panel

Categories

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 Version Downloads Add-On Version Release Date
2.+ Download 1.0.1 2012-04-18 01:23 PM

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!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!