timkelty / ez.reeorder.ee_addon
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
README.txt | Mon Feb 02 10:46:41 -0800 2009 | |
| |
system/ | Tue Jun 09 21:40:31 -0700 2009 | |
| |
themes/ | Sun Feb 01 17:42:22 -0800 2009 |
README.txt
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"}
<h3>{title}</h3>
{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 <me@brandon-kelly.com>: 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+.