Welcome to the LimeSurvey Community Forum

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

SkelVanilla logo issues

  • bulgin
  • bulgin's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 2 weeks ago #196401 by bulgin
SkelVanilla logo issues was created by bulgin
Hello.

Version 3.22.11+200330
Extends_SkelVanilla Theme

I need to NOT show the survey title next to the Survey Logo, but it keeps showing.

Theme Options | Brand Logo | Yes -> my uploaded logo
Theme Options | Survey List Logo | No
Saved
Cache cleared

Survey List title is still showing next to my custom logo.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196402 by Joffm
Replied by Joffm on topic SkelVanilla logo issues
Hi,
I do not see an option in "theme options" to hide or show the survey title.
So just comment out the line
{{ pagetitle ?: flatString(processString(aSurveyInfo.surveyls_title,1)) }}
in "nav_bar.twig"

Joffm




Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • bulgin
  • bulgin's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 1 week ago #196416 by bulgin
Replied by bulgin on topic SkelVanilla logo issues
Thanks Joffm! That worked perfectly!

Please stay safe, wash hands, and keep positive outlook. This will end.
The topic has been locked.
More
3 years 10 months ago - 3 years 10 months ago #201031 by asilbering
Replied by asilbering on topic SkelVanilla logo issues
Hi !Is there a way to change the logo that appears on the navigator tab?I think the current logo is the one of Denis' company, but I would like to have either no logo or the limesurvey logo as usual.Thanks in advance!Best, Ana
Last edit: 3 years 10 months ago by asilbering.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago - 3 years 10 months ago #201033 by Joffm
Replied by Joffm on topic SkelVanilla logo issues
This is the favicon.ico.
Upload a different one with name "favicon.ico" to your theme.


Here is one of my tries - nothing special.

Or just remove this file from the theme

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 10 months ago by Joffm.
The topic has been locked.
More
3 years 10 months ago #201037 by asilbering
Replied by asilbering on topic SkelVanilla logo issues
I seem to be out of luck today... that didn't work...
Thanks anyway!
I will have a look at this later.

Best,
Ana
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201044 by tpartner
Replied by tpartner on topic SkelVanilla logo issues

asilbering wrote: I seem to be out of luck today... that didn't work...

Many browsers cache the .ico files for an extended period of time and this cannot be overridden by clearing the browser cache. Try in a different browser.

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: cdorin
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201045 by tpartner
Replied by tpartner on topic SkelVanilla logo issues
...alternatively, extend the theme and edit custom_header.twig.

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
3 years 10 months ago #201143 by asilbering
Replied by asilbering on topic SkelVanilla logo issues
Hi Tony,

thanks a lot for your feedback. I commented out the following lines in custom_header.twig:

{# Custom logo option
{% if ( aSurveyInfo.options.brandlogo == "on" ) %}
body .top-container {
margin-top: 70px;
}
</style>
{% endif %} #}

But I see no difference. Was this what you suggested?

I have also tried other browsers with no luck.

I found the following lines in header.twig :

<link rel="shortcut icon" href="{{ imageSrc('./files/favicon.ico') }}" />
<script type="text/javascript">
if(window.basicThemeScripts === undefined){
window.basicThemeScripts = new ThemeScripts();
}

But commenting this out didn't help either.
Do you think this is also due to the cache?
Maybe I should contact Denis...

Thanks in advance for your help.

Best,

Ana
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago - 3 years 10 months ago #201144 by Joffm
Replied by Joffm on topic SkelVanilla logo issues
Hi, initially it looks like this:


In my extended "skelvanilla" :

My first try was to rename the files in "custom_header.twig"
<link rel="icon" type="image/png" sizes="32x32" href="{{ imageSrc('files/favicon-32x321.png') }}">
<link rel="icon" type="image/png" sizes="96x96" href="{{ imageSrc('files/favicon-96x961.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ imageSrc('files/favicon-16x161.png') }}">

I got this



Next try:
I uploaded the "favicon.ico" from "themes/admin" to my extendend skelvanilla theme
I added this line to "custom_header.twig²
<link rel="icon" type="image/png" sizes="16x16" href="{{ imageSrc('files/favicon.ico') }}">
Now I got this


So renaming or even removing these three files and uploading your own favicon.ico seems to work.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 10 months ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
3 years 10 months ago #201146 by asilbering
Replied by asilbering on topic SkelVanilla logo issues
Thanks a lot!! That worked ! I think the problem was that I tried to modify the original theme, rather than extending the theme before (sorry for overseeing that !).
Have a nice day.

Ana
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201401 by DenisChenu
Replied by DenisChenu on topic SkelVanilla logo issues
custom_header.twig is done for this …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose