Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: New jquery ui theme

New jquery ui theme 5 years 5 months ago #62625

  • Earl
  • Earl's Avatar
  • Offline
  • Senior Lime
  • Posts: 41
  • Thank you received: 1
  • Karma: 3
Hello,

I would like to have my own jquery ui theme for my surveys to change the looks of sliders, keypads, some other stuff I made etc.
Can somebody please tell my which files I will have to replace.
What problems might occur?
I am using 1.91 and a template based on mint-idea.

Thank You
Earl
The administrator has disabled public write access.

New jquery ui theme 5 years 5 months ago #62628

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
Hello,

CSS => Cascading Style Sheet

Then add your jquery-ui.css and image directory in your template (by ftp), and add the css link to the head (startpage.pstpl).

:)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Aw: Re: New jquery ui theme 5 years 5 months ago #62641

  • Earl
  • Earl's Avatar
  • Offline
  • Senior Lime
  • Posts: 41
  • Thank you received: 1
  • Karma: 3
Hi,
Thank You!
This works fine on most part. But it is still confusing.
My progress-bar still looks the same, so i asked 'firebug'and he tells me that it gets styles from:
1: template.css => thats ok
2: jquery-ui-...custom.css => ok thats my theme
3: jquery-ui.css ??
4: jquery-ui #2 ??no idea what that is !???

Same with my drag&drop rankings, but they look the way I want

I have some 'drag-stuff-around-and-drop-it-on-positions-of-your-choice'-questions. The draggables do not get any jquery-ui styles??? - but they should.

I wonder if I should replace '...limesurvey/scripts/js/start/css/jquery-ui.css' (and '..../images')with my theme.
Could there be any unwanted side effects if I do so??

I hope somebody can understand my poor english.

Thanks
Earl
Last Edit: 5 years 5 months ago by Earl.
The administrator has disabled public write access.

Aw: Re: New jquery ui theme 5 years 5 months ago #62647

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6572
  • Thank you received: 1477
  • Karma: 579
In startpage.pstpl, did you add the link to your custom ui.css file after the {TEMPLATECSS} placeholder? If so, it should override all other files.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Aw: Re: Aw: Re: New jquery ui theme 5 years 5 months ago #62656

  • Earl
  • Earl's Avatar
  • Offline
  • Senior Lime
  • Posts: 41
  • Thank you received: 1
  • Karma: 3
Yes, I did add it after {TEMPLATECSS}.
Maybe I should go through all my codes and stuff to see where I messed up things and clean it up. I think I was doing too much 'change here a little bit, add stuff here and there'...loosing track of the whole structure.

One last question to understand things better:
How does my survey get styles from '...limesurvey/scripts/js/start/css/jquery-ui.css'? I cannot find any link to that.

Thank You Guys
Earl
The administrator has disabled public write access.

Aw: Re: Aw: Re: New jquery ui theme 5 years 5 months ago #62669

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6572
  • Thank you received: 1477
  • Karma: 579
That link is inserted by the core code (common_functions.php).
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Aw: Re: Aw: Re: Aw: Re: New jquery ui theme 5 years 5 months ago #62784

  • Earl
  • Earl's Avatar
  • Offline
  • Senior Lime
  • Posts: 41
  • Thank you received: 1
  • Karma: 3
Thank You!!
The administrator has disabled public write access.
Time to create page: 0.245 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form