Wednesday, 01 March 2017
  2 Replies
  1K Visits
0
Votes
Undo
I want to make a couple more changes to the dates formatting. Specifically, for the list of today's events, I want it to say "Today" instead of the today's date, and similarly "This Week", and "This Month". (Other days, weeks, and month will display the dates, dates of the week, and month name as usual.)

Can you point me to a discussion regarding this if there is one? If there isn't, can you point somewhere in the right direction, even if you can give me the keywords to search on google.

I hope my question makes sense.
Thanks.
Blaine
Wednesday, 01 March 2017 12:57
·
#184419
Accepted Answer
0
Votes
Undo
Hello Blaine,

Ok so this isn't an easy one to do. You will need to create a template override for each view. Then use PHP and compare the current date to the date of the current view.

So you will need to do a Template override, please see:
https://www.jevents.net/frequently-asked-questions/customising-layouts

And then go from there with PHP.

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!

Wednesday, 01 March 2017 12:57
·
#184419
Accepted Answer
0
Votes
Undo
Hello Blaine,

Ok so this isn't an easy one to do. You will need to create a template override for each view. Then use PHP and compare the current date to the date of the current view.

So you will need to do a Template override, please see:
https://www.jevents.net/frequently-asked-questions/customising-layouts

And then go from there with PHP.

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!

Wednesday, 01 March 2017 22:40
·
#184468
0
Votes
Undo
thanks Tony.
  • Page :
  • 1
There are no replies made for this post yet.