Monday, 25 November 2019
  5 Replies
  1.1K Visits
0
Votes
Undo
Hi,

I am using an event calendar on my website. the version 3.4.50. Now I am converting my website to follow ADA standards. When testing with the Wave tool, it detects errors on the Events calendar.
1) 2 X Missing form label
(A select box shows months, Another select box shows years missing labels.)

2) 1 X Empty link
(A print icon in the calendar missing text)

I found, when changing the file below may fix the issue. line number 97,
components\com_jevents\views\default\helpers\defaultviewhelperheader16.php
<span class="icon-print"> </span>

When I add 'Print' in the span the issue resolves.
<span class="icon-print"> Print </span>

I tried to override the file to avoid editing the core file. But it is not working.

How can I override the helper files in the component? Or are there any other ways to fix it?

Thanks in Advance.
Monday, 25 November 2019 13:40
·
#213843
1
Votes
Undo
Hello,

You can see:
https://www.jevents.net/frequently-asked-questions/customising-layouts

About customising layouts. We will be working to resolve accessbility tool errors in JEvents 3.5
Tuesday, 26 November 2019 13:37
·
#213862
0
Votes
Undo
Thank you, Tony, for the response.

But the content has to modify is in the helper's folder,
components\com_jevents\views\default\helpers\defaultviewhelperheader16.php

Here is a print icon, I have to add some text in between. Else its throwing error in the wave tool.

Thanks.
Thursday, 28 November 2019 09:54
·
#213897
0
Votes
Undo
Yep, so at the bottom of that page is:


Serious Changes
You realise you need to change or add a helper function (e.g. the iconic navigation bar)

Follow steps 1-2 from "basic changes"then

create a sub folder called helpers
copy the helper file e.g. defaultviewnavtablebariconic.php to this folder
modify as required


Which explains it exactly :-)

Many thanks
Tony
Friday, 29 November 2019 03:55
·
#213934
0
Votes
Undo
Thanks, it is working. :)
Friday, 06 December 2019 10:36
·
#214046
0
Votes
Undo
You are very welcome!
  • Page :
  • 1
There are no replies made for this post yet.