Updated 2.0: Template

More
4 years 4 months ago #91563 by vs_arni
vs_arni created the topic: Updated 2.0: Template
Hi, I use a personalized template, by LS personnel.
I have updated to 2.0 release, and now it appears a "0%" and "100%" on the left-top of the screen for every answer. I don't want it.

But... I try to attach a 16Kb screebshot to let see you, but I am no able!
How can I do?

TIA
Arnaldo

Please Log in to join the conversation.

More
4 years 3 months ago #91610 by helper
helper replied the topic: Updated 2.0: Template
The "0%" and "100%" are probably your progress bar. Try changing this setting to "No" in your survey > Survey properties > General settings > Presentation & navigation.

Please Log in to join the conversation.

More
4 years 3 months ago #91615 by vs_arni
vs_arni replied the topic: Updated 2.0: Template
Yes, if I set "no" it desappears.
But before the update I always used the "yes" setting and there was a beautiful white progress bar. Now I have two static numbers for all questions, "0%" and "100%".

Arnaldo.

Please Log in to join the conversation.

More
4 years 3 months ago #91638 by helper
helper replied the topic: Updated 2.0: Template
You may want to update your CSS with the following:
#progress-pre, #progress-post {display:none;}

This should hide the two values, and how you style your progressbar is up to you :)

Please Log in to join the conversation.

More
4 years 3 months ago #91641 by vs_arni
vs_arni replied the topic: Updated 2.0: Template
Yes. But I would say that in the passage from 1.9x to 2.0 release, something has gone wrong. In the previous version the progress bar was running well. Not in this one.

Please Log in to join the conversation.

More
4 years 2 months ago #93968 by Limer2001
Limer2001 replied the topic: Updated 2.0: Template
I have the same problem, the progress bar is broken on all my templates after upgrading 1.92 > 2.00 +

Anyone have an idea how to fix it?
The following user(s) said Thank You: vs_arni

Please Log in to join the conversation.

More
4 years 1 week ago #95956 by de_chris
de_chris replied the topic: Updated 2.0: Template
Anyone a solution for the progressbar?
Same problem here after upgrade. Created bug report.

Please Log in to join the conversation.

More
4 years 1 week ago #95957 by Limer2001
Limer2001 replied the topic: Updated 2.0: Template
Recently fixed it posted the solution in this topic: www.limesurvey.org/de/forum/installation...-work-in-ls-20#95634




Fixed the progress bar! :)


Fixed it by adding the following code to template.css in my custom template. I took this code from the default template.


/** Progress bar **/
#progress-wrapper .ui-widget-content {
border: 1px solid #999999;
}

#progress-wrapper .ui-widget-header {
background-color: #CCCCCC;
border: 1px solid #999999;
}

.page-odd td.graph {
background-color: #D2F2D3;
}

.ui-progressbar { height:1em; width:8em; text-align: left; overflow: hidden; }
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }


#progress-pre{display:none;} /**hides the "0%" text **/

#progress-post {font-size:10px}
The following user(s) said Thank You: de_chris

Please Log in to join the conversation.

More
4 years 1 week ago #95975 by DenisChenu
DenisChenu replied the topic: Updated 2.0: Template
Look if you have {TEMPLATEJS} in your startpage.pstpl.

It's must be done during update process, but sometimes it fail (and you have this information in the update process).

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: de_chris

Please Log in to join the conversation.

More
4 years 1 week ago - 4 years 1 week ago #95993 by de_chris
de_chris replied the topic: Updated 2.0: Template
Thanks for the fast reply. Although {TEMPLATEJS} is available there is only a div with the id "progressbar" but no classes and no content. Therefore solution by Limer2001 won't work.
To reproduce:
installed a fresh version 2.0+
exported my template in version 192
imported my template to version 2.0+
Last Edit: 4 years 1 week ago by de_chris.

Please Log in to join the conversation.

More
4 years 1 week ago #95997 by DenisChenu
DenisChenu replied the topic: Updated 2.0: Template

de_chris wrote: Thanks for the fast reply. Although {TEMPLATEJS} is available there is only a div with the id "progressbar" but no classes and no content. Therefore solution by Limer2001 won't work.
To reproduce:
installed a fresh version 2.0+
exported my template in version 192
imported my template to version 2.0+

Then javascript work ?
You don't have javascript broken somewhere (use you javascript console )

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 1 week ago - 4 years 1 week ago #96032 by de_chris
de_chris replied the topic: Updated 2.0: Template
Identified problem:
My script folder was missing in the export, don't know why seams to be a bug or a feature of Limesurvey version 1.92.
Manually added it again and works.

CLOSED :) :)
Last Edit: 4 years 1 week ago by de_chris.

Please Log in to join the conversation.

More
4 years 6 days ago #96113 by DenisChenu
DenisChenu replied the topic: Updated 2.0: Template
1.92 template don't use sub-folder, only take files in first directory.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now