Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#496 2009-09-29 15:55:11

woof
Member
Registered: 2004-08-01
Posts: 128

Re: glz_custom_fields

This new version is really amazing – textarea, position sorting, datepicker – wow! too much goodness all at once!

I’m having trouble filtering by a custom field using txp:article_custom when the field I want to use is set up as type: checkbox and more than one value is checked.

eg: custom field name: “Tour_Scope”
Type: checkbox
Values: “local”, “national”, “international”

<txp:article_custom Tour_Scope="local" />
will return all articles where only local is checked but not ones where local and national are both checked

Is there any way around this?

Thanks

Offline

#497 2009-09-29 16:03:00

thermofunk
New Member
From: Argentina
Registered: 2009-03-12
Posts: 9
Website

Re: glz_custom_fields

gerhard dijo:

What do you think, shall we remove this tag altogether and convert the plugin to admin only?

Hi Gerhard, I’m using the glz_custom_fields_search_form tag in my site and it is very useful for my visitors to find hotels, hostels, campings, bed & breakfast, etc. in different locations, with 1-5 stars, etc.

I’ve already installed the wet_haystack plugin to fix these searches but isn’t working :( (I think here the problem is I’m using the MLP plugin, but I’m not sure…) Anyway, with this plugin I can’t use selects, checkboxes, etc. in my search form as I use to with previous versions of the glz plugin…

Apart from this problem the rest works great, thanks!

Offline

#498 2009-09-29 17:16:15

woof
Member
Registered: 2004-08-01
Posts: 128

Re: glz_custom_fields

Re my filtering prob above – solved it by using smd_if in the list form. Sorry for the interjection. Carry on like it never happened :-)

Offline

#499 2009-09-29 17:20:04

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: glz_custom_fields

Very cool. If you do feel like being an over-acheiver, I’d like to see…
  1. sed_section_fields functionality
  2. trigger words

Offline

#500 2009-09-29 17:36:35

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: glz_custom_fields

The search form in Custom_fields is really usefull! Is one of the best parts of the plugin I dont think you should remove it. It could be improved, or if there is another plugin that can do something like it.

Offline

#501 2009-09-29 17:43:53

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

Re: glz_custom_fields

mrdale wrote:

Very cool. If you do feel like being an over-acheiver, I’d like to see…

  1. sed_section_fields functionality
  2. trigger words

yep. waiting patiently (re: nearly 2 years lol) for trigger words too. thanks for the new 4.2.0 compatibility though!

Offline

#502 2009-09-29 17:47:55

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: glz_custom_fields

Thanks for the update gerhard – brilliant!

Offline

#503 2009-09-29 18:40:43

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: glz_custom_fields

What do you mean with trigger words?

Offline

#504 2009-09-29 18:45:26

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: glz_custom_fields

masa wrote:

Another question…

the plugin allows the use of any characters, spaces in cf names. Are those now safe to use?

I’d also like to know the answer to this.

Offline

#505 2009-09-29 18:52:00

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: glz_custom_fields

mlarino wrote:

What do you mean with trigger words?

Scroll down in this post to Features for v1.3.

Trigger Words will allow for e.g. automatically generated drop-down selects of all your categories to choose from.

Offline

#506 2009-09-29 18:59:04

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: glz_custom_fields

I have a new toy!
Can’t stop having fun with it!
Thanks Gerhard, a lot!!!

Yay, love textarea custom fields!

Pascal

Offline

#507 2009-09-29 19:43:00

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: glz_custom_fields

Thanks, Gerhard! This is every bit as awesome as everyone else has said, if not more.

Is there currently any way to set the datepicker’s date format? My data uses isodate format with hyphens. The hyphens aren’t as important as the yyyy mm dd order. Any ideas?

Thank you again!

Offline

#508 2009-09-29 19:52:40

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: glz_custom_fields

Seeing an error as noted here. Seems the culprit is this line in mem_moderation_article which refers to glz_custom_fields:

// allow glz to replace the custom fields
	if ($mem_glz_custom_fields_plugin)
	{
		mem_glz_custom_fields_replace($data);
	}

Offline

#509 2009-09-29 19:54:59

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: glz_custom_fields

Also see an error in the sidebar under “Advanced options” in the Write tab:

Notice: Undefined variable: custom_11_set in /users/home/me/domains/domain.com/web/public/v2/textpattern/include/txp_article.php on line 478

I had a custom_11 set defined but deleted it before installing the latest version of glz_.

Offline

#510 2009-09-30 02:20:47

radneck
Plugin Author
Registered: 2005-07-03
Posts: 109

Re: glz_custom_fields

johnstephens wrote:

maniqui wrote:
bq. Wouldn’t like to ruin your dreams, mlarino, but what makes you assume that Gerhard is going to work on sed_s_f integration? It’s not his plugin… Well, I may be missing something, and anyway, it’s not of my business either.

We got an eMail from Gerhard this morning:

THE NEXT VERSION
First thing that I’m planning for the plugin is integration of sed_section_fields. It’s a no brainer really, glz_custom_fields doesn’t feel complete without this awesome plugin.


Until then, see here

Offline

Board footer

Powered by FluxBB