Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Popular ideas Here are this month's most popular ideas about LimeSurvey.

Each page an unique body class  
Written by tammo the 17 Jan 12 at 14:38. Global category: Templates. New
In some cases I want to switch design aspects on different pages.
Currently this is only partly possible (by putting
div class="group GROUPNAME"
in startgroup.pstl)

But sometimes a whole page needs another header, footer or color.

Giving each page an unique body class would make this possible. When each page is a group, it could be:
body class="groupidentification"
, this could even be an extra field on group definition pages, next to group name and group definition.

You could also do this on 1 question per page surveys.

0
votes
up equal down
Solution #1: Put it somewhere in the code
Written by tammo the 17 Jan 12 at 14:38.
I do not have programming skills, I am just a user, doing some templating. I wish I could...
1
votes
up equal down
Solution #2: Need more input
Written by Shnoulle the 4 Feb 12 at 14:03.
Think of this idea: http://ideas.limesurvey.org/ideatorrent/idea/343/

Can combine the 2 idea:
- extra input for survey : put in body (startpage.pstl and other)
- extra inout for group : add GROUP_ID and GROUP_CLASS in startgroup.pstpl, groupdescription, question.pstpl
- extra input for each question : included in QUESTION_CLASS (question.pstpl)



Add a comment or propose a solution >>