Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

I can't show question numbers or codes ?

  • persmash
  • persmash's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #61228 by persmash
Hi. I've two problems with limesurvey.
First, I can't show question number or codes in survey. I was using 1.91 RC4. I searched for this issue and find a suggestion to do update.
I've updated 1.91 Build 10089. The problem didn't solved. And there is a text right above in admin panel that always says new update available 1.91 Update 10089. I'm also using this version. What is this update? And one more thing, I can't use ComfortUpdate. The server is always busy.

As a result, I need to show question number or codes immediately. The survey is waiting for this to be released.
Thanks in advance...
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 10 months ago #61232 by holch
Replied by holch on topic I can't show question numbers or codes ?
What do you mean with "you can't show question number or codes in survey"?

You want them to appear in your survey, like:

"Question1: This is the question text" instead of just "This is the question text"?

You probably need to change/add that in your template. What template are you using?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • persmash
  • persmash's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #61243 by persmash
Replied by persmash on topic I can't show question numbers or codes ?
Yes. I mean exactly what you said.
I'm using default template.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 10 months ago #61260 by tpartner
Replied by tpartner on topic I can't show question numbers or codes ?
Did you set "Show group name and/or group description" in the Presentation &; navigation tab?


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • persmash
  • persmash's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #61302 by persmash
Replied by persmash on topic I can't show question numbers or codes ?
Yes. I made it.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 10 months ago #61313 by tpartner
Replied by tpartner on topic I can't show question numbers or codes ?
Could you please post the contents of your question.pstpl file and maybe a link to a test survey?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • persmash
  • persmash's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #61315 by persmash
Replied by persmash on topic I can't show question numbers or codes ?
I'm so sorry. It is a private survey.
But I can send you question.pstpl code.
Here it is:
Code:
<div {QUESTION_ESSENTIALS} class="{QUESTION_CLASS}{QUESTION_MAN_CLASS}{QUESTION_INPUT_ERROR_CLASS}">
  <table class="question-wrapper">
    <tr>
      <td class="questiontext">
        <span class="asterisk">{QUESTION_MANDATORY}</span>{QUESTION_TEXT}<br /><span class="questionhelp">{QUESTION_HELP}</span>
        {QUESTION_MAN_MESSAGE}
        {QUESTION_VALID_MESSAGE}
      </td>
    </tr>
    <tr>
      <td class="answer">
        {ANSWER}
      </td>
    </tr>
    <tr>
      <td class="survey-question-help">
        {QUESTIONHELP}
      </td>
    </tr>
  </table>
</div>
The topic has been locked.
  • persmash
  • persmash's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #61316 by persmash
Replied by persmash on topic I can't show question numbers or codes ?
I've solved the problem.
When I updated my question.pstpl file with a new version, the problem is solved.
Thank you very much...
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 10 months ago #61318 by tpartner
Replied by tpartner on topic I can't show question numbers or codes ?
Cool.

For other users - question.pstpl must contain the {QUESTION_NUMBER} and/or {QUESTION_CODE} placeholders.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • persmash
  • persmash's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #61320 by persmash
Replied by persmash on topic I can't show question numbers or codes ?
I need to ask you something more.
As I said before, I've updated my LimeSurvey but there is some errors.
If you can get in touch with me, I want to give you admin username and password, and I want you to check my settings if you are available.
Thanks in advance...
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 10 months ago #61321 by tpartner
Replied by tpartner on topic I can't show question numbers or codes ?
I'm not sure I'm the right guy to help you with updating. I'm more of a client-side (front end) guy that a server expert.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • persmash
  • persmash's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #61322 by persmash
Replied by persmash on topic I can't show question numbers or codes ?
One more question:
I've copied of default template and now I'm working on copy_of_default template. But I can't find its folder on templates folder. Is it same as default?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose