![]() |
CMS Article - How to split date format.
1 Attachment(s)
Hello!
I need to split the date format in cms article, for article publish date. I especially need the day and the month divided, how can i put this? To explain myself well, i have to put the day in <div></div> ad month in and another <div></div> Thank you! --------------- Added [DATE]1321718186[/DATE] at [TIME]1321718186[/TIME] --------------- Ok, get it! Go to root of your site --> packages --> vbcms --> content --> article.php at line 786 after PHP Code:
PHP Code:
HTML Code:
{vb:raw publishdatelocalday} or/and {vb:raw publishdatelocalmonth} or/and {vb:raw publishdatelocalyear} Demo : AppleMod - Home Like this : https://vborg.vbsupport.ru/attachmen...1&d=1321718625 ENjoy!:up: |
That looks very nice! Thanks for sharing how to do this.
FYI, your code from adv.arubamediamarketing.it is taking forever to load and therefore making the rest of your page not load. I'd suggest trying to put that javascript at the end of the page so the rest of the page can load first. I still cannot see your page - that javascript is still loading and I am not that fast of a typist! I finally had to reload it a couple of times to see it. |
If you want i can post css template and image...
Thank's Lynne, i modify it as soon as possible! (edit : it's not possibile! however i've to change it in php source) I have a big question (i think is vbulletin issue) : How do you change the language for the month in the date? I turned around: Phrases vbulletin_date_picker.js datepicker.php vbulletin-language.xml (master) but i can't change the language of month |
Changing the language would be done in admincp > language manager > edit your language > you will see the formatting settings there.
|
All times are GMT. The time now is 03:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|