Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#589 2009-11-09 14:39:45

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

Re: glz_custom_fields

I’ve double-checked now, you’re right, it wasn’t the fixed version. Try now!

Offline

#590 2009-11-09 14:48:40

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

Re: glz_custom_fields

gerhard wrote:

On another note, how many of you are still using PHP4? I was wondering if I can remove PHP4 support by moving everyting to PHP5 OO?

I run sites on one server that still uses PHP4, but most of my sites, including both that use glz_cf, run on a more professional setup that supports PHP5. I vote for removing PHP4 support.

Offline

#591 2009-11-09 14:52:51

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

Re: glz_custom_fields

I use PHP5 in all my sites, but I found that a lot of servers still use PHP4.

Offline

#592 2009-11-09 18:38:15

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

Re: glz_custom_fields

Can you change the height of custom field textareas on the write tab? I found where I think the size is specified in the plugin code (css selector #add_edit_custom_field p textarea), but for some reason I can’t update the code. When I click Save, I get a white browser screen and my changes aren’t saved.

EDIT: Ok, I just realized I can do all my styling through the textpattern.css file, sorry for the noob spam.

Last edited by aswihart (2009-11-12 23:19:18)

Offline

#593 2009-11-13 17:19:28

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: glz_custom_fields

PHP 5 alone is fine by me.

BTW, I’m really happy with this plugin. It’s made things so much simpler for me and I’ve learned a lot about how TXP works as a result. Thanks One Zillion!

  1. One more small suggestion. :) A TimePicker akin to the DatePicker. There are a few jQuery ones hanging around the webs. If that is too specialized an addition then I wonder how I might plug that in myself… hmmm
  2. Ok one large suggestion too. Maybe too intense but if there was a routine that would update all modified values per custom field then one could change: bugz to bugs and all articles assigned that value would have that custom fields column updated. Would make for a nice addition to a maintenance screen?

txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#594 2009-11-17 14:23:50

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: glz_custom_fields

Sorry if this has been covered before but as this thread is now 60+ replies long I can’t find reference to it…

Is there a way to make the textarea custom fields use textile markup (same as you can do for the excerpt field)?

Thanks,
Phil

Offline

#595 2009-11-17 14:31:25

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

Re: glz_custom_fields

philwareham wrote:

Is there a way to make the textarea custom fields use textile markup (same as you can do for the excerpt field)?

I had to do this too, on a project I’m currently working on. My solution was to use upm_textile in the template, where the custom field is displayed:

<txp:upm_textile><txp:custom_field name="my_textarea"/></txp:upm_textile>

Offline

#596 2009-11-17 14:32:32

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

Re: glz_custom_fields

The drawback of this method is that there is no switch you can toggle in the back-end when you want no Textile parsing.

Offline

#597 2009-11-17 14:39:39

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: glz_custom_fields

johnstephens wrote:

The drawback of this method is that there is no switch you can toggle in the back-end when you want no Textile parsing.

Thanks John, that method will work great for me. I don’t need an on/off toggle in this instance as the textbox in question would only ever contain textile markup anyway.
Cheers,
Phil

Offline

#598 2009-11-17 15:46:55

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: glz_custom_fields

Hmm, on testing it seems upm_textile plugin is not suitable for my needs, can’t get it to format links within the textarea for some reason – neither raw html nor textile links parse properly.

Offline

#599 2009-11-17 16:04:34

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

Re: glz_custom_fields

Oh my. I’m having the same problem— I didn’t notice before because I didn’t have any links in the text I was testing. I shall report this on the upm_textile thread.

Offline

#600 2009-11-17 16:08:36

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

Re: glz_custom_fields

Problem solved: Add the attributed escape="" to your custom field tag. Hope this helps!

Offline

Board footer

Powered by FluxBB