x

Main chapters

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Quick start guide
  3. LimeSurvey CE - Installation
  4. How to design a good survey (Guide)
  5. Getting started
  6. LimeSurvey configuration
  7. Introduction - Surveys
  8. View survey settings
  9. View survey menu
  10. View survey structure
  11. Introduction - Questions
  12. Introduction - Question Groups
  13. Introduction - Surveys - Management
  14. Survey toolbar options
  15. Multilingual survey
  16. Quick start guide - ExpressionScript
  17. Advanced features
  18. General FAQ
  19. Troubleshooting
  20. Workarounds
  21. License
  22. Version change log
  23. Plugins - Advanced
 Actions

Custom Admin Themes

From LimeSurvey Manual

Revision as of 14:35, 19 November 2018 by Markusd1984 (talk | contribs) (added steps for 3.0 and highlight editing AdminTheme.php)

LimeSurvey Version 2.06

Creating a new theme

  • In /yourLimeSurveyDirectory/styles/, copy and rename one of the core admin theme directories
  • In Global settings --> General, activate the new theme

Insert a JavaScript file into a custom theme

See the workaround here.

LimeSurvey Version 2.5

Creating a new theme

  • Copy one of the themes from /yourLimeSurveyDirectory/styles to /yourLimeSurveyDirectory/upload/admintheme/ and rename it (let's say "'yourTheme'")
  • Modify /yourLimeSurveyDirectory/upload/admintheme/yourTheme/config.xml to change the name, description and any other items in the <metadatas> tag you see fit
  • In Global settings --> General, activate the new theme

Insert a JavaScript file into a custom theme

  • Add a custom.js file to /yourLimeSurveyDirectory/upload/admintheme/yourTheme/scripts/
  • Modify the <js> tag in /upload/admintheme/yourTheme/config.xml to include the new file so it would end up looking something like this:
        <js>
            <filename>notify.js</filename>
            <filename>save.js</filename>
            <filename>panelclickable.js</filename>
            <filename>panelsanimation.js</filename>
            <filename>sidemenu.js</filename>
            <filename>bootstrap-switch.min.js</filename>
            <filename>jquery.jcarousel.min.js</filename>
            <filename>jcarousel.responsive.js</filename>
            <filename>custom.js</filename>
        </js>

LimeSurvey Version 3.0+

Creating a new theme

  • Same procedure as in 2.5 to copy a theme folder, rename and modify the config.xml
  • Add the new admin theme name in /application/models/AdminTheme.php
  • Clear the cache in the Global Settings > General tab /surveys/index.php/admin/globalsettings#general