Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#649 2010-01-24 06:19:28
Offline
#650 2010-01-24 06:26:46
Offline
#651 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
#652 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
#653 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
#654 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
#655 2010-01-24 15:52:56
Offline
#656 2010-01-24 23:04:48
Re: glz_custom_fields
Hi gerhard,
First up, many thanks for the new release. Love the new multi-select
, and timepicker
.
BTW: I’m currrently adding some old posts to my site, and I’m not able to select the date from the datepicker
when formatted as yyyy-mm-dd
. Only when I change the format to dd/mm/yyyy
does the calendar allow me to select dates in the past.
Last edited by speeke (2010-01-24 23:05:31)
“People who value their privileges above their principles soon lose both.”
Dwight D. Eisenhower
Offline
#657 2010-01-25 05:18:49
Re: glz_custom_fields
speeke wrote:
I’m currrently adding some old posts to my site, and I’m not able to select the date from the
datepicker
when formatted asyyyy-mm-dd
. Only when I change the format todd/mm/yyyy
does the calendar allow me to select dates in the past.
You must make sure that Start date has the same format as Date format, otherwise things will break. I realize that this is a gotcha, but I didn’t want to write extra JS to take care of this situation. It seems that the message saying MUST be the same as “Date format” is not working very well since you’ve missed it, so I’ll think of something else.
Offline
#658 2010-01-25 05:33:16
Re: glz_custom_fields
gerhard wrote:
It seems that the message saying MUST be the same as “Date format” is not working very well since you’ve missed it, so I’ll think of something else.
No, it’s very clear. I just didn’t see it this time round, and now feel a little stupid :| Thnx!
“People who value their privileges above their principles soon lose both.”
Dwight D. Eisenhower
Offline
#659 2010-01-25 05:36:32
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: glz_custom_fields
Many thanks for this major release gerhard.
I’ll check the new features in the next days.
Offline
#660 2010-01-25 05:45:21
Re: glz_custom_fields
speeke wrote:
No, it’s very clear. I just didn’t see it this time round, and now feel a little stupid :| Thnx!
No no, if you haven’t spotted it first time, it wasn’t obvious enough. Code is poetry and this issue that you had points to a bad “rhyme”, so I’m going to improve it : ).
Alessandro, you’re welcome, waiting for your feedback!
Last edited by gerhard (2010-01-25 19:48:03)
Offline