View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05134 | Bug reports | Survey editing | public | 2011-04-26 20:40 | 2011-05-15 12:27 |
| Reporter | gwenguillaume | Assigned To | tpartner | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.91RC6 | ||||
| Summary | 05134: I cannot display question number and/or code | ||||
| Description | I activated option Show question number and/or code with both active but when i execute the survey they doesn't appear | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 1.91 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | IE8 | ||||
| Database type & version | Postgres | ||||
| Server OS (if known) | 2003 server | ||||
| Webserver software & version (if known) | IIS | ||||
| PHP Version | 5.2.11 | ||||
|
Which template are you using? |
|
|
default template but with other it's same |
|
|
I think most templates don't support it yet. Tony, can you have your famous look at it? |
|
|
gwenguillaume, you need to add the {QUESTION_NUMBER} and/or {QUESTION_CODE} placeholder(s) to your template (in question.pstpl). c_schmitz, I can add these placeholders to the shipped templates but I will also need to add a semi-colon or something between them and the question text. This semi-colon would remain regardless of the $showqnumcode setting and would look odd if $showqnumcode=none. Your thoughts? |
|
|
Hm.. just add a space between them. If the settings defaults to both 'off' it shoudl be fine. In all other cases the user has to customize the template to his liking. |
|
|
Okay. How about I use a little snippet in template.js to get rid of the white spaces if both are disabled? :) |
|
|
if that is possible, sure. |
|
|
c_schmitz, I've checked in the changes to the 1.91 templates. Before I close the bug, do we still need to apply all fixes to the dev branch as well, or will they be merged later? |
|
|
Another thought Carsten, now that we have added the placeholders, maybe we should change the default setting for "Show question number and/or code" from "Show question number only" to "Hide both" so folks with existing surveys don't sudddenly have question numbers/codes appear. |
|
|
I agree regarding the default setting |
|
|
Fixed in revision 10052. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-04-26 20:40 | gwenguillaume | New Issue | |
| 2011-04-28 15:07 | c_schmitz | Assigned To | => c_schmitz |
| 2011-04-28 15:07 | c_schmitz | Status | new => assigned |
| 2011-04-28 15:07 | c_schmitz | Note Added: 14874 | |
| 2011-04-28 16:52 | gwenguillaume | Note Added: 14875 | |
| 2011-04-28 16:52 | gwenguillaume | Note Edited: 14875 | |
| 2011-05-06 17:24 | c_schmitz | Assigned To | c_schmitz => tpartner |
| 2011-05-06 17:24 | c_schmitz | Note Added: 14940 | |
| 2011-05-06 17:58 | tpartner | Note Added: 14942 | |
| 2011-05-06 20:55 | c_schmitz | Note Added: 14948 | |
| 2011-05-06 22:31 | tpartner | Note Added: 14950 | |
| 2011-05-07 09:03 | c_schmitz | Note Added: 14953 | |
| 2011-05-10 14:08 | tpartner | Note Added: 14968 | |
| 2011-05-10 14:18 | tpartner | Note Added: 14969 | |
| 2011-05-10 14:24 | c_schmitz | Note Added: 14970 | |
| 2011-05-10 15:10 | tpartner | Note Added: 14972 | |
| 2011-05-10 15:10 | tpartner | Status | assigned => resolved |
| 2011-05-10 15:10 | tpartner | Resolution | open => fixed |
| 2011-05-15 12:27 | c_schmitz | Status | resolved => closed |
| 2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |