Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-26 18:57:19

monsta
Archived Plugin Author
From: Nierstein
Registered: 2006-12-01
Posts: 3
Website

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

#2 2007-08-26 19:05:26

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: stm_article_order: Arbitrary sort order for your articles

link to the plugin would be a good idea

Offline

#3 2007-08-26 19:09:03

monsta
Archived Plugin Author
From: Nierstein
Registered: 2006-12-01
Posts: 3
Website

Re: stm_article_order: Arbitrary sort order for your articles

Sorry

You can download the Plugin stm_article_order

Offline

#4 2007-08-26 20:28:14

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

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

#5 2007-08-27 03:39:03

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

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

#6 2007-08-28 10:14:19

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

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

#7 2007-08-28 19:35:20

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: stm_article_order: Arbitrary sort order for your articles

Great! Many thanks!

Offline

#8 2007-09-02 17:16:14

vittorio
Member
From: Roma caput mundi
Registered: 2006-02-01
Posts: 122
Website

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

#9 2007-09-18 18:39:21

Rigel
Member
From: España
Registered: 2005-09-02
Posts: 99
Website

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

#11 2007-09-18 22:21:12

Rigel
Member
From: España
Registered: 2005-09-02
Posts: 99
Website

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

Board footer

Powered by FluxBB