By rhart on Monday, 11 December 2017
Replies 4
Likes 1
Views 1.2K
Votes 0
Hi,

when using the custom layout for the Event Edit Page the colour part is not working in backend and frontend.

This part is still in:


<div {{Event Colour:COLOUR#class="row jevcolour" #class=" row jevcolour jev_none"}} >
<div class="span2">
{{Colour label:COLOUR_LBL}}
</div>
<div class="span10">
{{Event Colour:COLOUR}}
</div>
</div>


For the rest it works fine. Any idea what the reason could be ? Disabling the custom layout is giving the colour option back so it is not an configuration issue.
Hello,

Change:

<div {{Event Colour:COLOUR#class="row jevcolour" #class=" row jevcolour jev_none"}} >

to

<div class="{{Event Colour:COLOUR#row jevcolour#row jevcolour jev_none}}" >

Does that help?
·
Monday, 11 December 2017 22:56
·
1 Likes
·
0 Votes
·
0 Comments
·
Hi,

no, it doesn't make any difference, result is exactly the same.

Also looked at the source code of the page and this is showing:


<div class=" row jevcolour jev_none" > <div class="span2"> <label id="color-lbl" for="color" class="hasPopover" title="Kleur" data-content="The colour for the event">
Kleur</label>
</div> <div class="span10"> </div> </div>


I believe the jev_none shouldn't be in when on the backend and the div for span10 is empty?
·
Tuesday, 12 December 2017 08:12
·
1 Likes
·
0 Votes
·
0 Comments
·
After some poking around in the code I found a poor bit of coding in the Joomla colour field has changed recently.

If you replace the file administrator/components/com_jevents/fields/jevcolor.php with this version it includes a workaround.
·
Thursday, 14 December 2017 11:28
·
1 Likes
·
0 Votes
·
0 Comments
·
Thanks, that solved it!
·
Sunday, 17 December 2017 10:05
·
1 Likes
·
0 Votes
·
0 Comments
·
View Full Post