Welcome to the LimeSurvey Community Forum

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

Hide Survey Title - without editing template

  • stemate1988
  • stemate1988's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 8 months ago #132527 by stemate1988
Afternoon,

Is it possible I can hide the survey title on two of my surveys without editing the template?
I don't want other surveys using the template to have their title hidden.

Any help is much appreciated.
Cheers
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
8 years 8 months ago #132529 by DenisChenu
Replied by DenisChenu on topic Hide Survey Title - without editing template
Hi
Code:
<span style="display:none">The Survey title</span>

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: stemate1988
The topic has been locked.
  • stemate1988
  • stemate1988's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 8 months ago #132535 by stemate1988
Replied by stemate1988 on topic Hide Survey Title - without editing template
perfect cheers
The topic has been locked.
More
8 years 8 months ago #132563 by fvanderstarre
Replied by fvanderstarre on topic Hide Survey Title - without editing template
In Firefox (44.0.2) it will still be shown in the browser window title; not in IE 11 or Chrome.
Frank
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #132574 by tpartner
Replied by tpartner on topic Hide Survey Title - without editing template
Try this in the survey Description:

Code:
<script type="text/javascript">
  $(document).ready(function() {
    document.title = '...';
  });
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • stemate1988
  • stemate1988's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 8 months ago #132599 by stemate1988
Replied by stemate1988 on topic Hide Survey Title - without editing template
cheers for the help and advice guys.

tpartner - that bit of javascript didnt work unfortunately on my survey for some reason. I'm using version 2.00+ could that be the reason?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #132609 by tpartner
Replied by tpartner on topic Hide Survey Title - without editing template
Hmm...works for me. What browser did you test with? And, did you clear your cache?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • stemate1988
  • stemate1988's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 8 months ago #132628 by stemate1988
Replied by stemate1988 on topic Hide Survey Title - without editing template
cleared cache and I've tried on chrome and IE11, still no joy
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #132636 by tpartner
Replied by tpartner on topic Hide Survey Title - without editing template
Well, yes, you have "Demo Survey" in the script so that is what will be shown.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: stemate1988
The topic has been locked.
  • stemate1988
  • stemate1988's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 8 months ago #132639 by stemate1988
Replied by stemate1988 on topic Hide Survey Title - without editing template
Sorry tpartner my fault, i thought what you provided was another way to hide the title.
That's working great thanks alot
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
8 years 8 months ago - 8 years 8 months ago #132698 by DenisChenu
Replied by DenisChenu on topic Hide Survey Title - without editing template
Oups .... didn't read

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 8 years 8 months ago by DenisChenu. Reason: Oups .... didn't read
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose