Textpattern Forum

You are not logged in. Register | Login | Help

#101 2012-01-06 22:11:25

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,041
Website

Re: adi_matrix – Multi-article update tabs

OK, This plugin is fast becoming a staple for me and my installs. Here are a couple of wish-list items for “the Australian”.

  1. a page class so that you can style multiple adi_matrix pages and their items.
  2. a frozen title pane, so you can still see the titles when you scroll.
  3. multi-selects in the “article selection” area so you could have multiple selections and/or categories.
  4. custom fields in the “article selection” area
  5. sort results by more stuff, or…
  6. table sorting might be relatively easy.
  7. a mechanism to enable tinyMCE for textarea custom fields.

I also want a pony.

Offline

#102 2012-01-06 22:41:51

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 840
Website

Re: adi_matrix – Multi-article update tabs

mrdale wrote:

I also want a pony.

Confucius, he say: “If you want a puppy for Christmas, start by asking for a horse …”

I’m suffering the post-holiday slump at he moment but your requests have be noted. Be gentle, I’ll find first gear again soon. Really need to do some client work first. You won’t be forgotten.

Offline

#103 2012-01-07 00:05:09

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,041
Website

Re: adi_matrix – Multi-article update tabs

gomedia wrote: Really need to do some client work first. You won’t be forgotten.

Understood! Really just wanted to formalize my thoughts so that I could forget about it for a while. Thanks again

Last edited by mrdale (2012-01-07 00:05:21)

Offline

#104 2012-01-07 00:23:25

maniqui
Moderator
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 2,967
Website

Re: adi_matrix – Multi-article update tabs

a frozen title pane, so you can still see the titles when you scroll.

This certainly would be nice, but I think it would be a hell difficult to achieve. That kind of functionality is not available for HTML tables, afaik, so it will need some kind of trickery using two tables, and always setting the height of each matching row (on each table), so both tables are aligned.
Or is there already any HTML5/CSS3 trick to achieve this?

A quick google search displays some solutions.

This one seems to be the really nice one: fixedheadertable.com/


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#105 2012-05-23 04:13:32

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 840
Website

Re: adi_matrix – Multi-article update tabs

Version 1.1 now available for download. Loadsastuff:

  • 1.1
    • code tidy up (thanks gocom)
    • enhancement: matrix tab optional footer
    • enhancement: matrix tab column sorting
    • enhancement: “Any parent” & “Any child” category wildcards
    • enhancement: posted timestamp (& reset)
    • enhancement: expires timestamp
    • enhancement: multi-section select (for maniqui & mrdale)
    • enhancement: input field tooltips (for masa)
    • for mrdale:
      • <body class=“adi_matrix”> on all matrix tabs
      • another attempt at horizontal scrolling, this time with a fixed article title column
      • more sorting options
      • TinyMCE support for glz_custom_field textareas
      • option to include descendent categories
    • fixed: checkboxes again! (thanks redbot)
    • changed: “Nothing to do” message changed to “No articles modified”
    • changed: admin tab name/title to “Article Matrix”/“Article Matrix Admin”
  • 1.0.1 (not officially released)
    • fixed: completely unticked checkboxes not updated (thanks redbot)
    • fixed: detect glz_custom_fields in plugin cache (thanks gocom)

Offline

#106 2012-05-23 09:44:02

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,713
Website

Re: adi_matrix – Multi-article update tabs

Nice one, Adi. Just keeps getting better.

A minor request for the next version, if I may be so bold. Instead of assuming that the lifecycle event fires on install, would it be possible to call the installation routine if you find the table’s missing when visiting the adi_matrix_admin page, instead of returning the ‘not installed’ message?

The reason is twofold:

  1. If someone puts adi_matrix in the cache dir, the lifecycle event doesn’t fire.
  2. The new version of the plugin composer I’m working on has the ability to install plugins directly from the composer’s panel (skipping the preview step, btw) and you can choose to inhibit the lifecycle event on install, as well as have the plugin auto-enable itself.

In both situations, there’s potential for the plugin to be left in a half-installed limbo state with no way (that I can find: please educate me if I’ve missed something) of getting the table created, besides uninstalling and reinstalling conventionally (or re-uploading with the composer’s ‘run post-install lifecycle’ radio button switched on). Having the plugin do a check-and-install-if-not-installed when the tab is visited gives both groups of people a get-out clause so they can enjoy the plugin in all its glory.

Thanks, and keep up the great work.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#107 2012-05-23 14:17:52

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,041
Website

Re: adi_matrix – Multi-article update tabs

Yeah. This plugin just keeps on improving. I hear the next version will mow your lawn and bring you a beer.

adi_matrix + glz_custom_fields = shoehorn(custom content types).txp

Thanks Adi

Offline

#108 2012-05-23 15:40:57

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,396

Re: adi_matrix – Multi-article update tabs

Wow Adi,
even if I couldn’t offer the testing support I wished to and didn’t still actually have the opportunity to install the new version I want to thank you again for this plugin. I love it (and it keeps to get better)!

Offline

#109 2012-05-24 05:01:45

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 840
Website

Re: adi_matrix – Multi-article update tabs

Bloke, mrdale, redbot – glad you like it!

Bloke wrote:

A minor request for the next version, if I may be so bold. Instead of assuming that the lifecycle event fires on install, would it be possible to call the installation routine if you find the table’s missing when visiting the adi_matrix_admin page, instead of returning the ‘not installed’ message?

That’s how I used to do it … but then lifecycle events came along & gradually I’ve been changing all my plugins to use them!

The reason is twofold:

  1. If someone puts adi_matrix in the cache dir, the lifecycle event doesn’t fire.
  2. The new version of the plugin composer I’m working on has the ability to install plugins directly from the composer’s panel (skipping the preview step, btw) and you can choose to inhibit the lifecycle event on install, as well as have the plugin auto-enable itself.

Forgive the naive/ignorant/idealistic question but isn’t the plugin cache directory for developing plugins, rather than for production use?

In both situations, there’s potential for the plugin to be left in a half-installed limbo state with no way (that I can find: please educate me if I’ve missed something) of getting the table created, besides uninstalling and reinstalling conventionally (or re-uploading with the composer’s ‘run post-install lifecycle’ radio button switched on). Having the plugin do a check-and-install-if-not-installed when the tab is visited gives both groups of people a get-out clause so they can enjoy the plugin in all its glory.

Nil desperandum! The plugin does detect if it’s not “installed” & should automatically add an extra entry under the Extensions tab called “adi_matrix options”. In there is the Textpack stuff (what you’d normally see in the plugin options page) as well as an install button. This is how I get it to install/uninstall when I’m developing from the plugin cache. Would this suitable for your purposes?

Offline

#110 2012-05-24 10:50:57

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,713
Website

Re: adi_matrix – Multi-article update tabs

gomedia wrote:

isn’t the plugin cache directory for developing plugins, rather than for production use?

In theory yes. But maniqui thinks otherwise :-) I don’t think there’s any inherent problem with running cache_dir plugins on a live site. Might be wrong.

The plugin does detect if it’s not “installed” & should automatically add an extra entry under the Extensions tab called “adi_matrix options”.

Hmmm, I don’t see that, hence my (probably ill-conceived) question. On the Extensions tab all I see is Article Matrix and when I click it I get a “Not Installed” message as it tries to run ?event=adi_matrix_admin. The Options page takes me to ?event=plugin_prefs.adi_matrix where I see “adi_matrix Not installed”. Might just be me not using my eyes properly.

Last edited by Bloke (2012-05-24 10:56:09)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB