Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#853 2011-04-04 11:21:02

ilpalmo
Member
From: Stockholm, Sweden
Registered: 2007-07-02
Posts: 14
Website

Re: glz_custom_fields

Got it!
Thank you!

Offline

#854 2011-04-04 17:33:12

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: glz_custom_fields

hi gerhard

i have a small issue with my custom fields.
if i put in the value 0, it gets saved into the db, but its not coming out of there again..

so if i put 200 everything is fine, but zero..? when i save the article, the field is empty right after.
like i said, the value is in the db. when i ask for it via if_custom_field its not getting called.
dunno, if that is a glz or a general custom_field problem.

Offline

#855 2011-05-05 00:18:05

andocobo
New Member
Registered: 2010-04-27
Posts: 2

Re: glz_custom_fields

Hi Gerhard,
This plugin is exactly what i’m after for the project i’m currently working on, however i’m having some problems installing it. When i run the install script textpattern throws out the following error.

“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 ‘TYPE=MyISAM’ at line 7 CREATE TABLE `custom_fields` ( `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL default ‘’, `value` varchar(255) NOT NULL default ‘’, PRIMARY KEY (id), INDEX (`name`) ) TYPE=MyISAM”

If you have any ideas about how to resolve this problem i’d love to hear them! :)
Thanks!

Offline

#856 2011-06-01 18:37:01

cuda
Member
From: Georgia, USA
Registered: 2008-02-06
Posts: 70
Website

Re: glz_custom_fields

Installed 1.2.4 on TXP 4.4.0 and now when I switch a custom field to textarea it disappears from the write tab….any ideas?

Offline

#857 2011-06-01 18:45:24

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: glz_custom_fields

Hi Dayne,

I have 1.2.4 on 4.4 and although I’ve not tried switching a filed from one type to textarea, I’ve had no other issues, so all I can suggest is the usual, agressive clearing of cache and then the obvious that I missed once, I once added a field as a textarea and wondered where it was, only to have a “LIKE DUH!” moment when I realized it was in the middle of the Write page, under Excerpt (or above it, etc).

Good luck. Cheers, -Alan


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#858 2011-06-01 18:57:32

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: glz_custom_fields

cuda schrieb:

Installed 1.2.4 on TXP 4.4.0 and now when I switch a custom field to textarea it disappears from the write tab….any ideas?

You have to enable excerpts in the preferences.

Offline

#859 2011-06-06 17:03:04

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: glz_custom_fields

I’m using the latest build of 1.2.4, for some reason I don’t see the ‘custom_x_set’ displayed in the custom field table on the glz_custom_fields Extensions editing screen. I can still tell which custom field is which if I click “Edit”, then it displays in the Edit area: screenshot

Offline

#860 2011-06-06 21:27:22

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: glz_custom_fields

Don’t use white space in the name. And I think, the name should not begin with a number. More about the allowed characters in the documentation of the custom_field and the preferences.

Offline

#861 2011-06-07 17:22:00

cuda
Member
From: Georgia, USA
Registered: 2008-02-06
Posts: 70
Website

Re: glz_custom_fields

@alanfluff

DUhhhhhhhhhhhh there it is in in the middle under the write tab….I really only want to use it so I can insert text longer then 255 characters…

@gerhard
would it be possible to make that display under the custom menu? it would be a toggle switch in the plugin that would let you choose write column or advanced menu for text area’s

Offline

#862 2011-06-07 17:29:16

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

Re: glz_custom_fields

@cuda, you can move fields around using bot_wtc. It may require some custom CSS to set an appropriate width for textarea if you want it in the sidebar, though.

I prefer to keep textareas in the main content area, along with the Body & Excerpt textareas.

Offline

#863 2011-06-14 21:47:27

frickinmuck
Member
Registered: 2008-05-01
Posts: 118

Re: glz_custom_fields

I recently saw a post or an article on a plugin that enabled one to output the values of a glz “select” custom field as a menu on the front end of a site, so that that visitors can use it to sort articles based on their association with that item in the custom field. I can’t seem to find it now – am I imagining things?

So, for example, the custom field choices might be

Cats
Dogs
Horses

And the select menu on the front end would show the users those choices and they would get a list of articles that had “Cats” or “Dogs” or “Horses” selected in that custom field. Make sense?


The AI does not hate you, nor does it love you, but you are made out of atoms which it can use for something else.

Offline

#864 2011-06-14 21:56:31

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: glz_custom_fields


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB