This happens at the dnn.jquery.js script (/* DNN customized checkbox/radiobox */). It makes changes for all checkboxes and radiobuttons: controls are hidden, but instead it shows styled span.
It looks beauty and great, but sometimes i need simple HTML checkboxes, like this . Had to digg a lot, but have not found where is a problem. So had to check myself and found easy fix. All you need to show simple checkbox or radiobox, just add class="normalCheckBox" or "normalRadioButton" and your controls will be standard.
Enjoy :)
This worked awesome! I upgraded from DNN 6 to DNN 7 and many of my controls were no longer displaying any radiobuttons, just a list. Added the class and voila! worked as expected.
ReplyDeleteGlad it helps you :)
ReplyDeleteI also thank you. I've spent some time on this and not being a fully fledged web developer, really had no idea how to resolve this problem. The documentation on this from DNN is as per usual terrible. Only problem now is I have to search through the code and find all the references and test everyone to ensure it's all back to normal. The upgrade to DNN 7 has had a lot of little skin issues. I'd rather they made all the changes in the applied skins rather than in the default and using Javascript to make even more changes that aren't easily seen.
ReplyDeleteRant over! Thanks for your help.
Nolan
ReplyDeleteNp, you are welcome :)
Sergey
was going bonkers trying to get my jquery ui custom radio button set to work. Everywhere gave these crazy complex answers. I truly appreciate the simplicity and elegance of your solution. Thanks!
ReplyDeleteGlad you like it, Mark!
ReplyDeleteAny idea if this has changed again in DNN7.3?
ReplyDeleteMy normalCheckBox does no longer behave as normal in my DNN-module, however it is fine in a jsfiddle...
At clear DNN installation 7.3.4 it works fine. Can you double check your file Resources\Shared\scripts\dnn.jquery.js is the correct one (you can compare with file from installation).
ReplyDelete