Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#589 2009-11-09 18:38:15
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
#590 2009-11-13 17:19:28
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!
- 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
- 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
#591 2009-11-17 14:23:50
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
#592 2009-11-17 14:31:25
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
#593 2009-11-17 14:32:32
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
#594 2009-11-17 14:39:39
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
#595 2009-11-17 15:46:55
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
#596 2009-11-17 16:04:34
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
#597 2009-11-17 16:08:36
Re: glz_custom_fields
Problem solved: Add the attributed escape=""
to your custom field tag. Hope this helps!
Offline
#598 2009-11-17 16:24:27
Re: glz_custom_fields
That worked perfect now, thanks for the tip!
Offline
#599 2009-11-19 02:21:10
Re: glz_custom_fields
speeke wrote:
I gave it a whirl, but found that the custom field appeared in sections that it was explicitly asked not to (using the
sed_section_fields
plugin).
This issue is separate from how many entries a select-type field can hold, and I don’t know the answer to that. But sed_section_fields can be tricky to understand. The yes-no radio buttons in your sections tab ask whether to hide the field in the specified section, so “Yes” means the field is hidden.
This makes sense from the TXP perspective, that custom fields are visible by default, but it isn’t intuitive. Check your select field’s yes-no settings again for the sections in question. Make sure that “Yes” is selected next to Hide field# n for items you want hidden.
Offline
#600 2009-11-23 14:40:50
Re: glz_custom_fields
whaleen wrote:
A TimePicker akin to the DatePicker.
Great suggestion, already on the TODO : ).
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.
I feel this functionality wouldn’t benefit a lot of users and for the effort required, there is a quicker way. Check this article which I posted a few years back.
Offline