Welcome to the LimeSurvey Community Forum

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

Hide Survey Title - without editing template

More
9 years 5 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.
More
9 years 5 months ago #132529 by DenisChenu
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.
More
9 years 5 months ago #132535 by stemate1988
perfect cheers
The topic has been locked.
More
9 years 5 months ago #132563 by fvanderstarre
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.
More
9 years 5 months ago #132574 by tpartner
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.
More
9 years 5 months ago #132599 by stemate1988
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.
More
9 years 5 months ago #132609 by tpartner
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.
More
9 years 5 months ago #132628 by stemate1988
cleared cache and I've tried on chrome and IE11, still no joy
The topic has been locked.
More
9 years 5 months ago #132636 by tpartner
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.
More
9 years 5 months ago #132639 by stemate1988
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.
More
9 years 5 months ago - 9 years 5 months ago #132698 by DenisChenu
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: 9 years 5 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