- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Logo
- lucapetardi
- Topic Author
- Offline
- New Member
Less
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
3 years 1 month ago #213109
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Logo
Hallo,
Dann würde ich es auch im Willkommen-Text einbinden.
Joffm
NUR auf der Willkommensseite?und ich muss auf der Willkommensseite noch ein zweitels Logo einfügen
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
3 years 1 month ago #213175
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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.
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
3 years 1 month ago - 3 years 1 month ago #213184
by Joffm
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
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11655
- Thank you received: 2740
3 years 1 month ago #213192
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
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