Welcome to the LimeSurvey Community Forum

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

2 Logos einfügen

  • Freiwilligendienst
  • Freiwilligendienst's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #192946 by Freiwilligendienst
2 Logos einfügen was created by Freiwilligendienst
Hallo in die Runde,

ich bin gerade dabei eine Designvorlage für meinen Unternehmen zu erstellen. Hierbei kam die Frage auf, ob es auch möglich ist zwei Logos in die Designvorlage zu übernehmen. Das Einfügen eines Logos hat ohne Probleme geklappt.

Vielleicht kann mir hier jemand helfen. Vielen lieben DANK!

Liebe Grüße
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #192948 by Joffm
Replied by Joffm on topic 2 Logos einfügen
Hallo,
also ICH spiele dazu gerne in der "navbar.twig" hier
Code:
{% if( aSurveyInfo.options.brandlogo == "on") %}
            <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container hidden-xs"  {{ aSurveyInfo.attr.navbarbrand }}  >
{#
                {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }}  
#}
                {{ image('./files/logo.png', 'alt-text for my file', {"class": "img-responsive pull-left"}) }}           
                {{ image('./files/logo_pdf.png', 'alt-text for my file', {"class": "img-responsive pull-right"}) }}           
            </div>
        {% else %}
            <div class="{{ aSurveyInfo.class.navbarbrand }}"  {{ aSurveyInfo.attr.navbarbrand }} >
                {{ aSurveyInfo.name }}
            </div>
        {% endif %}



Hier kann man sich eigentlich richtig "austoben" mit allem, was bootstrap zu bieten hat.
Und dann noch in der "theme.css" das entsprechende "Look & Feel" dazu.

Aber ich muss zugeben, ich bin da kein richtiger Experte.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Freiwilligendienst
  • Freiwilligendienst's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #193074 by Freiwilligendienst
Replied by Freiwilligendienst on topic 2 Logos einfügen
Hey Joffm,

das hat schon super geklappt. Leider habe ich noch das Problem, dass mir das eine Logo doppelt angezeigt wird. hast du vielleicht eine Idee, woran das liegen kann?

Liebe Grüße
Attachments:
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #193083 by Joffm
Replied by Joffm on topic 2 Logos einfügen
Klar,
falls Du in den Optionen ein Logo file angegeben hast, wird dies ja angezeigt,
und zusätzlich noch die beiden anderen, die Du dann händisch eingebunden hast.

Diese erste Zeile hatte ich ja in meinem Beispiel auskommentiert.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
Moderators: Joffm

Lime-years ahead

Online-surveys for every purse and purpose