 |

lzawie
User
Jan 12, 2007, 8:06 AM
Post #1 of 7
(418 views)
Shortcut
|
|
changing the date format
|
Can't Post
|
|
I would like to change the default date format to Date Only, getting rid of the time stamp I see in the admin section the proper formats MMM d, yyyy but I am not sure where to make that change in the template or placeholder or wherever its pulling the article date from. Thanks for the assistance!
|
|
|  |
 |

Donna
Staff
/ Moderator

Jan 12, 2007, 4:47 PM
Post #2 of 7
(410 views)
Shortcut
|
|
Re: [lzawie] changing the date format
[In reply to]
|
Can't Post
|
|
Hi there! You can modify the date settings in Admin > Regional Settings. Alternately, if you want to change it for just one template, you can add "modifiers" to the $article.date$ placeholder. Take a look here for more information on how to do that: http://www.interactivetools.com/docs/doc.cgi?/articlemanager2/templates/modifiers_format.html I hope this helps! Let me know if you have any other questions or concerns. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

lzawie
User
Jan 13, 2007, 11:48 AM
Post #3 of 7
(403 views)
Shortcut
|
|
Re: [Donna] changing the date format
[In reply to]
|
Can't Post
|
|
I want to change the date format site wide ..i know regional setting shows me the formats I can use but it doesn't let me pick one and the defaults seems to be date and time. I want only date. The link you sent me says to see documentation to change something site wide but I haven't been able to find that anywhere in the documentation.
|
|
|  |
 |

ross
Staff
/ Moderator

Jan 14, 2007, 3:56 PM
Post #4 of 7
(398 views)
Shortcut
|
|
Re: [lzawie] changing the date format
[In reply to]
|
Can't Post
|
|
Hi Lynn Thanks for posting! When you are on the Regional Settings page, if you removed anything related to time from the three fields there and left only the time options, that should effect everything on your site. For example, you'll want to remove " - h:mm:ss tt" Date & Time field. One neat thing is that you should be able to use the exact same thing in each of the fields. So even though one says Time Only, you can still put the date options in there. Why don't you try putting MMM d, yyyy in all there fields, saving and publishing. Let me know what you think of that . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

lzawie
User
Jan 14, 2007, 5:37 PM
Post #5 of 7
(391 views)
Shortcut
|
|
Re: [ross] changing the date format
[In reply to]
|
Can't Post
|
|
Thanks Ross, exactly what I needed.
|
|
|  |
 |

vasantheb
User
Feb 22, 2007, 8:00 AM
Post #6 of 7
(327 views)
Shortcut
|
|
Re: [Donna] changing the date format
[In reply to]
|
Can't Post
|
|
Hello Donna, I have a template like this: !-- template insert : $article_list$ --> <!-- templatecell : row --> <p class="first"> <span class="bold">$art_name$</span><br /> <span class="date">$global_updated$</p> <p>$art_summary$</p> <a href="$detail_link$">Read More</a> <!-- /templatecell : row --> Here the field $global_updated$ displays the date with time. I just need to omit the time from date. For that I formatted the date like this : $global_updated.date:format(dd MMM yyyy)$ Is this format is correct ? Where and how I include this dateformat into the above code ? Can some body include the dateformat string into the code above ? Regards Aniesh Joseph Web Programmer India
|
|
|  |
 |

ChetW
Staff

Feb 23, 2007, 10:37 AM
Post #7 of 7
(313 views)
Shortcut
|
|
Re: [aniesh82] changing the date format
[In reply to]
|
Can't Post
|
|
Hi Aniesh82, Thanks for the post! If I remember correctly your using Article Manager1, is this correct? If so you may be able to use some javascript to get this going however I'm not really sure what the Javascript code needed would look like. The solutions mentioned above are for Article Manager 2 and won't actually work with Article Manager1. :) Does this help Aniesh82? If you have any further questions please feel free to ask! Cheers, Chet Woodside - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|