Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
stm_article_order: Arbitrary sort order for your articles
IMPORTANT NOTICE:
- Update 14/02/2021: A patch for txp 4.8.5 and PHP 8 has been added but is not yet in Uli’s repo. See this post for more info.
- This plugin has been improved by Uli. To get a read about his changes see post #59.
- springworks has added a separate panel for hiding any desired section. (Works for TXP 4.5+) His version, which is the most recent one ATM and incorporates all previous amendments, can be found here.
Original post
With my new Textpattern plugin you can manipulate the order of your articles and put them in different sections – by simply using Drag & Drop!
Installation
You should use at least Textpattern 4.0.5 for working with this plugin.
After activating the plugin, you will see a new admin tab at “Presentation » Article Order”. Using this tool, you can manipulate the navigation of your website with ease!
As a last step of the installation you’ll have to add the follwing attribute to your txp:article tag:
<txp:article sort="position asc" />
For “non-blog-sites” I also recommend the rdt_dynamenus plugin. Using this, you should add the following attribute:
<txp:rdt_article_menu sortby="position" sortdir="asc" />
Last edited by uli (2015-09-15 14:25:50)
Offline
Re: stm_article_order: Arbitrary sort order for your articles
link to the plugin would be a good idea
Offline
Re: stm_article_order: Arbitrary sort order for your articles
Sorry
You can download the Plugin stm_article_order
Offline
Re: stm_article_order: Arbitrary sort order for your articles
ahh im playing with it now! very funky. categories doesn’t work for me (assuming its because im using rss_unlimited_categories plugin) but thats ok. nice job!
Offline
Re: stm_article_order: Arbitrary sort order for your articles
No, I don’t think this first version has any “support” for categories…
bludrop studios .::. Creative Expression
Offline
Re: stm_article_order: Arbitrary sort order for your articles
This is very useful, takes the hassle out of editing the time stamps when certain articles have to appear in a specific order.
Good job.
/Christian
Offline
Re: stm_article_order: Arbitrary sort order for your articles
Great! Many thanks!
Offline
Re: stm_article_order: Arbitrary sort order for your articles
This plugin is g-r-e-a-t!!! Why don’t include some kind of pagination in the next releases? I’ve got more nearly 5.000 articles on one of my sites: i didn’t test the plugin there but i fear it would take soooo long to load…
Happily served with Txp: Strampelli.net, Brain Essence, NicolaTranfaglia.com…
Offline
Re: stm_article_order: Arbitrary sort order for your articles
Hi monsta,
a question: I would like that and plugin used tag ol
instead of ul
for #navigation
, I have modified plugin but I have not obtained good results. ¿It’s possible?
Great plugin, thanks.
Offline
#10 2007-09-18 18:56:38
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: stm_article_order: Arbitrary sort order for your articles
Fantastic plugin. The only problem I’ve experienced is that the arrows shown next to section names in screenshots show up as question marks for me. Some kind of minor problem with character encoding, perhaps?
Vittorio also makes a good point. Although I haven’t tried this with anything close to 5000 articles, on a site with approx. 100 articles its already getting a little awkward to use.
Rigel wrote:
I would like that and plugin used tag ol instead of ul for #navigation, I have modified plugin but I have not obtained good results. ¿It’s possible?
This plugin isn’t directly responsible for creating navigation, only for giving you a new way to sort articles. If you’re having trouble with the rdt_dynamenus plugin that this plugin’s author recommended, you might try asking your question in the rdt_dynamenus forum thread.
Offline
Re: stm_article_order: Arbitrary sort order for your articles
Logoleptic, I said to the source code of the page of plugin. He would be useful to know that position occupies each article and to use the tag ol
solves it.
Thansks.
Offline
#12 2007-09-18 23:09:27
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: stm_article_order: Arbitrary sort order for your articles
Ah, my mistake. Sorry for the misunderstanding, Rigel.
Offline