Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Convert
Wordpress to Elxis
with
Elxis importer
!
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Date Inline module displays text [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Date Inline module displays text [SOLVED] (Read 3321 times)
ROUBOS
Hero Member
Posts: 699
Date Inline module displays text [SOLVED]
«
on:
May 25, 2011, 03:20:35 »
Hi,
I placed the Date InLine module using the following code:
<?php elxLoadModule('mod_dateinline', -2); ?>
and instead of displaying the date, I get: A e B Y
any thoughts?
EDIT>> even Bubbles does not work, or the weather module. Could this be the same issue for all?
«
Last Edit: May 25, 2011, 12:05:02 by ROUBOS
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Date Inline module displays text
«
Reply #1 on:
May 25, 2011, 10:22:56 »
You don't need a module to display a date...
You can use pure php:
<?php echo date('l d F Y'); ?>
Or Elxis 2009.x date function:
<?php echo mosFormatDate(date('Y-m-d H:i:s'), "%A %e %B %Y"); ?>
For Elxis Nautilus:
<?php echo eFactory::getDate()->formatTS(0, "%A %e %B %Y"); ?>
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
nikos
Elxis Community
Hero Member
Posts: 1094
Re: Date Inline module displays text
«
Reply #2 on:
May 25, 2011, 10:24:02 »
Yes it is true with this you mentioned about module date_inline and i must fix it. If you let in module parameters the default one without to select other options, it will display date normally.
Bubles and weather module have not any relation with module date_inline.
Logged
Elxis Community |
Open Source Web Lab
ROUBOS
Hero Member
Posts: 699
Re: Date Inline module displays text
«
Reply #3 on:
May 25, 2011, 12:04:49 »
thank you
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Date Inline module displays text [SOLVED]