Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: stm_article_order: Arbitrary sort order for your articles
Thanks uli – I will be testing this one – woohoo
Offline
Re: stm_article_order: Arbitrary sort order for your articles
Thanks Uli – will try on new website I’m developing.
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
#63 2010-10-12 21:47:47
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: stm_article_order: Arbitrary sort order for your articles
Thanks for acknowledgement, emotion, and … thanks :)
The next version will come with section titles, BTW. Important for umlaut and accent countries.
@ all those with an incredible amount of sections or articles: You might want to open the article order tab with all sections collapsed. Just add a rule to your CSS: ul#navigation li.section ul {display: none;}
The reason why I didn’t publish it with that rule is, I didn’t find a way to drop an article into an empty section when you open the page with collapsed sections. This occurs only if you start a stm_ao session with an empty section. So be aware of this strange behavior if you add the above CSS rule to stm_ao.
Last edited by uli (2010-11-25 15:21:58)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: stm_article_order: Arbitrary sort order for your articles
Hello all – I’ve been working on a rebuild of this plugin for a while now. I started out just trying to modify it to suit my needs, but in the end I rebuilt it from the ground up. I still have a few more things to clean up before I’m ready to release it for beta testing.
Some things to note:
— complete UI overhaul
— Allows dropping articles into an empty section
— stores the open/close state of each section via cookies
Sorry for the tease – I’ll post some screenshots soon.
Offline
#65 2010-10-13 00:47:57
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: stm_article_order: Arbitrary sort order for your articles
renobird wrote:
— complete UI overhaul
— Allows dropping articles into an empty section
— stores the open/close state of each section via cookies
Cool! Cool! Cool!
Sorry for the tease
Can completely understand that you.
Last edited by uli (2010-10-13 00:48:57)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#66 2010-10-19 00:28:44
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: stm_article_order: Arbitrary sort order for your articles
v2.2 is there :)
Added:
- Image support: Shows the article’s thumbnail
- Image edit link (click the image)
- Article edit link (click the ID)
- Section titles instead of names (as promised)
Thumbnail support and multiple images in the article image field are mutually exclusive.
ID returned to the beginning of the line as it is now separated by the thumbnail plus a different color (link) plus the italics plus a padding. Seemed to suffice even if there is no image. Can be returned easily to the line’s end by deleting the float rule for em.article_id a
EDIT: In order to make an even appearance, images are scaled down (or even up?) to 80px. In case you don’t see enough image detail: change the line with img.article-img
.
EDIT 2:
Testing it time and again (the last time on a garbled sandbox db with hidden and fixed articles I couldn’t remember anymore) made me think the plugin wouldn’t work satisfactorily. So I deleted the announcement here. Sorry for the hassle, all is well.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#67 2010-10-19 09:15:25
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: stm_article_order: Arbitrary sort order for your articles
The image in the info page actually doesn’t load.
Offline
#68 2010-10-19 17:46:40
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: stm_article_order: Arbitrary sort order for your articles
Ah, there’s actually an image, see it only in the code. I always looked at the help page in FF.
Thanks, won’t make it into the next version.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: stm_article_order: Arbitrary sort order for your articles
uli – loving it :) Thank you
Offline
#70 2010-11-10 12:29:35
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: stm_article_order: Arbitrary sort order for your articles
Thanks, Tye, for the positive feedback, glad you find it useful.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: stm_article_order: Arbitrary sort order for your articles
What does this grey thing mean?
Great plug btw … :)
Last edited by RedFox (2010-11-12 17:37:27)
Offline
#72 2010-11-12 18:23:15
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: stm_article_order: Arbitrary sort order for your articles
If you create your article list dynamically from only one article tag and have an if_different tag in your article form, users can quickly cause a real mess without any separators (just try ;)
Some more info on the dark grey bars taken from my announcement post:
The grey bars are just “fake category headings” without any (active) function aside of separating groups of articles
Left intentionally: Styles for “fake category headings” (look for this phrase in the plugin’s CSS section in order to use those). It’s the darker grey bars in the topmost screenshot. I made some of these from empty hidden articles. They simply remind to keep together blocks of articles of the same category. It’s a workaround but helps improving usability. Very easy to customize because Stanislav assigned IDs to all articles and sections.
Thanks for the edit, btw ;)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline