2 of 5
2
REEOrder Module (Custom ordering of entries)
Posted: 21 March 2007 03:57 PM   [ Ignore ]   [ # 19 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

Some extra queries in the control panel don’t really matter now do they wink

A nice solution wazdog!

I was thinking of adding a checkbox or radio button pair to show/hide weblogs.
This way a Super Admin can still use (re-order) all weblogs but only show the relevant ones to the (non Super Admin) client.

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 11 October 2007 11:02 PM   [ Ignore ]   [ # 20 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6077
Joined  08-04-2002

Cocoaholic…did you manage to make that last change (checkboxes)?
Also, I have a sidebar that contains entries from 5-6 weblogs. Can this be used to reorder those weblogs…not the individual weblog entries within each…the order of the weblogs themselves.

Profile
 
 
Posted: 12 October 2007 03:53 AM   [ Ignore ]   [ # 21 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

Nope, have been way too busy lately…  downer

I’d love to add some extra features though, I’ll see if I can find some time soon.

Hmm, can you explain what result you are looking for exactly?
Are you using the weblog tag like this, and want to be able to sort by weblog? something else?

{exp:weblog:entries weblog="weblog1|weblog2|weblog3"}

Sounds like you want an orderby=“weblog” parameter added to the weblog tag.

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 12 October 2007 08:40 AM   [ Ignore ]   [ # 22 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6077
Joined  08-04-2002

No, it’s actually separate weblog tags stacked in the right sidebar so it would almost have to be like nesting…master controls the order and then the individual weblogs within get ordered…

Master
> Reading
> Links
> Blogs
> Testimonials
/Master

Reordered…

Master
> Blogs
> Testimonials
> Reading
> Links
/Master

Make sense?

Profile
 
 
Posted: 12 October 2007 08:55 AM   [ Ignore ]   [ # 23 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

Makes sense, but…

This module is really just a back end for filling a custom field with a sort order number.
The weblog tag in your template takes care of the actual ordering of the entries.

REEOrder can’t be used for ordering weblogs, but your request would make a nice add-on though.
I’ll think about it some more this weekend.

You can probably accomplish what you need in different ways using either javascript or a plugin or maybe even related entries (not sure about that one)

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 12 October 2007 09:15 AM   [ Ignore ]   [ # 24 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6077
Joined  08-04-2002

It’s not something urgent. Just had a client ask if he could easily change the order of things in the sidebar, I couldn’t think of an easy way. He mentioned this was something that can be done in TypePad, on the other hand, TypePad doesn’t offer all the other things EE is enabling for him wink

I was initially thinking an order weblog that just contains a list of the parts then nesting but that that ain’t good. Not sure if it would even come close to working.

{exp:weblog:entries weblog=“master” orderby=orderField”}

{exp:weblog:entries weblog=“orderField1”}
Custom fields
{/exp:weblog:entries}

{exp:weblog:entries weblog=“orderField2”}
Custom fields
{/exp:weblog:entries}

{/exp:weblog:entries}

The weblog= in the inner weblog tags would be fed by the master weblog.

That’s the idea anyway.

Profile
 
 
Posted: 12 October 2007 09:24 AM   [ Ignore ]   [ # 25 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

That would probably work if you put the ‘child’ weblog in an embedded template and pass the orderField as an embed variable.

Something like this: (untested of course)

{exp:weblog:entries weblog="master" orderby="orderField"}

{embed
="template_group/template" blog="{whatever_field_holds_your_weblog_name}"}

{
/exp:weblog:entries}

And inside the embedded template:

{exp:weblog:entries weblog="{embed:blog}"}
Custom fields
{
/exp:weblog:entries}

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 12 October 2007 09:45 AM   [ Ignore ]   [ # 26 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6077
Joined  08-04-2002

Ahhh…will have to try that when I get a second…thanks!!

Profile
 
 
Posted: 19 October 2007 08:39 AM   [ Ignore ]   [ # 27 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  779
Joined  12-01-2002

I’m trying to decide between this module, “Reeorder” and another module “Selected Items”, but I can’t tell which is better for my purpose.  What I have set-up for a client is a series of “training modules”.  A Training Module is just a collection of publications, press, and or tools.  But each of those items are stored by type in separate weblogs—i.e. publications, press, tools.  Currently, once a training module is created, any publication, press release or tool can be assigned to it using a relationship field. And then, I display the list of items related to the module via the reverse relationship field. This works well, but now the client wants to custom order the display, so that the english version of the publication, displays before the spanish, the spanish, before the chinese, an informational pamphlet before a training manual, etc., etc.

I can use a custom field for sort order, and pipe, but this creates a per weblog sort, so basically of a five item display, the display would look like:

(1) English Pamphlet, (2) English Training Manual, (3) English Powerpoint Slides, (4) Chinese Training Manual, and (5) Tool: Training Game

the client wants the display to ignore weblogs (i.e. group all the titles, regardless of weblog then re-order like:

(1) English Pamphlet, (2) English Training Manual, (3) English Powerpoint Slides, (4) Tool: Training Game, and (5) Chinese Training Manual

Basically english items first, then foreign language items.  I’ve fiddled with Selected Items a bit, and while it seems to handle re-ordering independent of weblogs, it doesn’t seem to handle relationships.  From what I’ve gathered about Reeorder, since its uses the actual weblog entries data, it should be usable with relationships, but would probably have the same issue of ordering that the {exp:weblog:entries} tag does—ordering or grouping by weblog first.

Is that true or is their a method for making the solution order independent?  I’ve been debating just adding an extra field in the title table, but I really, really hate hacking the system.  Any ideas.

Alnisa

Profile
 
 
Posted: 28 November 2007 05:10 AM   [ Ignore ]   [ # 28 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6558
Joined  04-15-2006

Hiya,

Sorry to drag this up like this but I remember using this module some time back on an older version of EE 1.5.2 I think and it worked fine. I tried today using this on EE 1.6.1 but it doesn’t seem to work. Was just wondering if it is meant to or not?

Everything goes okay except when I click on the weblog name in the module I get all the up and down arrows and the names of the posts but the drop down to the left of all of that has nothing in it. It seems that they are not being populated with any numbers.

Any help with this would be greatly appreciated as I am currently making an FAQ section that I would like to have them in a specific order but knowing me I will probably miss a couple out and add them later. I would then have to change dates if I wanted to order them in that way which isn’t nice at all!! grin

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 28 November 2007 05:16 AM   [ Ignore ]   [ # 29 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

Hi Mark,

As soon as you change the order the dropdowns will be populated.

You need to set an order at least once.

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 28 November 2007 06:19 AM   [ Ignore ]   [ # 30 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6558
Joined  04-15-2006

Hiya,

Aha. Just figured it out. I tried to change the sort order using one of the up arrows but it did nothing. The entry didn’t move and no numbers were populated at all. I hadn’t tried before but just tried one of the down arrows and it worked! The numbers got populated into the fields and now I can re-order things to my hearts content. Not sure if that is the expected behaviour of the module though that you need to move one of the entries down first as it seems a little strange and I don’t remember that happening in EE 1.5.2. but at least it all works now!! grin

Thanks for a great module.

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 28 November 2007 06:22 AM   [ Ignore ]   [ # 31 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

I haven’t checked the code but I’m guessing you tried clicking the up arrow for the first entry.
The first entry can only go down, that’s why nothing happened wink

Thanks,
Elwin

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 28 November 2007 07:06 AM   [ Ignore ]   [ # 32 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6558
Joined  04-15-2006

Hi Elwin,

Nope. I can be a bit dumb at times but not this time I’m afraid!! grin

It was actually around the third entry that I clicked. I can only click on a down arrow to set the ball going. If I try an up arrow on any of them it doesn’t work and only starts to work after pressing one of the down arrows.

You don’t catch me out today that easily I’m afraid!! grin

Ah well. No problem as at least I can get it working.

Thanks again for a superb module!

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 28 November 2007 07:09 AM   [ Ignore ]   [ # 33 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

LOL Cheers!

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 17 January 2008 02:09 PM   [ Ignore ]   [ # 34 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  866
Joined  04-14-2007

After seeing if the REEOrder module would work for me in the particular situation I have, I decided to uninstall the module after testing and now when I attempt to open any of my entries I get

MySQL ERROR:

Error Number: 1146

Description: Table ‘etviscom_DB.exp_reeorder_prefs’ doesn’t exist

Query: SELECT * FROM exp_reeorder_prefs WHERE weblog_id = ‘8’

I removed the custom field I created and then un-installed.

What did I do incorrectly?

I have since re-installed the module because this is the only way now I can access my entries.

Any idea how to get past this issue?

Thanks.

 Signature 

Michael Rubens | hothousegraphix
Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity. - Charles Mingus

Profile
 
 
Posted: 17 January 2008 03:40 PM   [ Ignore ]   [ # 35 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  02-05-2002

Will look into this tomorrow (time to get some sleep in my part of the world)

One thing I can think of right now is:
Did you also uninstall the extension correctly?

The extension also looks for that “exp_reeorder_prefs” table, which isn’t there anymora after you uninstalled the module.

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 17 January 2008 04:58 PM   [ Ignore ]   [ # 36 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  866
Joined  04-14-2007

Hey, thank you for responding.

Cocoaholic - 17 January 2008 03:40 PM

One thing I can think of right now is:
Did you also uninstall the extension correctly?

Well, prior to uninstalling I tried to access the Documentation at http://docs.elwinzuiderveld.com/ in order to see if a specific uninstall process was defined. The URL wouldn’t load.

I then tried http://elwinzuiderveld.com/ and got the following message.

This website will be online soon, please visit again.

 

So, I simply went to the modules section in the CP and “removed” the module, then removed the custom field I established for module.

Is the uninstall process different?

 Signature 

Michael Rubens | hothousegraphix
Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity. - Charles Mingus

Profile
 
 
   
2 of 5
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64944 Total Logged-in Users: 74
Total Topics: 81925 Total Anonymous Users: 50
Total Replies: 440355 Total Guests: 300
Total Posts: 522280    
Members ( View Memberlist )