View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05134Bug reportsSurvey editingpublic2011-05-15 12:27
Reportergwenguillaume Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91RC6 
Summary05134: 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

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)1.91
I will donate to the project if issue is resolvedNo
BrowserIE8
Database type & versionPostgres
Server OS (if known)2003 server
Webserver software & version (if known)IIS
PHP Version5.2.11

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-04-28 15:07

administrator   ~14874

Which template are you using?

gwenguillaume

gwenguillaume

2011-04-28 16:52

reporter   ~14875

Last edited: 2011-04-28 16:52

default template but with other it's same
Thks

c_schmitz

c_schmitz

2011-05-06 17:24

administrator   ~14940

I think most templates don't support it yet. Tony, can you have your famous look at it?

tpartner

tpartner

2011-05-06 17:58

partner   ~14942

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?

c_schmitz

c_schmitz

2011-05-06 20:55

administrator   ~14948

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.

tpartner

tpartner

2011-05-06 22:31

partner   ~14950

Okay.

How about I use a little snippet in template.js to get rid of the white spaces if both are disabled? :)

c_schmitz

c_schmitz

2011-05-07 09:03

administrator   ~14953

if that is possible, sure.

tpartner

tpartner

2011-05-10 14:08

partner   ~14968

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?

tpartner

tpartner

2011-05-10 14:18

partner   ~14969

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.

c_schmitz

c_schmitz

2011-05-10 14:24

administrator   ~14970

I agree regarding the default setting
Please make the changes also in the dev version. thank you!

tpartner

tpartner

2011-05-10 15:10

partner   ~14972

Fixed in revision 10052.

Issue History

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