Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#571 2009-10-28 14:39:55
- candyman
- Member

- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: glz_custom_fields
It would be useful to update net-carver’s original post about sed_section_fields and the download section of his site with the latest version modified by gerhard.
Last edited by candyman (2009-10-28 14:40:31)
Offline
#572 2009-10-30 21:33:52
Re: glz_custom_fields
I’ve noticed that if I name a custom field like this “on_section_frontpage” it’s renamed to something like this “onsectionfrontpage”.
Does anyone else noticed this?
Offline
#573 2009-10-30 21:58:21
Re: glz_custom_fields
redbot wrote:
glz_custom works ok with the MLP, or at least it worked ok with previous versions.
Thanks, redbot.
Apart from this, probably it isn’t useful in your case but I now remember some months ago I made a very short and raw plugin which lets you give a ‘title’ (as per txp terminology) for your custom fields names.
Nice! It seems to work ferpect, although it isn’t compatible with MLP, right? No problem about it.
And yes, it’s useful, because it seems (at least on my local install) that glz_custom_fields is interfering with the MLP ability to create human-friendly titles for custom fields…
I’ve tested that, by disabling glz_custom_fields, the custom fields titles (managed by the MLP) works fine. Re-enabling glz_c_f, the human-readable titles are dismissed.
@Gerhard, do you think you will be able to take a look at it? You may want to join here.
Thanks again, redbot and Gerhard.
Offline
#574 2009-10-31 00:20:43
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: glz_custom_fields
maniqui wrote:
….although it isn’t compatible with MLP, right? No problem about it.
Yes, it isn’t compatible but in some circumstances I think is better than nothing
it seems (at least on my local install) that glz_custom_fields is interfering with the MLP ability to create human-friendly titles for custom fields…
You are right again. I remember there was a discussion between me and Steve/net-carver some months (years?) ago about this problem which seemed to be unsolvable (it’s buried in the mlp thread, here (down the page – item 034) and here).
At the end I found a dirty solution hacking some textpattern file (don’t remember which one). If you want I can send you some notes I wrote at the time (if I find them) but I think this solution is not advisable – every upgrade becomes a torture ;(
I think maybe a relatively simpler way could be to modify bot_cf_titles code – even if I can’t imagine how now (it’s late and I’m sleepy).
Offline
#575 2009-10-31 09:46:22
Re: glz_custom_fields
I found after upgrading to the latest glz_ my States and Countries list was re-sorted. For example, my countries select list starts now with South Korea and ends with Zimbabwe.
Between the two, the list goes from S-A, then starts again with Sri Lanka-Zimbabwe. No idea why this happened (I did not do anything) so thought I should put it out there for Gerhard.
Offline
#576 2009-11-04 14:00:52
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: glz_custom_fields
Here’s an idea/feature suggestion:
An option to input PHP instead of Values in the CF editing screen. Upon entering the Write tab, the PHP script gets executed and returns the value(s) for the customfield. A sort of mini-plugin for glz_c_f.
Offline
#577 2009-11-04 14:36:19
Re: glz_custom_fields
maniqui wrote:
I’ve noticed that if I name a custom field like this “on_section_frontpage” it’s renamed to something like this “onsectionfrontpage”.
Julian, make sure you download the most recent version (check the glz_custom_fields Google group for the link). I’ve added -_ to the allowed characters for custom field names.
Offline
#578 2009-11-04 14:43:27
Re: glz_custom_fields
redbot wrote:
….bot_cf_titles…
Luca, is v0.3 the most recent version of your plugin? Want to implement it in the next version of glz_custom_fields.
In the future, if you have any issues like this one, drop me a line! I have dropped the ball a bit with the plugin before TXP 4.2.0, but I’m back on track now. Looking at having monthly releases, even if they’re just mini ones. Yep, that’s right, new release coming out this month ; ).
Cheers!
Offline
#579 2009-11-04 14:44:56
Re: glz_custom_fields
jstubbs wrote:
I found after upgrading to the latest glz_ my States and Countries list was re-sorted. For example, my countries select list starts now with South Korea and ends with Zimbabwe.
Hey Jonathan, this is not a bug. By default, since v1.2.3, custom field values are displayed “as entered”. Check the plugin preferences to set value sorting.
Last edited by gerhard (2009-11-04 14:45:30)
Offline
#580 2009-11-04 14:47:33
Offline
#581 2009-11-04 14:49:34
Re: glz_custom_fields
jelle wrote:
An option to input PHP instead of Values in the CF editing screen. Upon entering the Write tab, the PHP script gets executed and returns the value(s) for the customfield. A sort of mini-plugin for glz_c_f.
Hmm, this sounds interesting. I can see a cross between my trigger keywords custom fields and your suggestion Jelle. Care to send me an e-mail and elaborate on how you’re planning to use this functionality? A real world example would help clarify the requirements.
Cheers, Gerhard.
Offline
#582 2009-11-04 15:15:01
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: glz_custom_fields
gerhard wrote:
…Luca, is v0.3 the most recent version of your plugin?
Yes
Want to implement it in the next version of glz_custom_fields.
Cool, of course I suggest you to check the (minimal) plugin’s code. I wouldn’t trust myself as a programmer ;)
In the future, if you have any issues like this one, drop me a line! I have dropped the ball a bit with the plugin before TXP 4.2.0, but I’m back on track now. Looking at having monthly releases, even if they’re just mini ones. Yep, that’s right, new release coming out this month ; ).
That’s really a good news Gerhard, thank you!
Offline
#583 2009-11-09 09:31:40
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: glz_custom_fields
Hi
I started a thread where I explainsome issues I have with some plugins including this one.
If someone can help I would really apreciate it.
Thanks
Offline
#584 2009-11-09 14:24:33
Re: glz_custom_fields
mlarino wrote:
I started a thread where I explainsome issues I have with some plugins including this one.
Cool, will take a look in a minute.
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?
Offline
#585 2009-11-09 14:36:34
Re: glz_custom_fields
Hi Gerhard,
I’ve re-downloaded v1.2.3 from Google Groups and i still can’t use underscores on custom fields names. They are removed after saving. on_section_front_page becomes onsectionfrontpage. Next to the input field I still read “Only word characters allowed”.
Thanks.
Offline