Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#289 2009-04-20 11:45:45

jelle
Member
Registered: 2006-06-07
Posts: 165

Re: glz_custom_fields

gerhard wrote:

jelle wrote:

Uh…wait!….what?….. is 1.2 released already?

Yes, should be with you soon! Need to get a bit organized first…

oh wow…thats great! looking forward to that for a long time!

—-goes back to sleep—-

Offline

#290 2009-04-20 11:56:21

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

Re: glz_custom_fields

gerhard wrote:

Ok, so who is in charge of sed_section_fields? I thought it was Steve? Is it Robert now?

I have no idea, sorry.

mlarino wrote:

is not working for me in 4.0.8 original or Gerhards version

Hmm… Don’t know, it works for me with glz_custom_fields 1.1.3. Unfortunately I haven’t had the time to test with v. 1.2

Offline

#291 2009-04-21 10:30:50

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

Re: glz_custom_fields

Hi,
is the outputting of a custom field the same as in textpattern?

<txp:output_form form="custom_2" />

or

<txp:output_form form="Longitud" />

Offline

#292 2009-04-21 10:43:10

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: glz_custom_fields

Offline

#293 2009-04-21 10:44:38

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

Re: glz_custom_fields

oh!
made a mistake, it was

<txp:custom_field name="Longitud" /> 
sorry.

Offline

#294 2009-04-21 16:14:35

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: glz_custom_fields

(I suspect this has been answered elsewhere, but i can’t find it. Or maybe it’s just a stupid question…)

How can I use glz custom fields as pseudo-categories, that is, click on the value and have it bring up a list of all other articles with the same value?

Offline

#295 2009-04-22 02:26:27

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: glz_custom_fields

floodfish wrote:

How can I use glz custom fields as pseudo-categories, that is, click on the value and have it bring up a list of all other articles with the same value?

Maybe this is what you’re looking for: article_custom. Pass it the right category/customfieldname combo and make a link to the page/section using that article_custom.

As for glz_custom_fields, in v1.2 you can now do searches on all articles via a proper search form. I’m pushing v1.2 to as many people as I can tonight, if you’re on the contributors list, you should receive the new copy of glz_custom_fields soon!

Offline

#296 2009-04-22 04:53:45

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: glz_custom_fields

gerhard wrote:

Ok, so who is in charge of sed_section_fields? I thought it was Steve? Is it Robert now?

Neither. You are looking at an orphan waiting for adoption.

Offline

#297 2009-04-22 07:16:48

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

Re: glz_custom_fields

Adoption?
How about merging both plugins into one! :)

Last edited by mlarino (2009-04-22 10:32:56)

Offline

#298 2009-04-22 11:02:24

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

Re: glz_custom_fields

Man, this plugin is great!
I am testing the new search_custom_fields and for now is working great!

I dont undertand the problem with the ranges ($ €) mine is working perfect and I they are typed like this:
entre 10 y 20€
entre 20 y 30€
entre 30 y 40€
entre 40 y 50€
más de 50€

One question though, when you say:
“Also provides capability to search by section and category, they default to checkboxes and cannot be changed.”

Does this mean that when I write this:

<txp:glz_custom_fields_search_form searchby="Type of Food, Prize range:checkbox, category, section" section="Restaurants" />

It will show a slect box to choose “types of Food”
It wll show checkboxes with “Price ranges”
It will show checkboxes with all the “Categories”
It will only search in section “Restaurants”
?

I use Categories for the Location of the restaurants (NY, Chicago, Florida, etc…) so would that create checkboxes for the 62 locations I have in categories?
A selectbox would be ideal.

If that cant be done, maybe I should use Location as a custom_field instead of category, right?

And:
Can this be styled with CSS?
Right now just displays the selectboxes vertically, and a simple “Search” button. Would like to be able to style it completely. for example: have an horizontal list and use an image for the “search” button.

Thanks for this great plugin!

Last edited by mlarino (2009-04-22 11:49:37)

Offline

#299 2009-04-22 11:21:03

jelle
Member
Registered: 2006-06-07
Posts: 165

Re: glz_custom_fields

mlarino wrote:

Adoption?
How about merging both plugins into one! :)

How about dependencies between custom fields?

Say custom field #1 is a checkbox and #2 is a textfield.

I’d like to be able to make #2 depend on the value of #1 to apear in the write screen. So when #1 is checked, #2 is shown. When #1 is unchecked, #2 is hidden (and cleared)

Offline

#300 2009-04-22 16:22:03

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

Re: glz_custom_fields

I am not a CSS Guru, but I found some problems trying to Style the output of the search_custom_fields due to this:

<option value="">THIS IS BLANK!!</option>
       <option value="A la brasa">A la brasa</option>
       <option value="Americana">Americana</option>
       <option value="Argentina">Argentina</option>
       <option value="Japonesa">Japonesa</option>
       <option value="Tapas">Tapas</option>

The first option is blank

I usually use this method to style select boxes and forms

but if the first option is blank, it just doest work.
I think that instead of beeing blank, that is where you can place the name of the Custom_field, instead of having the label above the selectbox,
What do you think?

(does someone know a way to style it without this problem I am having?)
Thanks

Last edited by mlarino (2009-04-22 16:22:14)

Offline

Board footer

Powered by FluxBB