Welcome to the LimeSurvey Community Forum

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

Remove footer and customize template

More
8 years 9 months ago #143955 by fawazomr
I have been a user for limesurvey for few years now. I believe that it is the greatest surveying tool.

I am working on installing it for a firm and I would like to remove "limesurvey" powered by etc... from everywhere. I like the Ubuntu template and I would like to change it a bit.

My question is; can I buy the template without reference or customize it myself to remove it? I always keep limesurvey powered by tag but I need to remove it this time.

I have attached a sample. Nonetheless, I want to take it out permanently and from whatever location it appears in.
The topic has been locked.
More
8 years 9 months ago #143957 by teracomp
I think you'll find all the info you need here:
www.limesurvey.org/manual/The_template_editor

My personal preference is to create custom templates per project so I can tailor the user interface as required.

Hope that helps!

Dave Phillips
The topic has been locked.
More
8 years 9 months ago #143965 by tpartner
I think the question is more about licensing. The templates are under the GNU/GPL License v2 or later license so you should be able to modify them as you see fit.

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
8 years 9 months ago #144001 by fawazomr
Thanks for the information. I will make sure that I give that page another look.
The topic has been locked.
More
8 years 9 months ago #144002 by fawazomr
I believe so. Maybe I didn't ask the question in a clear way.

When someone visits the survey listing page or the first page where people land when they type the website domain, there is this LimeSurvey Survey Software
The Online Survey Tool - Free & Open Source

How do I remove it.

Thanks
The topic has been locked.
More
8 years 9 months ago - 8 years 9 months ago #144004 by Joffm
Hi, fawazomr,

we know what you mean.
As teracomp said: Template editor.
You find this footer and the logo in "Surveylist page" / "surveylist.pstpl". Here you can remove or change or whatever.

And don't forget to set your default template to the new one without the footer.

Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 8 years 9 months ago by Joffm. Reason: Ergänzung
The topic has been locked.
More
8 years 9 months ago #144050 by fawazomr
Great. Thank you
The topic has been locked.
More
5 years 7 months ago #193363 by ymca

Joffm wrote: Hi, fawazomr,

we know what you mean.
As teracomp said: Template editor.
You find this footer and the logo in "Surveylist page" / "surveylist.pstpl". Here you can remove or change or whatever.

And don't forget to set your default template to the new one without the footer.

Regards
Joffm


Hi,

I didn't found the "surveylist.pstpl" and also saw here

www.limesurvey.org/manual/Theme_editor#A...bsolete_since_3.0.29

that it's obsolete, so where can I find an updated manual for these things?

LS Version 4.2+
The topic has been locked.
More
5 years 7 months ago #193364 by Joffm
Hi,
as you see, this thread is three years old.

The extension ".pstpl" was used in previous versions of LimeSurvey, up to 2.73.
As you read here
www.limesurvey.org/manual/New_Template_System_in_LS3.x
the template (now theme) system has changed. Now it depends on the twig engine..

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: ymca
The topic has been locked.
More
5 years 7 months ago - 5 years 7 months ago #193375 by ymca
I though it would be easier to understand.
Also didn't find there how to change/edit/remove the "logo/powered by".
Only been able to change the logo.png with a different one.
:(

p.s.
The site link goes to the old manual.

LS Version 4.2+
Last edit: 5 years 7 months ago by ymca.
The topic has been locked.
More
5 years 7 months ago #193376 by teracomp
My original post was based on version 2.x of Lime Survey. Version 3.x provides some great features for modifying the layout using Themes.

To begin with, use the Theme editor (Configuration...Themes) and Extend the default theme to create your own theme to customize as desired.

From there, edit your Theme as desired. In particular, use the custom.css to modify the interface to meet your needs.

If you can provide a link to your survey or specific requirements, I might be able to help you target the element you want to hide and recommend a solution.

Dave Phillips
The following user(s) said Thank You: ymca
The topic has been locked.
More
5 years 6 months ago - 5 years 6 months ago #193378 by ymca
Already extended my default Bootwatch theme.
Have loaded "custom.css" but it's empty.
Looked in "themes.css" and found the footer:
Code:
#surveyListFooter {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 80px;
    padding-top: 10px;
    margin-top: 10px;
 
    bottom: 0px;
    height: 60px;
}
@media (max-width: 768px){
    #surveyListFooter {
        padding-bottom: 40px;
        padding-top: 5px;
        margin-top: 5px;
        height: 40px;
    }
}

So I just delete it and the "powered by" will be gone?
Didn't work.

LS Version 4.2+
Last edit: 5 years 6 months ago by ymca.
The topic has been locked.
More
5 years 6 months ago #193379 by teracomp
Ah...now I see what you're working on. You're talking about the list of surveys page, not a particular survey. I missed that.

Here's the easiest way to fix that. Instead of deleting the themes.css rule, just add "display: none;" so you end up with:
Code:
#surveyListFooter {
    display: none;
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 80px;
    padding-top: 10px;
    margin-top: 10px;
 
    bottom: 0px;
    height: 60px;
}
@media (max-width: 768px){
    #surveyListFooter {
        display: none;
        padding-bottom: 40px;
        padding-top: 5px;
        margin-top: 5px;
        height: 40px;
    }
}

Technically, you can remove all of the rules and just have:
Code:
#surveyListFooter {
    display: none;
}

But you might want to visit this later.

See if that meets your needs.

Dave Phillips
The topic has been locked.
More
5 years 6 months ago #193380 by Joffm

The site link goes to the old manual.

It does not.
This shows the difference of the new theme strucure that - as I said before - was changed after the 2.50/2.73 branch.
And as teracomp wrote, the old thread was about this - old - structure.

So I just delete it and the "powered by" will be gone?

Usual question: Did you try?
But, no: you only delete a css snippet that set the height and padding on a small device.

You have to look for this part in the twig file.
Hint: "Umfragenliste" / layout_survey_list.twig
Here you will find the text, logo, and layout of the footer.

While the new layout of LS is based on bootstrap 3.3.7, you may use this to adapt the twig files.
getbootstrap.com/docs/3.3/

Here a link to learn a bit about the twig engine:
twig.symfony.com/doc/3.x/

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: ymca
The topic has been locked.
More
5 years 6 months ago #193382 by teracomp
Alternatively, as Joffm indicated, you can edit the twig file located on your server. In my case, I found the associated twig file at: {limesurvey}/themes/survey/vanilla/views/layout_survey_list.twig

Don't forget to make a backup copy. :)

Dave Phillips
The following user(s) said Thank You: ymca
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose