Wednesday, 01 March 2017
  11 Replies
  1.4K Visits
0
Votes
Undo
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
Wednesday, 01 March 2017 09:30
·
#184394
0
Votes
Undo
Can you give us the URL?
Wednesday, 01 March 2017 12:58
·
#184420
0
Votes
Undo
Updated site-infos in first post
Wednesday, 01 March 2017 14:26
·
#184429
0
Votes
Undo
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:30
·
#184432
0
Votes
Undo
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:46
·
#184435
0
Votes
Undo
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" ?
Thursday, 02 March 2017 10:54
·
#184490
0
Votes
Undo
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 11:56
·
#184494
0
Votes
Undo
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 14:11
·
#184504
0
Votes
Undo
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 17:33
·
#184529
0
Votes
Undo
where did you find that code?
I'll eleminate it.
Thursday, 02 March 2017 19:13
·
#184531
0
Votes
Undo
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?
Friday, 03 March 2017 09:27
·
#184591
0
Votes
Undo
Sorry - yes I did disable Bootstrap as a test in the JEvents config and forgot to re-instate it when it didn't help.
  • Page :
  • 1
There are no replies made for this post yet.