Skip to content

A tool designed to simplify style development for eXeLearning 3. It is intended for programmers and designers with experience in eXeLearning, CSS, and JavaScript.

License

Notifications You must be signed in to change notification settings

exelearning/exelearning-style-designer

Repository files navigation

eXeLearning Style Designer

License: AGPL

Description

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.


Important Notice

⚠️ This application must never be used in production. It does not include the necessary security measures. This tool is intended solely for designers to simplify the creation of styles for eXeLearning 3.


Installation

1. Docker (Recommended)

This is the easiest way to run the application without installing PHP or Apache locally.

  1. Make sure Docker Desktop is installed and running.
  2. Clone or download this repository.
  3. Navigate to the project root in a terminal.
  4. Build and start the container:
docker-compose up --build
  1. Open your browser and visit:
http://localhost:8000/

You can change the port mapping in docker-compose.yml if needed.


2. Direct Installation on Apache

If you prefer to run the application directly on a local Apache server:

  1. Make sure you have PHP 8+ and Apache installed.
  2. Copy the project files to your Apache document root (e.g., htdocs or www).
  3. Ensure the path-to-project/ folder is accessible via your browser.
  4. Adjust PHP settings if needed for large file uploads:
upload_max_filesize = 50M
post_max_size = 50M
memory_limit = 128M
  1. Open your browser and visit:
http://localhost/path-to-project/index.php

How to Use — Quick Start Guide

1. Getting Started

  1. Download and install the tool.
  2. 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.


2. Loading the Designer

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.


3. Editing Your Style

All editable files are located in the theme folder inside the application directory.

You can modify:

  • style.css
  • style.js
  • Any other files required by your design

Images

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.

Fonts

Add custom fonts to /theme/fonts.

iDevice Icons

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.


4. Finalizing Your Style

When you're ready, click Finish / Restart and follow the instructions:

  1. Edit your style’s config.xml file.
  2. Download your style as a ZIP file.
  3. 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.


5. Testing and Licensing

  • 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.

6. Additional Resources


Notes

  • 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.

License

This project is licensed under the AGPL. You may freely use, modify, and distribute it under the terms of the Affero General Public License.


Credits / Attributions

The following third-party resources are included in this project:

  • Example content: files/fixtures/leer-para-aprender.elpx Used to create screenshots of Styles in eXeLearning 3. Original content created for CEDEC. License: Creative Commons BY-SA

  • Icon: files/img/new-window.svg Source: Google Fonts Icons License: Apache License 2.0

  • Bootstrap JavaScript: files/js/bootstrap.bundle.min.js and bootstrap.bundle.min.js.map Source: Bootstrap License: MIT License

  • jQuery: files/js/jquery.min.js Source: jQuery License: MIT License

  • Bootstrap CSS: files/css/bootstrap.min.css and bootstrap.min.css.map Source: 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.

About

A tool designed to simplify style development for eXeLearning 3. It is intended for programmers and designers with experience in eXeLearning, CSS, and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published