Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2014-12-03 11:12:14

anteante
New Member
Registered: 2012-04-11
Posts: 9

Re: esq_sectionsort - Custom sorting of sections

Thanks for the fast reply cain-mi,

I am using the default (classic) admin theme, and the sectionsort in txp_section is shown filled out correctly. The only two other plugins I have running are bot_image_upload and rss_admin_db_manager – temporarily disabling them did not help.

After you’ve mentioned the number of sections (I’m currently using 14), I reckon it’s the VARCHAR/SMALLINT issue Jacob was mentioning in this thread earlier on, so section sort in the backend is being displayed

1
10
11
12
13
14
2
3
4

I did read this before, and made sure to install the updated version following your link (2.01). MySQL shows tinyint(4) for the sectionsort field, but the problem seems to persist in the backend.

Last edited by anteante (2014-12-03 11:22:34)

Offline

#38 2014-12-03 12:41:19

radneck
Plugin Author
Registered: 2005-07-03
Posts: 109

Re: esq_sectionsort - Custom sorting of sections

Hi anteante,

It does possibly have to do with that issue.

What type is the sectionsort column?
Also what version of PHP are you running?

I think I know what the issue is.
I’ll work on a fix and get back shortly.

Offline

#39 2014-12-03 13:17:21

anteante
New Member
Registered: 2012-04-11
Posts: 9

Re: esq_sectionsort - Custom sorting of sections

The sectionsort column in my DB reads tinyint(4) as type.
Running on PHP Version 5.5.18 and MySQL v5.6.21

Offline

#40 2014-12-04 04:10:15

radneck
Plugin Author
Registered: 2005-07-03
Posts: 109

Re: esq_sectionsort - Custom sorting of sections

Hi anteante,

I’ve put out an update for this plugin that properly handles the sort order numerically on admin client side.

This was related to Jacob’s issue, which was fixed only on the front-end it seems.

Update to the latest version and let me know how you go.

Offline

#41 2014-12-04 08:09:53

anteante
New Member
Registered: 2012-04-11
Posts: 9

Re: esq_sectionsort - Custom sorting of sections

Thanks so much for the super-fast fix cain-mi, you’re a legend!

I just updated to v2.02 on two TXP installations, and it works like a charm …

Offline

#42 2014-12-04 08:11:36

radneck
Plugin Author
Registered: 2005-07-03
Posts: 109

Re: esq_sectionsort - Custom sorting of sections

Glad I could help :)

Offline

#43 2015-01-23 20:12:16

photonomad
Member
Registered: 2005-09-10
Posts: 289
Website

Re: esq_sectionsort - Custom sorting of sections

cain-mi, The site with the compiled plugin code for esq_sectionsort is down right now. Not sure if it’s just a temporary thing, but wanted to let you know. http://popularsizzle.com.au/txp_plugins/esq_sectionsort

Offline

#44 2015-01-23 21:48:01

radneck
Plugin Author
Registered: 2005-07-03
Posts: 109

Re: esq_sectionsort - Custom sorting of sections

Hi photonomad,

Thanks for letting me know. Looks like Apache has been down for the last 5 hours.

Should be back up and running now.
For future reference, you can google the URL and pull it down from Google Cache if the site is down.

Cheers :)

Offline

#45 2015-01-23 22:29:01

photonomad
Member
Registered: 2005-09-10
Posts: 289
Website

Re: esq_sectionsort - Custom sorting of sections

Thanks! :)

Offline

#46 2016-05-07 14:34:08

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,241

Re: esq_sectionsort - Custom sorting of sections

The plugin’s category sorting feature is broken in Textpattern 4.6. For the necessary fixes, see here.


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

Offline

#47 2016-10-03 14:25:26

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: esq_sectionsort - Custom sorting of sections

uli wrote #299014:

The plugin’s category sorting feature is broken in Textpattern 4.6. For the necessary fixes, see here.

Thanks Uli, unfortunately I can’t make it work, anybody else used this patch?


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#48 2016-10-03 15:41:54

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,241

Re: esq_sectionsort - Custom sorting of sections

Maybe there are several versions of the un-patched plugin floating. GugUser likewise didn’t succeed in patching his version, so I posted mine (incl. the fixes), which he reported to be working.


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

Offline

Board footer

Powered by FluxBB