Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2010-11-12 18:27:39

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: stm_article_order: Arbitrary sort order for your articles

Just installed this plugin out of curiosity. If an article doesn’t have an image the article order tab still tries to display a thumbnail.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#74 2010-11-12 18:31:40

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

Re: stm_article_order: Arbitrary sort order for your articles

Yup. The reason is I never learned any programming language. So the image support is hard coded and moreover restricted to only jpg’s.

The next version will come with a cookie supported toggle switch for images jpg’s ;) btw.

Last edited by uli (2010-11-12 22:08:12)


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

Offline

#75 2010-11-12 18:36:48

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

Re: stm_article_order: Arbitrary sort order for your articles

Oh, Matt (or anybody else as well), in case you know how to cure the image thing: please post here! Like I said in #59 “we should develop stm_article_order in a collaboration”


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

Offline

#76 2010-11-12 20:32:27

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

Re: stm_article_order: Arbitrary sort order for your articles

Thanks … all is well now!

Especially after I put this in the plug-in CCS

em.article_id a {
display: inline-block !important;
float: left;
width: 20px; /* redfox > lining up article titles straight to the left! */
}

:)

Last edited by RedFox (2010-11-12 20:32:51)

Offline

#77 2010-11-12 22:25:16

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: stm_article_order: Arbitrary sort order for your articles

uli wrote:

Oh, Matt (or anybody else as well), in case you know how to cure the image thing: please post here! Like I said in #59 “we should develop stm_article_order in a collaboration”

I can fix it but how do you want me to contribute? Email you the code change or is there a repository or submitting changes?

Edit: Although it sounds like renobird is rewriting it. I assume his would be released as a new plugin with his prefix instead of the stm one?

Last edited by MattD (2010-11-12 22:34:50)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#78 2010-11-12 22:50:03

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

Re: stm_article_order: Arbitrary sort order for your articles

MattD wrote:

Email you the code change

Yes, please do so. Thanks, Matt!
I’m looking forward to dismantling your code :) I looked at the way redbot did it in bot_show_image, but couldn’t get my head around integrating it.


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

Offline

#79 2010-11-12 23:14:44

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

Re: stm_article_order: Arbitrary sort order for your articles

RedFox wrote:

[…] Especially after I put this in the plug-in CCS […]

Thanks for your contribution!
I realized this CSS flaw but didn’t care at the end of the day :)


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

Offline

#80 2010-11-13 16:00:49

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: stm_article_order: Arbitrary sort order for your articles

MattD wrote:

Edit: Although it sounds like renobird is rewriting it. I assume his would be released as a new plugin with his prefix instead of the stm one?

Hey Matt – you are correct – I’m basically rewriting the plugin. I’m a bit buried with other projects at the moment, but I’d like to get back to it shortly. In the meantime I’m sure any progress on stm_article_order would be much appreciated.

Offline

#81 2010-11-13 16:03:48

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: stm_article_order: Arbitrary sort order for your articles

I sent Uli a way to check for an article image. It doesn’t fix the file extension issue since I think that would require another query against the images table but it’s an improvement.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#82 2010-11-16 20:27:43

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

Re: stm_article_order: Arbitrary sort order for your articles

Version 0.2.3 released with some improvements: see #59.


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

Offline

#83 2010-11-16 20:47:13

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

Re: stm_article_order: Arbitrary sort order for your articles

You’re great Uli!

Is it possible to give articles which are ‘hidden’ (draft, etc!) another background-color?

Last edited by RedFox (2010-11-16 20:51:21)

Offline

#84 2010-11-16 21:08:50

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

Re: stm_article_order: Arbitrary sort order for your articles

That’s been an easy one, phew. I left the version number and just re-uploaded the file.


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

Offline

Board footer

Powered by FluxBB