Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#73 2011-11-12 07:54:41
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: adi_matrix – Multi-article update tabs
Mind-blowing – just like THE MATRIX !!!
No excuse anymore for users not to get organised ;)
Offline
#74 2011-11-17 17:36:29
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: adi_matrix – Multi-article update tabs
Hi Adi,
would it be possible to do something about longer text being cut off?
I know this is a limitation with custom fields in general, which has always annoyed me.
Could the entire text be displayed in a tool-tip style bubble on hover?
It would be perfect, if it was also editable in that bubble, but just being able to see it all, would make a real difference.
I have often wondered, whether custom fields could be made auto-expanding also in the write screen. At the moment they are limited to a single line string of 256 chars, I think.
Offline
#75 2011-11-18 22:20:59
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_matrix – Multi-article update tabs
masa wrote:
would it be possible to do something about longer text being cut off?
I know this is a limitation with custom fields in general, which has always annoyed me.
Yes, I know what you mean.
Could the entire text be displayed in a tool-tip style bubble on hover?
I reckon a tooltip is definitely achievable, I’ll look into it.
Offline
#76 2011-11-20 10:52:40
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: adi_matrix – Multi-article update tabs
gomedia wrote:
I reckon a tooltip is definitely achievable, I’ll look into it.
Thanks Adi!
Offline
Re: adi_matrix – Multi-article update tabs
I was getting an “Article update failed” message when trying to save some changes. I tracked it down to a single quote '
on custom field.
A possible solution to this issue:
On function adi_matrix_update_article
, circa line 525:
foreach($adi_matrix_cfs as $i => $cf_name) {
$custom_x = "custom_{$i}";
if (isset($data[$custom_x]))
- $cfq[] = "custom_$i = '".$data[$custom_x]."'";
+ $cfq[] = "custom_$i = '".doSlash($data[$custom_x])."'";
}
Hopefully, that should be enough.
Offline
#78 2011-12-09 21:26:40
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_matrix – Multi-article update tabs
Hi Julián – well spotted & well fixed. I’ll include it in the next release.
Offline
#79 2011-12-10 16:00:42
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: adi_matrix – Multi-article update tabs
Hey, I’d like to double the (a most polite) bump… glz 11+?
question by mrdale a few months ago. This plugin would be perfect for me when supporting more than 10 custom fields :-) Any chances in the near future?
Have a nice weekend!
David
Offline
#80 2011-12-10 22:08:11
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_matrix – Multi-article update tabs
phuture303 wrote:
… Any chances in the near future? …
Yes, it probably is time to release the glz_cfs beta version properly. Leave it with me & I’ll do some final checks.
Offline
#81 2011-12-12 01:14:42
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_matrix – Multi-article update tabs
adi_matrix version 1.0 is now available for download:
- enhancement: glz_custom_fields compatibility
- enhancement: force numeric sort (for jpdupont)
- enhancement: sort by Expires timestamp
- enhancement: article catagories (for maniqui)
- enhancement: option to switch on horizontal scroll (for mrdale)
- fixed: MySQL 4.1 compatibility (thanks colak)
- fixed: error if custom field contains single quote (thanks maniqui)
- fixed: superfluous “Logged in user” wildcard option in matrix appearance
- now uses lifecycle events
I’m hoping that adi_matrix & glz_custom_fields will play nicely together but let me know how you get on. Please note that I haven’t been able to implement the radio button reset function.
The horizontal scroll option is an attempt to cope with wide matrix tabs. It can be enabled on a per matrix basis. Thank you mrdale for the suggestion.
Thanks to everyone who’s been testing this new release for me. It’s very much appreciated. Don’t panic if you get some error messages on install (depending on which beta you’ve got installed) – they should appear only once and can be ignored.
maniqui & masa – I haven’t forgotten your other requests!
Offline
#82 2011-12-12 18:16:25
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: adi_matrix – Multi-article update tabs
Wow, incredible! Just tested the plugin on a local tryout-installation, everything seems to work fine for me. I’m deeply impressed and thank you so much!
David
Offline
#83 2011-12-14 21:17:21
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: adi_matrix – Multi-article update tabs
Hi Adi,
first of all let me say the more I use this plugin the more I love it,
I’ve just istalled the latest version (I never upgraded after v 0.1) and the improvements are amazing.
For the record I’ve been testing it with glz_custom and all seems to be working flawlessly. I love especially the fact that now checkboxes are rendered as checkboxes, multiselects as multiselects etc.
gomedia wrote:
maniqui & masa – I haven’t forgotten your other requests!
So multiple sections support is a possibility? That would be wonderful, thanks again for a great plugin!
Offline
Re: adi_matrix – Multi-article update tabs
gomedia wrote:
enhancement: glz_custom_fields compatibility
As I wasn’t noticing any kind of compatibility after upgrading to adi_matrix v1.0, I took a look at the plugin’s code to see how the presence (or not) of glz_c_f was being tested.
I found:
$glz_cfs_installed = safe_row("version","txp_plugin","status = 1 AND name='glz_custom_fields'");
That explained why adi_matrix and glz_c_f weren’t playing nice in my TXP install: I’m running plugins from filesystem (plugin_cache_dir), so this kind of test always return false on my install.
Adi, could it be possible for you to add another test to check if glz_c_f is present?
I’m thinking of something like:
$glz_cfs_installed = safe_row("version","txp_plugin","status = 1 AND name='glz_custom_fields'") || function_exists("some_glz_c_f_function");
I’m proposing an OR test using function_exists
, but may there be a more bullet-proof of testing the presence of a particular plugin (not relying on the DB and not relying on some particular function)?
Offline