Textpattern Forum

You are not logged in. Register | Login | Help

#21 2007-09-21 01:11:02

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

Re: glz_custom_fields

Gerhard,
I must say this plugin works very well, I’m trying it in various scenarios and always behaves correctly with zero problems.
I’ve three minor suggestions:
1) to list the values for a given field in the same order in which they are entered by the user in the extensions tab (now they are sorted alphabetically)
2) when a field has only one checkbox, avoid putting the name of the only possible value next to the checkbox. Now it looks a little redundant because the name of the field is already describing the meaning of the checkbox.
3) In a previous post I (wrongly) complained about the <txp:glz_custom_fields_article /> tag outputting all articles if no search query was specified.
Well… I thought about it and came to the conclusion that your answer was completely right from a logical point of view but maybe not always right from a user perspective.
Imagine a site with hundreds of articles (keep in mind that an “article” can be also a product description or a specific item in a catalog) and a search page with some selects and no default values specified.
If I press the submit button without making a choice, in some cases I expect to receive a warning like “please choose a search criteria”, not to have a list of hundreds of items ordered alphabetically (though I know this is not always the case).
So why not create an attribute similar to no_results which redirects to a specified section if no search values are specified? Something like no_values (sorry I can’t find a better name at the moment).
I hope this makes at least some sense.
cheers

Last edited by redbot (2007-09-21 01:12:18)

Offline

#22 2007-09-21 19:36:20

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

Re: glz_custom_fields

Just chime in to suggest that would be great if any translation effort is also made MLP compatible.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#23 2007-09-21 20:49:15

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: glz_custom_fields

Hm… I’m guessing – is it free? $)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#24 2007-09-21 21:53:04

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

Re: glz_custom_fields

While it’s now available free, estupido! I’d suggest a donation of some kind, if this plugin is anywhere as useful to you as it is to me. It will encourage future development.

I’m selfish. There are a bunch of 2.0 features I could use sooner than later. :)

Last edited by mrdale (2007-09-22 02:12:04)

Offline

#25 2007-09-21 22:12:28

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

Re: glz_custom_fields

mrdale wrote:

While it’s now available free, I’d suggest a donation of some kind, if this plugin is anywhere as useful to you as it is to me. It will encourage future development.

I’m selfish. There are a bunch of 2.0 features I could use sooner than later. :)

i’ve already donated but where is it available for free? i don’t see it anywhere (gerhards blog, textpattern.org, in this thread)

Last edited by iblastoff (2007-09-21 22:12:49)

Offline

#26 2007-09-23 00:51:06

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 700

Re: glz_custom_fields

Gerhard
I’ve noticed that you check for the presence of jQuery and use it several times, but at no point do I see you actively call the script. Is jQuery included and available by default to plugins on the admin side?

Offline

#27 2007-09-23 01:17:31

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

Re: glz_custom_fields

rsilletti wrote:

Gerhard
I’ve noticed that you check for the presence of jQuery and use it several times, but at no point do I see you actively call the script. Is jQuery included and available by default to plugins on the admin side?

jquery has been included with txp since the release of 4.0.5

Last edited by iblastoff (2007-09-23 01:18:15)

Offline

#28 2007-09-23 01:33:36

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 700

Re: glz_custom_fields

Nice to know – thanks.

Offline

#29 2007-09-25 11:11:53

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

Re: glz_custom_fields

hey gerhard, not a huge deal but perhaps adding an error check for attempting to add duplicate values?
aka if you choose radio, and attempt to use values : “test, test, test” on separate lines, it spits this message out at the top:

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘(‘custom_3_set’,‘test’)’ at line 4 INSERT INTO `custom_fields` (`name`,`value`) VALUES (‘custom_3_set’,‘test’)(‘custom_3_set’,‘test’) in /mnt/w1010/d31/s24/b02b5cfd/www/bumblesea.com/textpattern/lib/txplib_db.php on line 84

seems rare anyone would attempt to use same values (even by mistake) but nevertheless!

Offline

#30 2007-09-25 12:19:54

kevinmcdougall
Member
Registered: 2007-02-08
Posts: 55

Re: glz_custom_fields

I’m wondering if there is a way to use this (or any other plugin) to sort by custom field, when that custom field contains a date?

I intended on using zem_event, but ran into some problems when attempting to create a navigable list of event categories and display events in category context.

Any help would be greatly appreciated.

Offline

Board footer

Powered by FluxBB