Textpattern Forum

You are not logged in. Register | Login | Help

#11 2010-11-27 03:23:32

kevinpotts
Member
From: Kansas City
Registered: 2004-12-07
Posts: 364
Website

Re: esq_sectionsort - Custom sorting of sections

This is perfect. Exactly what I need. Except I need it for categories. Does anyone know of an equivalent?

Offline

#12 2010-11-27 04:41:21

cain-mi
Plugin Author
Registered: 2005-07-03
Posts: 101
Website

Re: esq_sectionsort - Custom sorting of sections

kevinpotts wrote:

This is perfect. Exactly what I need. Except I need it for categories. Does anyone know of an equivalent?

Hi Kevin,

The timing of your post is disturbingly coincidental; I just got an email from Jakob a day ago indicating he needed the same thing, and that he had adapted esq_sectionsort for categories, calling it esq_categorysort. He sent it to me for a bit for a tidy up before release, but it won’t be up for public download for a while as I’m pretty busy just now.

That being said, if you email me I’ll forward you the new plugin as it currently is (it works well, just needs a slight tidy up, and perhaps merging into the existing plugin).

Cheers,
cain-mi

Last edited by cain-mi (2013-10-10 05:48:05)

Offline

#13 2010-11-27 15:30:35

kevinpotts
Member
From: Kansas City
Registered: 2004-12-07
Posts: 364
Website

Re: esq_sectionsort - Custom sorting of sections

cain-mi wrote:

That being said, if you email me I’ll forward you the new plugin as it currently is (it works well, just needs a slight tidy up, and perhaps merging into the existing plugin).

Mitch — e-mail sent.

Last edited by kevinpotts (2010-11-27 15:30:47)

Offline

#14 2010-12-19 05:42:27

cain-mi
Plugin Author
Registered: 2005-07-03
Posts: 101
Website

Re: esq_sectionsort - Custom sorting of sections

This is a bit late, but just for those still passing by, beta version of this plugin sent to Kev. Final version will be out in a few of weeks :)

Last edited by cain-mi (2011-01-13 03:49:05)

Offline

#15 2011-01-26 06:14:55

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 468
Website

Re: esq_sectionsort - Custom sorting of sections

cain-mi wrote:

This is a bit late, but just for those still passing by, beta version of this plugin sent to Kev. Final version will be out in a few of weeks :)

Will be waiting ;-)

i wish to have a custom order for the way Categories get displayed. Neither numerical or alphabetical work for my needs.

…. texted postive

Offline

#16 2011-03-10 17:11:04

uli
Moderator
From: Cologne/Köln
Registered: 2006-08-15
Posts: 3,009

Re: esq_sectionsort - Custom sorting of sections

Mitch, are you open for people who get creative with esq_sectionsort?

I think it would be nice if this plugin had a tag to output the contents of the sectionsort field. If people would not need to sort their sections or use one of the work arounds, the plugin could well serve as the custom_field tool for sections.

I imagine we could use the tag in a section list to output e.g. section links’ HTML titles. In countries with umlauts or accented letters TXPs section title field is occupied with the correct, accented notation and thus not available for other uses. It would be pretty cool not to have to install the extra monster smd_query is, just for displaying HTML titles.

In order not to loose the genuine sorting ability, the field might be divided by a special character and the tag would process the field’s sub-sections, like e.g. netcarver’s sed_packed_custom_fields does. But maybe extra fields/tags are easier to realize?

What do you think?

Last edited by uli (2011-03-10 17:16:48)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#17 2011-03-10 23:56:48

cain-mi
Plugin Author
Registered: 2005-07-03
Posts: 101
Website

Re: esq_sectionsort - Custom sorting of sections

Hi Uli,

Jakob suggested something similar for the rewrite I am doing, an extra field that could be used for relevant data or an image or something – I think you guys are spot on.
Could you please explain the HTML title thing in a bit more detail though? I don’t fully understand.

I’ve have a new version out shortly, with the ability to sort categories as well as sections, and an extra meta field which you can hopefully use for your purpose.

Cheers,
cain-mi

Last edited by cain-mi (2013-10-10 05:48:10)

Offline

#18 2011-03-11 12:47:04

uli
Moderator
From: Cologne/Köln
Registered: 2006-08-15
Posts: 3,009

Re: esq_sectionsort - Custom sorting of sections

cain-mi wrote:

Could you please explain the HTML title thing in a bit more detail though? I don’t fully understand.

I know that I only think I sound like I’d be writing English ;) I hope this one’s better than the post before.

Let me take an example from the real world: The “TXP Network Links” menu here in the forum contains a menu item “Textpattern CMS Resources”. (Let’s regard this as a section of textpattern.com) TXP would save that to the title field of the section and make a URL-digestable “textpattern-cms-resources” of it for the name field. Thus all fields TXP natively offers for sections are taken by substantially the same information, so there’s nothing left here for holding any additional data like the menu item’s HTML title “Plugins, etcetera”.

So, in a section list that should be made up dynamically there needed to be an additional field if I wanted to display section specific additional labels or maybe simple HTML titles in order to have something like a comment, a pointer, what kind of information is covered by this “section”.
esq_sectionsort, as it is right now, can as well hold this kind of information and, if it had the tag I’d like it to have, also display it.

A possible scenario could be that – at a later point – I wanted to add further information to the label thing so that it needed to be assembled from static (still section specific) text and dynamic information. I.e. the new label field might hold some words and, in between them, a tag to query something like the number of articles the “section” holds.

Does this make more sense to you?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#19 2011-03-12 18:47:21

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: esq_sectionsort - Custom sorting of sections

now i need exactily that plug-in, but for articles.

anyone?? :)

Offline

#20 2011-03-12 20:18:21

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 746
Website

Re: esq_sectionsort - Custom sorting of sections

jens31 wrote:

now i need exactily that plug-in, but for articles.

as in stm_article_order?

Offline

Board footer

Powered by FluxBB