date on module

More
12 years 8 months ago #23073 by micker
Replied by micker on topic date on module
Thanks .... i work on explode date to display it much better ...
I Will a confusion between date on module and date on item ...

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #23074 by ggppdk
Replied by ggppdk on topic date on module
After looking at it the creation date were correct, what was happening is that the items were different, they were copies but the way we cut off title to a maximum size removes the [Copy] in front of the item title

so there were 4 items:
a. [Copy] ItemTitle1
b. ItemTitle1
c. [Copy] ItemTitle2
d. ItemTitle2

items displayed were (a) and (c) but because the [Copy] was removed from the item titles , micker thought it were (b) and (d), this is really confusing, i fixed the code to use a simpler cut off , that does not alter title text

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #23075 by micker
Replied by micker on topic date on module
Thanks gg

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #23078 by micker
Replied by micker on topic date on module
hello
this is y solution (thanks to rehne)
to explode date in rounded square
in your custom template
Code:
<span class="fc_inline news_date created"> <?php $lng = JFactory::getLanguage(); $loc = $lng->getLocale() ; setlocale(LC_ALL, $loc ); $Date = $item->date_created; $event_date_array_firstexplode = explode(">", $Date); $event_date_array_secondexplode = explode(" ", $event_date_array_firstexplode[1]); ?> <div id="date_module"> <span class="event-day_module"><?php echo $event_date_array_secondexplode[0];?></span> <span class="event-month_module"><?php echo $event_date_array_secondexplode[1]; ?></span> <span class="event-year_module"><?php echo $event_date_array_secondexplode[2]; ?></span></div> Heure : <?php echo $event_date_array_secondexplode[4]; ?> <?php echo $item->catid; ?> </span> </span>
it work

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.173 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline