Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Date Field?
Flabaliki Offline
Junior Member
**
Posts: 16
Joined: Jul 2010
Post: #1
Date Field?
I was just wonder if it's possible, through the 'Custom' Input Field Type to create a date input. Something like:

[Image: attachment.php?aid=174]

And then just display as: 05 January 2004

I would do this myself, but I'm not 100% sure how the custom option works, in terms of variables and whatnot.


Attached File(s) Thumbnail(s)
   

http://youtube.com/Flabaliki
(This post was last modified: 08-26-2010 07:17 PM by Flabaliki.)
08-26-2010 07:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Date Field?
It's probably a little convoluted, though you could make a day+month+year field and then edit templates to display them on one line.  Make each of them selectboxes and set Hide Input Field = Yes.  Then make a copy of the newthread and editpost_first templates, with custom forum prefix and then edit this copy sticking in HTML for the field.  You can use {$tfinput['key']} to denote the HTML of the input field itself.

Sorry for the quick explanation - hopefully it makes sense.

My Blog
08-26-2010 09:39 PM
Find all posts by this user Quote this message in a reply
Flabaliki Offline
Junior Member
**
Posts: 16
Joined: Jul 2010
Post: #3
RE: Date Field?
Oh, duh, I don't know why I didn't think of that. Lol, thank you Zinga Smile

http://youtube.com/Flabaliki
08-26-2010 11:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: