Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Add Day of Week Description to Class Listing? Ex. Monday, Tues, etc.

Add Day of Week Description to Class Listing? Ex. Monday, Tues, etc. 9 years 3 months ago #24853

  • ScottMod
  • ScottMod's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
We would like to list the day of the week that the event falls on. Ex. Monday, Tues, Wed.... Is there a way to add that to the code? If so, would anyone have any pointers on files/templates/location where I can add this?

I am using the Menu call of: com_dtregister ยป List of Events

DTRegister 3.1.4 / Joomla 3.4.3

Thank you in advance for your help!

~Scott

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

Add Day of Week Description to Class Listing? Ex. Monday, Tues, etc. 9 years 3 months ago #24857

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
In DT Register Configuration, there is a setting for date format. One of those options DOES include the day of the week. Just change that setting and save.

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

Add Day of Week Description to Class Listing? Ex. Monday, Tues, etc. 9 years 3 months ago #24860

  • ScottMod
  • ScottMod's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
Completely missed that option. Thanks Nathan!! One more question, any way to modify the format layout? Ex. January 1, 2015, Tuesday

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

Add Day of Week Description to Class Listing? Ex. Monday, Tues, etc. 9 years 3 months ago #24868

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
Yes open this file:

/administrator/components/com_dtregister/models/dateformat.php

Around line 19 find this:
'l, j M Y'=>'Monday, 5 Mar 2009',

Change it to:
'M j, Y, l'=>'Monday, 5 Mar 2009',

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .
Last Edit: by nathan.dth.
  • Page:
  • 1
Time to create page: 0.371 seconds