Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2007-09-19 07:49:33
- gerhard01
- Plugin Author
- Registered: 2006-12-07
- Posts: 108
Re: glz_custom_fields
gerhard wrote:
* help in multiple languages (any translators wanting to offer for this?)
I could help out with a German translation.
Offline
#17 2007-09-19 09:49:38
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: glz_custom_fields
gerhard wrote:
* help in multiple languages (any translators wanting to offer for this?)
Can be done in greek as well.
Let me know, in which format, way.
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#18 2007-09-19 17:05:03
- Logoleptic
- Plugin Author

- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: glz_custom_fields
Gerhard, you might want to be more specific in your original post about exactly how people can go about paying you for this miraculous plugin. ;-)
(Yes, I found it. I just don’t want anyone else to have to hunt.)
I don’t have use for this myself just yet, but I recently wrapped up work with a client that may need exactly what you’ve done as their site expands. Good stuff.
Offline
#19 2007-09-20 10:51:45
- milosevic
- Member

- From: Madrid, Spain
- Registered: 2005-09-19
- Posts: 390
Re: glz_custom_fields
Hi Gerhard,
Good work, nice plugin! If you need spanish translation, I can do it.
<txp:rocks/>
Offline
Re: glz_custom_fields
Hi gerhard,
how I can obtain the value of checbox that comprises of custom_1_set. For example, if custom Set has 4 checkbox and is 2 checked, how I obtain the value of each one separately?
How it is used the tag conditional for custom fields for custom set of checkbox?
Thanks.
Offline
#21 2007-09-21 01:11:02
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
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
Re: glz_custom_fields
Just chime in to suggest that would be great if any translation effort is also made MLP compatible.
Offline
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
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
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: 707
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
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: 707
Re: glz_custom_fields
Nice to know – thanks.
Offline
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