By Guest on Wednesday, 01 March 2017
Replies 11
Likes 2
Views 1.2K
Votes 0
Hi experts,

I created a boolean custom-field and it dosen't show correctly at my "Purity III" template (T3 Framework) -->picture

I tried allready everything I can, but I think my skills in CSS don't seem to be good enough to solve the problem.

I contacted allready the T3-support, but they couln't help me either.

I've been watching, that T3 changes the CSS-class 'btn-group' to 't3onoff' an I don't know how to prevent T3 from doing this.

Pleas help!

regards,
Berndi
Can you give us the URL?
·
Wednesday, 01 March 2017 09:30
·
2 Likes
·
0 Votes
·
0 Comments
·
Updated site-infos in first post
·
Wednesday, 01 March 2017 12:58
·
2 Likes
·
0 Votes
·
0 Comments
·
Hello,

The site logins are Admin only. We need super user. But also I see no custom fields in the add event section.

Many thanks
Tony
·
Wednesday, 01 March 2017 14:26
·
2 Likes
·
0 Votes
·
0 Comments
·
Thanks - as you pointed out the template is removing CSS classnames from the output of the component. This is VERY poor practice - from what I can make out the problem is related to the frontend edit style sheets, is that something that can be disabled or modified?
·
Wednesday, 01 March 2017 14:30
·
2 Likes
·
0 Votes
·
0 Comments
·
superuser-access granted.

PLEASE DON'T DESTOY ANYTHING! ;-)

geraint:
unfortunately I find no option to disable this incredible feature of T3-Framework.
I hoped you do.

Are you able to comprehend the "class-name-rename-issue" ?
·
Wednesday, 01 March 2017 14:46
·
2 Likes
·
0 Votes
·
0 Comments
·
I'm afraid you will have to deal with the template developer on this one - they are changing the standard Bootstrap based CSS so should be able to advise you.

The only alternative I can suggest is a code change in JEvents to remove the btn-group from the radio box but I suspect this will not help. I tried disabling the chosen bootstrap enhancements in the JEvents config (event editing tab) and the radio box disappeared completely.
·
Thursday, 02 March 2017 10:54
·
2 Likes
·
0 Votes
·
0 Comments
·
I've also come to this conclusion, but the template-developer tells exactly the same from the JEvents component.

You can read here: https://www.joomlart.com/forums/topic/radiobutton-looks-very-strange/.

This all isn't very satisfying. :-(

By the way...

Have you had a look at the custum-fields issue I told you in this thread?
·
Thursday, 02 March 2017 11:56
·
2 Likes
·
0 Votes
·
0 Comments
·
The guy at Joomlart doesn't seem to understand the issue - he hasn't managed to get the radio box to appear in the Joomla template and hasn't understood that its their code

//frontend edit radio on/off - auto convert on-off radio if applicable
$('fieldset.radio').filter(function(){
return $(this).find('input').length == 2 && $(this).find('input').filter(function(){
return $.inArray(this.value + '', ['0', '1']) !== -1;
}).length == 2;
}).addClass('t3onoff').removeClass('btn-group');

that is changing the markup sent by the component. This javascript is FAR too aggressive and should not be affecting ALL radio elements inside a fieldset.

If you want a workaround - change "fieldset" to "div" in the file plugins/jevents/jevcustomfields/customfields/jevcfradio.php at lines 254 and 291.

BUT this is not a problem with our code its their javascript affecting too much on the page.
·
Thursday, 02 March 2017 14:11
·
2 Likes
·
0 Votes
·
0 Comments
·
where did you find that code?
I'll eleminate it.
·
Thursday, 02 March 2017 17:33
·
2 Likes
·
0 Votes
·
0 Comments
·
Killed the code and everything looks good.

so far... the "no" isn't red anymore.
How can I fix this?

Have you disabled Bootstrap in my JEvents-config?
·
Thursday, 02 March 2017 19:13
·
2 Likes
·
0 Votes
·
0 Comments
·
Sorry - yes I did disable Bootstrap as a test in the JEvents config and forgot to re-instate it when it didn't help.
·
Friday, 03 March 2017 09:27
·
2 Likes
·
0 Votes
·
0 Comments
·
View Full Post