Thursday, 01 June 2017
  4 Replies
  1.7K 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
Wednesday, 25 October 2017 21:45
·
#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!

Friday, 02 June 2017 16:11
·
#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!

Saturday, 21 October 2017 10:49
·
#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
Wednesday, 25 October 2017 21:45
·
#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!

Wednesday, 01 November 2017 10:33
·
#194964
0
Votes
Undo
Thanks a lot
  • Page :
  • 1
There are no replies made for this post yet.