folder_structure
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
folder_structure [2019/08/03 17:01] – witsec | folder_structure [2024/09/01 14:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | Line 9: | ||
* splash.jpg | * splash.jpg | ||
* thumbnail.jpg | * thumbnail.jpg | ||
+ | * translations/ | ||
==== params.json ==== | ==== params.json ==== | ||
Line 25: | Line 26: | ||
Just like the '' | Just like the '' | ||
+ | |||
+ | ==== translations ==== | ||
+ | |||
+ | Any extension can come with its own translations. Translations are not required, but are very user friendly if you incorporate them into your extensions. Each language can have its own language file that contains all phrases and their translations. | ||
===== App Extensions ===== | ===== App Extensions ===== | ||
Line 39: | Line 44: | ||
==== core.js ==== | ==== core.js ==== | ||
- | An App Extension sometimes come with a [[core.js]] file. This file hooks into the core of Mobirise. | + | An App Extension sometimes come with a [[core.js]] file. It's unclear when you would need a core.js file. |
===== Component Extensions ===== | ===== Component Extensions ===== | ||
Line 45: | Line 50: | ||
A Componend Extension comes with one or more components. In most cases these are additional blocks a user can drag onto his website. The file and folder structure looks like this: | A Componend Extension comes with one or more components. In most cases these are additional blocks a user can drag onto his website. The file and folder structure looks like this: | ||
- | * component_directory | + | * primary |
* [[component.js]] | * [[component.js]] | ||
* [[template.html]] | * [[template.html]] | ||
Line 70: | Line 75: | ||
Themes are a different kind of extension. They provide an entire theme on which you can base your website and offer several blocks to get you started. Older M3 themes came with Component Extensions in them, but nowadays that isn't the case anymore. Themes often come with: | Themes are a different kind of extension. They provide an entire theme on which you can base your website and offer several blocks to get you started. Older M3 themes came with Component Extensions in them, but nowadays that isn't the case anymore. Themes often come with: | ||
- | * fonts | + | * fonts/ |
- | * components | + | * components/ |
- | * plugins | + | * plugins/ |
- | * translations | + | |
+ | ==== fonts ==== | ||
+ | |||
+ | Most themes come with their own fonts to give them that more unique look and feel. Fonts are stored inside this directory. | ||
+ | |||
+ | ==== components ==== | ||
+ | |||
+ | This directory contains all the blocks of said theme. These are the blocks that get displayed on the sidebar which ou can drag onto your website. | ||
+ | |||
+ | ==== plugins ==== | ||
+ | |||
+ | All plugins and (Javascript) libraries a theme uses are stored in this directory. |
folder_structure.1564844475.txt.gz · Last modified: 2024/09/01 14:30 (external edit)