License: AGPL
eXeLearning Style Designer is a tool designed to facilitate the creation of custom styles for eXeLearning 3.
With this tool, you can easily edit and customize the look and feel of your eXeLearning projects by modifying style files and packaging them for distribution.
This is the easiest way to run the application without installing PHP or Apache locally.
- Make sure Docker Desktop is installed and running.
- Clone or download this repository.
- Navigate to the project root in a terminal.
- Build and start the container:
docker-compose up --build- Open your browser and visit:
http://localhost:8000/
You can change the port mapping in
docker-compose.ymlif needed.
If you prefer to run the application directly on a local Apache server:
- Make sure you have PHP 8+ and Apache installed.
- Copy the project files to your Apache document root (e.g.,
htdocsorwww). - Ensure the
path-to-project/folder is accessible via your browser. - Adjust PHP settings if needed for large file uploads:
upload_max_filesize = 50M
post_max_size = 50M
memory_limit = 128M- Open your browser and visit:
http://localhost/path-to-project/index.php
- Download and install the tool.
- Click Start to begin.
You will see two options:
- Upload three exported contents in ZIP format:
- A website
- A single page
- A SCORM 1.2 package
- Use the sample contents (the easiest way to start)
If you choose to upload your own exports, make sure all export preferences (page counter, search box, etc.) are enabled. This way, your exports will include all optional elements, allowing you to ensure your style is fully compatible with them. You should also include all kinds of box combinations: with and without icon, with and without title, without the minimize button, etc. This will let you verify that your style works properly in all cases.
Once the contents are loaded, you can open the Style Designer.
At the top of the page, you will find three preview buttons:
- Website
- Single page
- SCORM 1.2
Click each one to see how your style will look in that export format.
All editable files are located in the theme folder inside the application directory.
You can modify:
style.cssstyle.js- Any other files required by your design
Place all required images in /theme/img.
If you add favicon.png or favicon.ico in this folder, exports will use it instead of the default eXeLearning favicon.
Add custom fonts to /theme/fonts.
The folder /theme/icons contains the default iDevice icons.
It is recommended to work with these during development and replace them with your own collection once the style is complete.
When you're ready, click Finish / Restart and follow the instructions:
- Edit your style’s
config.xmlfile. - Download your style as a ZIP file.
- Import the ZIP into eXeLearning.
If you want to start from scratch, go to Finish / Restart and select Delete all files and create a new Style.
- Test your style in eXeLearning to ensure everything works correctly and your CSS does not interfere with the application’s presentation.
- Respect all third-party licenses for images, fonts, or any other assets you use.
- Add any required attributions or legal information directly into your style’s
config.xml.
- Click Example style in the application to download an example style.
- eXeLearning styles official documentation: https://github.com/exelearning/exelearning/blob/main/doc/development/styles.md
- The tool is intended for designers only.
- It is not secure for production use.
- Always test generated styles in a safe environment before deploying to any live site.
- When you have finished, it is important to test your Style within eXeLearning to ensure that its CSS code does not affect the application interface.
This project is licensed under the AGPL. You may freely use, modify, and distribute it under the terms of the Affero General Public License.
The following third-party resources are included in this project:
-
Example content:
files/fixtures/leer-para-aprender.elpxUsed to create screenshots of Styles in eXeLearning 3. Original content created for CEDEC. License: Creative Commons BY-SA -
Icon:
files/img/new-window.svgSource: Google Fonts Icons License: Apache License 2.0 -
Bootstrap JavaScript:
files/js/bootstrap.bundle.min.jsandbootstrap.bundle.min.js.mapSource: Bootstrap License: MIT License -
jQuery:
files/js/jquery.min.jsSource: jQuery License: MIT License -
Bootstrap CSS:
files/css/bootstrap.min.cssandbootstrap.min.css.mapSource: Bootstrap License: MIT License -
eXeLearning Logo: Source: eXeLearning GitHub License: AGPL (same as this project)
-
Open Sans Font:
files/example.zip/fonts/*. Source: Google Fonts License: Apache License, Version 2.0
All other files in this project were created by @ignaciogros and are licensed under AGPL.