Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#631 2009-12-24 07:53:53
Re: glz_custom_fields
OK, since I went through all the posts since I’ve last been here, I’ll get to work, see if I can get you all a nice Christmas present : ).
I’ve updated the github page, you can check it out to see what’s coming and what has already been done.
Last edited by gerhard (2009-12-24 07:54:28)
Offline
#632 2009-12-24 11:42:12
Re: glz_custom_fields
Hi Gerhard,
I am using version 1.2.3. The countries list issue (difference between display in Extensions and the front end) was a bug in a Manfre plugin – he mentions this here.
For the drop down select default value issue – I have no default set. If I choose one option and set it to {option1}, then I find it displays as-is i.e {option1} in the list instead of being a chose value. The first list item is displayed instead as the default value.
I am not sure if this is a bug in glz_ or the mem_ plugin I am using, I will contact Michael and ask him.
Offline
#633 2009-12-24 11:49:10
Re: glz_custom_fields
jstubbs wrote:
For the drop down select default value issue – I have no default set. If I choose one option and set it to
{option1}, then I find it displays as-is i.e{option1}in the list instead of being a chose value. The first list item is displayed instead as the default value.
Can you disable all other plugins and see if you still experience this issue with glz_custom_fields on its own? If it’s easier, you can just set up a clean TXP locally with nothing but glz_custom_fields and see how it goes.
In my vanilla TXP install I don’t see this behaviour that you’re mentioning so it could either be another plugin or just your particular setup (that’s why testing against a clean vanilla is best).
Offline
#634 2009-12-24 12:36:19
Re: glz_custom_fields
Gerhard, I am trying this on a clean 4.2 install locally (using VirtualHostX, MAMP and SequelPro).
In order not to use any other plugins, what code do you suggest I use to output the two select boxes and test if the default values are being set? My current code uses mem_form.
Edit: The plugin works correctly on a clean 4.2 local install in terms of setting a default value, assigning a value to an article and the outputting the value. The only thing I have not tested is a select box on the front end.
I think its the mem_ plugin that is throwing glz_ off, because the default values display correctly in the Write pane on my live site. Just not in the form on the site, and that is powered by mem_.
Last edited by jstubbs (2009-12-24 12:47:42)
Offline
#635 2009-12-24 13:19:56
Re: glz_custom_fields
jstubbs wrote:
I think its the mem_ plugin that is throwing glz_ off, because the default values display correctly in the Write pane on my live site. Just not in the form on the site, and that is powered by mem_.
glz_custom_fields is 99% back-end, the only front-end functionality was the search form which I haven’t really updated since before TXP 4.2.0. Let me know what you need for the front-end and I’ll see if I can put something together for v1.2.4. Most of the code is already there, I just need to define some public interfaces talking to the back-end functions.
Last edited by gerhard (2009-12-24 13:21:20)
Offline
#636 2010-01-14 14:49:05
Re: glz_custom_fields
Hey!
Is it possible to create something like this with this plugin please?

Offline
#637 2010-01-14 16:06:40
Re: glz_custom_fields
Hi Gil, yes, all the above is possible in the new version which I still haven’t written the documentation for, but otherwise it’s ready. Check the v1.2.4 features which have already been implemented. PM for more details.
Offline
#638 2010-01-17 22:16:59
- zooeyripka
- Member
- Registered: 2007-07-15
- Posts: 12
Re: glz_custom_fields
I updated a site to 1.2.3 and now it is not stripping the slashes from the values (so where the value is Harvey’s Lake outputs as Harvey\‘s Lake). Has anyone had something like this happen or could anyone suggest a fix?
Offline
#639 2010-01-23 19:55:58
Re: glz_custom_fields
I’ve just donated and downloaded. Is the latest version 1.2.3? Because I’m really after the time picker function to make this perfect for me. Do I just wait for the new version to be released?
Thanks for the great plugin.
Offline
#640 2010-01-24 06:19:28
Offline
#641 2010-01-24 06:26:46
Offline
#642 2010-01-24 10:14:42
Re: glz_custom_fields
Thanks for this Gerhard, I guess I can wait then! I was just a bit confused about the status of the next release.
Will this be implemented in such a way that we can effectively sort on a timestamp? I want to have assign a time to a series of events, and to prominently display events happening today on the homepage. Sorting them by time would be good.
Offline
#643 2010-01-24 11:01:40
Re: glz_custom_fields
Yes Anura, article_custom is what you want for displaying & sorting events by timestamp (be it the custom field or timestamp).
As a sidenote, the Time Picker and Date Picker store values as they appear and does not convert them to timestamps. I don’t know what you’re trying to implement, but the default TXP Timestamp might be worth taking into account.
Offline
#644 2010-01-24 11:45:57
Re: glz_custom_fields
I can wait until the new version comes out, but what I was wanting to do was use custom fields to store the date and time (and location) of an event, rather than the article date and time. This is (1) to try to limit most of the fields another content creator will use to within the custom fields and (2) to allow the default publishing to work as intended.
That means I will need to sort on the values (both dates and times) within those custom fields, rather than the default article dates – and also test for events in the future and the past.
I had started to use the article date, but I worry about trying to train others to look for those fields and amend them properly. As well, I will have other uses for custom fields eg. some events will have a lat/long coordinates so I figure it is easier to get them to concentrate on the left where the custom fields appear.
Last edited by aslsw66 (2010-01-24 11:47:33)
Offline
#645 2010-01-24 12:00:24
Re: glz_custom_fields
There’s no reason why that wouldn’t work : ).
This gave me an idea. Would some of you be willing to send me e-mails with links and descriptions of how you’re using glz_custom_fields on your websites? I am revamping my website and have dedicated a whole section to glz_custom_fields, showcasing some real-world examples would be really useful for everyone trying to get to grips with the plugin.
Offline