Welcome to the LimeSurvey Community Forum

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

Templateaufbau Version 2.0 vs. 2.5

  • frosch
  • frosch's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 months ago #145334 by frosch
Templateaufbau Version 2.0 vs. 2.5 was created by frosch
Hi,

ich stelle derzeit die Installation von 2.0x auf 2.5x um und bin eben mal die Templates durchgegangen. Ist es richtig, das sich die HTML-Struktur geändert hat oder habe ich as übersehen? Speziell wenn man eine Liste von Radiobuttons hat. In der alten Version hatte ich im Quellcode eine Liste ausgegeben (<ul><li></li></ul>) und in der neuen Version sehe ich nur noch divs. Ist das korrekt so oder ist da was schiefgelaufen bei der installation. Ich hatte mich nur gewundert, warum das CSS nicht mehr greift. Wenn alles korrekt ist, weshalb wurde denn das HTML von ul auf div geändert?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago - 7 years 3 months ago #145336 by holch
Replied by holch on topic Templateaufbau Version 2.0 vs. 2.5
Die Templates von 2.5 sind komplett anders aufgebaut als in den vorherigen Versionen.

Es gab entscheidende Änderungen in der Struktur und es wird jetzt Bootstrap verwendet. Ausserdem sind die Templates (halbwegs) mobileready.

Aber: Das Ganze wurde wohl nicht so 100% optimal umgesetzt. Zur Zeit wird an einer Optimierung der Templates gearbeitet und in der Version 3.0 (sollte Anfang nächsten Jahres rauskommen) dürfte wieder ein Bruch in den Templates kommen (d.h. 2.5er Templates funktionieren vermutlich dann in 3.0 auch nicht). Dann ist es aber hoffentlich ordentlich implementiert.

Ich persönlich warte jetzt noch ein bisschen, bis ich mich daran mache ein neues Template zu erstellen. Bis dahin begnüge ich mich mit ein paar Basisanpassungen (Logo rein, ein paar Farben verändern, mehr nicht). Wenn du jetzt viel Zeit in ein eigenes Template steckst, bist du vielleicht in 2-3 Monaten wieder dabei ein neues zu erstellen.

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

Last edit: 7 years 3 months ago by holch.
The topic has been locked.
  • frosch
  • frosch's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 months ago #145338 by frosch
Replied by frosch on topic Templateaufbau Version 2.0 vs. 2.5
Hi,

danke für die Info. Das hatte ich leider bis jetzt nicht gewußt und nun schon das Standard-Template in Version 2.5 mit größerem Aufwand angepasst, da es irgendwie nicht so ganz optimal ist. Da gefiel mir die HTML-Struktur vorher besser und jetzt mit Bootstrap funktionieren auch manche Dinge nicht bzw. müsste man dazu die HTML-Struktur ändern.

Wenn natürlich in paar Monaten wieder alles anders ist, dann fange ich wohl nochmal an :-) Hoffentlich ist dann Bootstrap etwas besser integriert bzw. so, das man Änderungen etwas leichter hinbekommt
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 3 months ago #145361 by tammo
Replied by tammo on topic Templateaufbau Version 2.0 vs. 2.5
Hi Frosch,

I am confident that in the 3.0 version (hopefully February 2017) the produced HTML is a lot better, but as always, I am also confident that there will be buggs, errors and things people do not like. Mainly Denis Chenu and Louis Gac have been working in cleaning up HTML. I did some testing (you can see what is done when you would install the develop branche from GIT) and I think they have done an awfull lot of good work. LS team is now looking into the possibility of introducing the TWIG templating engine, and with that making it a lot easier to override templates and introduce your own HTML.

When you are interested you can join me for testing. Hopefully this starts in December/January.

Tammo ter Hark


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
  • frosch
  • frosch's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 3 months ago - 7 years 3 months ago #145388 by frosch
Replied by frosch on topic Templateaufbau Version 2.0 vs. 2.5
Hi tammo,

thank you, that sounds good. Will change the template again after version 3 has been released.
Last edit: 7 years 3 months ago by frosch.
The topic has been locked.
More
7 years 1 month ago #148250 by psi
Replied by psi on topic Templateaufbau Version 2.0 vs. 2.5
Hi, wie sieht's jetzt mit der Version 3 aus?
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 1 month ago #148254 by tammo
Replied by tammo on topic Templateaufbau Version 2.0 vs. 2.5
In Github you can see that currently LouisGac is working on building in the Twig Engine. Planning would be this month.

github.com/LimeSurvey/LimeSurvey/commits/twig-layout


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: psi
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #148284 by holch
Replied by holch on topic Templateaufbau Version 2.0 vs. 2.5

Planning would be this month.

For the first alpha release, I guess, right? Until this is stable I would give it at least 1-2 additional months. But then, as we have seen before "stable" can be relative... ;-)

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

The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 1 month ago #148323 by tammo
Replied by tammo on topic Templateaufbau Version 2.0 vs. 2.5
I am afraid that it turns out that you are right. I am always hopefull that things may go faster...

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #148328 by holch
Replied by holch on topic Templateaufbau Version 2.0 vs. 2.5
Well, I am also always hopefull. But let's be honest, this is not only a LS or open source problem. Generally chances that things get done quicker than expected are low. Experience shows that generally you need to add a few days for ANY project. ;-)

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

The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 1 month ago #148329 by tammo
Replied by tammo on topic Templateaufbau Version 2.0 vs. 2.5
Yes. In life you are never sure, especially when doing OSS projects... ;-)

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
Moderators: Joffm

Lime-years ahead

Online-surveys for every purse and purpose