User Tools

Site Tools


folder_structure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
folder_structure [2019/08/03 16:59] witsecfolder_structure [2024/09/01 14:30] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ===== Base Structure ===== ===== Base Structure =====
  
-  * params.json+  * [[params.json]]
   * splash.html   * splash.html
   * splash.jpg   * splash.jpg
   * thumbnail.jpg   * thumbnail.jpg
 +  * translations/
  
 ==== params.json ==== ==== params.json ====
Line 25: Line 26:
  
 Just like the ''splash.jpg'' file, the ''thumbnail.jpg'' does not have to be named this way. You can call it whatever you like, as long as you're referring to this file through the [[params.json]] file. Just like the ''splash.jpg'' file, the ''thumbnail.jpg'' does not have to be named this way. You can call it whatever you like, as long as you're referring to this file through the [[params.json]] file.
 +
 +==== 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_directory
     * [[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.1564844381.txt.gz · Last modified: 2024/09/01 14:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki