Thursday, 01 June 2017
  4 Replies
  1.5K Visits
0
Votes
Undo
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
Support Info
Development
7 years ago
·
#194777
Accepted Answer
0
Votes
Undo
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>";

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#189102
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#194622
0
Votes
Undo
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
·
#194777
Accepted Answer
0
Votes
Undo
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>";

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#194964
0
Votes
Undo
Thanks a lot
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.