By slhuilli on Thursday, 01 June 2017
Replies 4
Likes 1
Views 1.5K
Votes 0
Hello

When I am editing dates on JEvents of ONE event, I see the date but not the day's name (Lundi/monday, Mardi/tuesday....)
Is it possible to add this ? Is igt possible to configure this date view ?

Thanks
This the exact code:


$times = '<table style="border: 1px solid #666666; width:100%;">';
$times .= '<tr><td>' . JText::_('JEV_FROM') . ' : ' . ($row->alldayevent() ? JString::substr($row->publish_up(), 0, 10) : JString::substr($row->publish_up(),0,16)) . '</td></tr>';
$times .= '<tr><td>' . JText::_('JEV_TO') . ' : ' . (($row->noendtime() || $row->alldayevent()) ? JString::substr($row->publish_down(), 0, 10) : JString::substr($row->publish_down(),0,16)) . '</td></tr>';
$times .="</table>";
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Hello,

Not out of the box. Are you familiar with php at all?

you can copy:

/administrator/components/com_jevents/views/icalevent/tmpl/overview.php

to

/administrator/templates/isis/html/com_jevents/icalevent/overview.php

and look at the FROM and TO tags. You can then change the generated php function to make a date.

Many thanks
Tony
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Thans. Yes i am developper. I haven't receive mail for your answer, i see it only today. I wanted to test but I can't see FROM and TO tags
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Thanks a lot
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
View Full Post