Welcome to the LimeSurvey Community Forum

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

Logo

  • lucapetardi
  • lucapetardi's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 month ago #213107 by lucapetardi
Logo was created by lucapetardi
Hallo, ich benutze die folgende Version 3.22.4+200212
Ich benutze ein Template der von der Uni freigegeben und ich muss auf der Willkommensseite noch ein zweitels Logo einfügen.Hab mehrmals probiert (unter Designvorlage-Optionen) , aber jedesmal kann ich mein Bild nicht aufladen (es zeigt undefined auf).
Bitte wenn jemand eine einfache Lösiung hätte.
Danke
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 month ago #213109 by Joffm
Replied by Joffm on topic Logo
Hallo,

und ich muss auf der Willkommensseite noch ein zweitels Logo einfügen

NUR auf der Willkommensseite?
Dann würde ich es auch im Willkommen-Text einbinden.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • lucapetardi
  • lucapetardi's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 month ago #213166 by lucapetardi
Replied by lucapetardi on topic Logo
Also, nein hab falsch erklärt.
Es soll überall aufkommen da der aktuelle Logo auch auf jede Seite zu sehen ist.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 month ago #213175 by Joffm
Replied by Joffm on topic Logo
Dann musst Du es in der "nav_bar.twig" hinzufügen.

Beispiel (Hier das als Brandlogo definierte sowie ein weiteres)
 

Einfach dazuschreiben.
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 pull-left"}) }}
                <img border="0" alt="LimeSurvey3" src="/lime3/upload/surveys/{{ aSurveyInfo.sid }}/images/Boot003_klein.jpg" class="logo img-responsive pull-left" hspace="15" vspace="10">

Du siehst, dass ich beim brandlogo noch "pull-left" hinzugefügt habe und beim zusätzlichen Logo noch vspace und hspace. Da musst Du einfach gucken, wie es bei Dir passt.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • lucapetardi
  • lucapetardi's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 month ago #213179 by lucapetardi
Replied by lucapetardi on topic Logo
Danke für deine Antwort, ich weiß aber nicht wo ich diesen Text schreiben muss. Sorry aber es ist das erste Mal dass ich mit LimeSurvey arbeite.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 month ago - 3 years 1 month ago #213184 by Joffm
Replied by Joffm on topic Logo

Dann musst Du es in der "nav_bar.twig" hinzufügen.


Theme editor:
[url] manual.limesurvey.org/New_Template_System_in_LS3.x [/url]


Joffm

PS
Im Handbuch findest Du auch eine kürzere - mehr an twig angelegte - Schreibweise

 {{ image("./files/Boot001_klein.jpg","AltText", {"class": "logo img-responsive pull-left"}) }}


Hierbei wird das Logo im files-Verzeichnis des Themes gespeichert (ist auch logischer), während in meiner ersten Lösung ja der gesamte Pfad angegeben wurde.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 1 month ago by Joffm.
The following user(s) said Thank You: lucapetardi
The topic has been locked.
  • lucapetardi
  • lucapetardi's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 month ago #213187 by lucapetardi
Replied by lucapetardi on topic Logo
Funktioniert leider nicht, ich kann meine Templates nicht öffnen. Ich glaub das liegt daran, dass es um eine freigegeben Version der UNI handelt.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 month ago #213192 by holch
Replied by holch on topic Logo
Richtig, wenn die Uni dir die Rechte dazu nicht gibt, dann kannst du da nichts an den Templates machen.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: lucapetardi
The topic has been locked.
Moderators: Joffm

Lime-years ahead

Online-surveys for every purse and purpose