https://github.com/timkelty/ez.reeorder.ee_addon
Elwin Zuiderveld's REEorder Module for ExpressionEngine
https://github.com/timkelty/ez.reeorder.ee_addon
Last synced: 9 months ago
JSON representation
Elwin Zuiderveld's REEorder Module for ExpressionEngine
- Host: GitHub
- URL: https://github.com/timkelty/ez.reeorder.ee_addon
- Owner: timkelty
- Created: 2009-02-05T20:38:17.000Z (over 17 years ago)
- Default Branch: master
- Last Pushed: 2010-10-04T17:48:08.000Z (over 15 years ago)
- Last Synced: 2025-04-06T23:34:34.318Z (about 1 year ago)
- Language: PHP
- Homepage: http://expressionengine.com/forums/viewthread/43903/
- Size: 121 KB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
INSTALLATION INSTRUCTIONS:
- Always backup your database before installing a module!
Log into your ExpressionEngine Control Panel, visit the following page:
Admin > Utilities > Database Backup, and make that backup!
- Upload the system/modules/reeorder folder to system/modules on your server.
- Upload system/language/english/lang.reeorder.php to system/language/english on your server.
- Upload themes/cp_global_images/sort.png to themes/cp_global_images on your server.
- Go to the Modules tab. You will see an entry listed for "REEOrder". On the right side of the table, click the Install link corresponding to the REEOrder Module. This will install the necessary database tables and settings for the module.
- The REEOrder entry is now a clickable link, click it to start using the REEOrder module.
Optionally:
- Upload system/extensions/ext.reeorder.php to system/extensions on your server.
ABOUT THIS MODULE:
The REEOrder module allows you to easily re-order your entries.
The module uses EE's ability to order Weblog Entries by a Custom Field, it does not add any queries or other additional processing to your templates.
Installation and usage:
Step 1:
Create a new Custom Field in your Field Group, this field will hold the sorting value. You aren't actually going to use this field. The REEOrder Module will do all the heavy lifting. (The actual sorting.)
- The preferred "Field Type" would be "Text Input"
- Name it anything you like, and feel free to set any other options
Step 2:
Install the "REEOrder" Module
Step 3:
In the module's Preferences page, select the Custom Field you just created.
Step 4:
Select a weblog and re-order your entries
Step 5:
Create or modify a template and change the "orderby" parameter in the weblog tag to the name of your new Custom Field
Example of the weblog tag:
{exp:weblog:entries weblog="default_site" orderby="your_new_custom_field" disable="categories|member_data|pagination|trackbacks"}
{title}
{body}
{/exp:weblog:entries}
If you change Sort Order to "Ascending" in the module's Preferences, make sure you also add sort"asc" to your weblog tag.
Step 6: (optional)
If you like you can install the additional "REEOrder" Extension, this will remove the Custom Field from the Entry Form. (so your client won't accidentally mess with it).
CHANGE LOG
1.0.0:
- Initial release
1.0.1:
- Fixed a MySQL error
1.1.0:
- Brandon Kelly : Added drag-n-drop sorting (sponsored by Matt Weinberg)
- requires CP jQuery (http://www.ngenworks.com/software/ee/cp_jquery/), which comes bundled with EE 1.6.6+.