Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Custom check boxes and radio buttons

Custom check boxes and radio buttons 5 years 3 weeks ago #55203

  • ftrifoglio
  • ftrifoglio's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 1
my startpage.pstpl includes just the template.css and the template.js

I tried to add the following line then but nothing yet.
<script type="text/javascript" src="{TEMPLATEURL}jquery-1.4.4.min"></script>

Then I noticed that if I do all that stuff the progress bar disappear.
Last Edit: 5 years 3 weeks ago by ftrifoglio.
The administrator has disabled public write access.

Custom check boxes and radio buttons 5 years 3 weeks ago #55219

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5408
  • Thank you received: 1154
  • Karma: 479
Hmm...seems that the code got mangled in my original post. The code to be added to the beginning of startpage.pstpl should be:

File Attachment:

File Name: new_2_2011-01-18.txt
File Size:0 KB



This code, among other things, will change the source of the original link to jQuery to the new file you have included in your template. This means that only the new jQuery is loaded so there is no conflict.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 5 years 3 weeks ago by tpartner.
The administrator has disabled public write access.

Custom check boxes and radio buttons 5 years 3 weeks ago #55221

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5408
  • Thank you received: 1154
  • Karma: 479
Okay, this forum software is pissing me off! It won't let me insert the code. Line 5 in the above should be as in the attached.

File Attachment:

File Name: new_2.txt
File Size:0 KB
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 5 years 3 weeks ago by tpartner.
The administrator has disabled public write access.

Custom check boxes and radio buttons 5 years 3 weeks ago #55231

  • ftrifoglio
  • ftrifoglio's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 1
ok it makes sense now, but still don't work for me.

it looks like that on chrome8 (but also in ie9). In firefox3 it's like nothing changed.





the progress bar disappears and just the first radio button looks as it should be but it's not selectable.
The administrator has disabled public write access.

Custom check boxes and radio buttons 5 years 3 weeks ago #55264

  • ftrifoglio
  • ftrifoglio's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 1
I followed what did holch in this survey www.ivp-surveys.com/sc/091SL/index.php?sid=29851&lang=en

I added the following code to the startpage.pstpl

File Attachment:

File Name: 2.txt
File Size:1 KB


Everything is ok but the progress bar disappears and the radio button are not markable. Actually they are but you have to click on the label. In the array the radio buttons work fine.
The administrator has disabled public write access.

Custom check boxes and radio buttons 5 years 3 weeks ago #55268

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5408
  • Thank you received: 1154
  • Karma: 479
Everything is ok but the progress bar disappears and the radio button are not markable.
That's the jQuery conflict.

I can get it to work in 1.91RC2 but not in 1.90. Still investigating...
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Custom check boxes and radio buttons 5 years 5 days ago #56329

  • ftrifoglio
  • ftrifoglio's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 1
I did get the chance to install the 1.91RC2 and it works fine.

I had to change a little bit the template.css because on some questions type (list radio, gender) the button was not markable. The span that contains the button background didn't overlap the input.
The administrator has disabled public write access.

Custom check boxes and radio buttons 5 years 5 days ago #56331

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5840
  • Thank you received: 347
  • Karma: 261
Thanks for your feedback!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.430 seconds