Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#85 2010-11-16 22:10:34

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

Re: stm_article_order: Arbitrary sort order for your articles

Re-uploaded the file another time: I had forgotten that Matts code required a second article_status injection. Please download once again.


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

Offline

#86 2010-11-18 16:51:42

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

Re: stm_article_order: Arbitrary sort order for your articles

Uli, where in the plug-in CSS do I have to put status_1, status_2, etc … ?

This doesn’t work:

#navigation .section li span .status_4 {
			background: red;
			}

Offline

#87 2010-11-18 17:01:31

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

Re: stm_article_order: Arbitrary sort order for your articles

I think simply .status_4 should work.

And it doesn’t work because of the space after span.

Last edited by uli (2010-11-18 17:02:30)


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

Offline

#88 2011-02-25 21:15:08

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

Re: stm_article_order: Arbitrary sort order for your articles

I always used a customized version of Remora, and just remarked difficulties using the Remora menu on the stm_ao page when created by a vanilla stylesheet: The menu closes before you can reach the second or third list item.

Solution 1: Download the new version:
  • Fixed the CSS-bug with the Vanilla Remora menu
  • Added two links for folding all articles in one go as another means of making the list more manageable. Like before, you can expand single sections by clicking their title bars.

Or, if you don’t want to ruin all your custom stm_ao styles and translations …

Solution 2:
Add the following line to the end of your Remora stylesheet or into the CSS section of the plugin:
#nav li ul {z-index: 999;}

Last edited by uli (2011-03-14 23:14:48)


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

Offline

#89 2011-03-04 12:50:28

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

Re: stm_article_order: Arbitrary sort order for your articles

This one is not rocket science but I never thought of relieving the life of my clients with a front side link to stm_ao, and so might you:

<a href="<txp:site_url />textpattern/index.php?event=stm_article_order#article_<txp:article_id />">Arrange articles</a>

As you see, this will open the stm_ao pane and scroll down to the desired item (if the list is long enough and articles aren’t set to hidden). Goes without saying that it lives in an article form and that I wrapped it in rvm_if_privileged tags. And the following declaration block in textpattern.css for classic marks the clicked item in the list:

#page-stm_article_order .article:target {
	border-right: 20px solid #FFD438;
	}

Last edited by uli (2011-03-04 12:53:00)


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

Offline

#90 2011-03-09 20:27:03

nabrown78
Member
From: Boston, MA, USA
Registered: 2006-10-04
Posts: 291
Website

Re: stm_article_order: Arbitrary sort order for your articles

This plugin is GREAT! Thanks so much for your work on it Uli. If you have a donation button or email address I will be happy to donate for your efforts!

Offline

#91 2011-03-09 21:59:41

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

Re: stm_article_order: Arbitrary sort order for your articles

Nora, I’m glad you like my improvements. That you come here for letting me know is reward enough.
If still you feel like giving something, I’m sure you know organizations with a donation button.

Thanks for stopping by! :)


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

Offline

#92 2011-03-10 16:07:44

nabrown78
Member
From: Boston, MA, USA
Registered: 2006-10-04
Posts: 291
Website

Re: stm_article_order: Arbitrary sort order for your articles

Well Uli — just know that your contribution is sincerely appreciated! I found maybe an interesting little use for stm_article_order, for ordering sections in a nav menu, which I posted in another thread

I know there are other plugins and ways to do it, but I like the interface of stm_article_order, so I thought I’d stick with it for sections too.

Offline

#93 2011-03-10 17:25:43

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

Re: stm_article_order: Arbitrary sort order for your articles

The longer I think about it the more I like the idea of having one tab for sorting everything! And this can probably be extended for sorting categories, too.

The resort of having another means of sorting sections made me post an idea for esq_sectiosort I had weeks ago: custom fields for sections (again converting something ;)

Last edited by uli (2011-03-10 17:27:40)


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

Offline

#94 2011-03-14 16:13:22

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

Re: stm_article_order: Arbitrary sort order for your articles

The longer I think about it the more I like the idea of having one tab for sorting everything! And this can probably be extended for sorting categories, too.

+1

nice plug-in by the way..

Last edited by jens31 (2011-03-14 16:13:50)

Offline

#95 2011-03-14 17:12:44

phuture303
Member
Registered: 2008-09-14
Posts: 127

Re: stm_article_order: Arbitrary sort order for your articles

The longer I think about it the more I like the idea of having one tab for sorting everything! And this can probably be extended for sorting categories, too.

and another +1!

I’d like to have this for sorting the links (for each link-category, like sorting the articles via drag’n‘drop per section) – today this is not very comfortable :-)

Offline

#96 2011-03-14 17:40:52

phuture303
Member
Registered: 2008-09-14
Posts: 127

Re: stm_article_order: Arbitrary sort order for your articles

I have just another question: Actually, the newest article becomes the first article in the backend of stm_ao – like:

ID 35 article 3 in section A
ID 15 article 2 in section A
ID 10 Article 1 in section A

Is is possible that the “automatic positioning” is the other way round? Like:

ID 10 Article 1 in section A
ID 15 article 2 in section A
ID 35 article 3 in section A

This would help me a lot!

Thanks in advance
David

Last edited by phuture303 (2011-03-14 17:41:17)

Offline

Board footer

Powered by FluxBB