Recommend this page to a friend! |
Generates a ready-to-use templating plugin, complete with source code and necessary configuration. This will aid the developers, especially the new developers of the platform, to swiftly create a plugin without delving deeply into plugin's technicalities.
These instructions will get you a copy of the project up and running on your machine.
The following modules need to be installed to run the Melis Templating Plugin Creator module:
Run the composer command:
composer require melisplatform/melis-templating-plugin-creator
Go to /melis-templating-plugin-creator/public/ and change the file owner of the 'temp-thumbnail' directory to 'www-data'. This is where the plugin thumbnails are temporarily saved.
chown www-data temp-thumbnail
No database is needed for this tool
- user must specify the destination of the generated plugin: new module or existing site module - the properties of the plugin need to be set(field name, display type, default options, default value and required attribute) as well as their translations which will then be used in the plugin modal form - the 'Template' property is already set by default - after generation, the source code can be found inside the destination module ready to be updated based on the project's requirements - the generated plugin can then be found inside the Plugin's menu in the Melis CMS Page Edition System
File:
- /melis-templating-plugin-creator/src/Service/MelisTemplatingPluginCreatorService.php
MelisTemplatingPluginCreatorService - This service's main function is to generate a templating plugin using the parameters saved in the current session.
$templatingPluginService = $this->getServiceManager()->get('MelisTemplatingPluginCreatorService');
$result = $templatingPluginService->generateTemplatingPlugin();
See also the list of contributors who participated in this project.
This project is licensed under the Melis Technology premium versions end user license agreement (EULA) - see the LICENSE.md file for details
Classes of Fabrice Fesch | > | Melis Templating Plugin Creator | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
Groups | Applications | Files |
Groups |
PHP 5 | Classes using PHP 5 specific features | View top rated classes |
Content management | Components and tools to manage content | View top rated classes |
Code Generation | Compilers and tools that generate code automatically | View top rated classes |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files | / | config |
File | Role | Description |
---|---|---|
app.interface.php | Aux. | Auxiliary script |
app.tools.php | Aux. | Auxiliary script |
app.toolstree.php | Aux. | Auxiliary script |
module.config.php | Class | Class source |
Files | / | etc | / | MarketPlace |
File | Role | Description | ||
---|---|---|---|---|
images (6 files) | ||||
melis-templating-plugin-creator.xml | Data | Auxiliary data |
Files | / | etc | / | MarketPlace | / | images |
File | Role | Description |
---|---|---|
melis-templating-plugin-creator-1.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-2.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-3.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-4.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-5.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-6.JPG | Data | Auxiliary data |
Files | / | language |
File | Role | Description |
---|---|---|
en_EN.interface.php | Aux. | Auxiliary script |
fr_FR.interface.php | Aux. | Auxiliary script |
Files | / | public | / | css |
File | Role | Description |
---|---|---|
bootstrap-tagsinput.css | Data | Auxiliary data |
style.css | Data | Auxiliary data |
Files | / | public | / | js |
File | Role | Description |
---|---|---|
bootstrap-tagsinput.js | Data | Auxiliary data |
templating-plugin-creator.js | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Controller (1 file) | ||||
Form (1 directory) | ||||
Service (1 file) | ||||
Module.php | Class | Class source |
Files | / | src | / | Controller |
File | Role | Description |
---|---|---|
TemplatingPluginCreatorController.php | Class | Class source |
Files | / | src | / | Form | / | Factory |
File | Role | Description |
---|---|---|
MelisTemplatingPlu...leSelectFactory.php | Class | Class source |
MelisTemplatingPlu...teSelectFactory.php | Class | Class source |
Files | / | src | / | Service |
File | Role | Description |
---|---|---|
MelisTemplatingPluginCreatorService.php | Class | Class source |
Files | / | template |
File | Role | Description | ||
---|---|---|---|---|
Code (6 files) | ||||
blank_plugin.js | Data | Auxiliary data | ||
language-tpl.php | Aux. | Auxiliary script | ||
modal-form.phtml | Example | Example script | ||
plugin-name.phtml | Data | Auxiliary data | ||
TemplatingPlugin.config.php | Aux. | Auxiliary script | ||
TemplatingPluginController.php | Class | Class source |
Files | / | template | / | Code |
File | Role | Description |
---|---|---|
digit-validator | Data | Auxiliary data |
empty-field-validator | Data | Auxiliary data |
modal-form-scripts | Data | Auxiliary data |
tab-elements | Data | Auxiliary data |
tab-input-filters | Data | Auxiliary data |
tab-properties | Data | Auxiliary data |
Files | / | view | / | melis-templating-plugin-creator |
File | Role | Description | ||
---|---|---|---|---|
templating-plugin-creator (6 files, 1 directory) |
Files | / | view | / | melis-templating-plugin-creator | / | templating-plugin-creator |
File | Role | Description | ||
---|---|---|---|---|
partial (7 files) | ||||
render-form.phtml | Example | Example script | ||
render-step6-finalization.phtml | Example | Example script | ||
render-templating-...creator-steps.phtml | Example | Example script | ||
render-tool-content.phtml | Example | Example script | ||
render-tool-header.phtml | Example | Example script | ||
render-tool.phtml | Example | Example script |
Files | / | view | / | melis-templating-plugin-creator | / | templating-plugin-creator | / | partial |
File | Role | Description |
---|---|---|
field-form.phtml | Example | Example script |
render-step1.phtml | Example | Example script |
render-step2.phtml | Example | Example script |
render-step3.phtml | Example | Example script |
render-step4.phtml | Example | Example script |
render-step5.phtml | Example | Example script |
render-step6.phtml | Example | Example script |
Download all files: melis-templating-plu.tar.gz melis-templating-plu.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|
Files | / | config |
File | Role | Description |
---|---|---|
app.interface.php | Aux. | Auxiliary script |
app.tools.php | Aux. | Auxiliary script |
app.toolstree.php | Aux. | Auxiliary script |
module.config.php | Class | Class source |
Files | / | etc | / | MarketPlace |
File | Role | Description | ||
---|---|---|---|---|
images (6 files) | ||||
melis-templating-plugin-creator.xml | Data | Auxiliary data |
Files | / | etc | / | MarketPlace | / | images |
File | Role | Description |
---|---|---|
melis-templating-plugin-creator-1.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-2.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-3.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-4.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-5.JPG | Data | Auxiliary data |
melis-templating-plugin-creator-6.JPG | Data | Auxiliary data |
Files | / | language |
File | Role | Description |
---|---|---|
en_EN.interface.php | Aux. | Auxiliary script |
fr_FR.interface.php | Aux. | Auxiliary script |
Files | / | public | / | css |
File | Role | Description |
---|---|---|
bootstrap-tagsinput.css | Data | Auxiliary data |
style.css | Data | Auxiliary data |
Files | / | public | / | js |
File | Role | Description |
---|---|---|
bootstrap-tagsinput.js | Data | Auxiliary data |
templating-plugin-creator.js | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Controller (1 file) | ||||
Form (1 directory) | ||||
Service (1 file) | ||||
Module.php | Class | Class source |
Files | / | src | / | Controller |
File | Role | Description |
---|---|---|
TemplatingPluginCreatorController.php | Class | Class source |
Files | / | src | / | Form | / | Factory |
File | Role | Description |
---|---|---|
MelisTemplatingPlu...leSelectFactory.php | Class | Class source |
MelisTemplatingPlu...teSelectFactory.php | Class | Class source |
Files | / | src | / | Service |
File | Role | Description |
---|---|---|
MelisTemplatingPluginCreatorService.php | Class | Class source |
Files | / | template |
File | Role | Description | ||
---|---|---|---|---|
Code (6 files) | ||||
blank_plugin.js | Data | Auxiliary data | ||
language-tpl.php | Aux. | Auxiliary script | ||
modal-form.phtml | Example | Example script | ||
plugin-name.phtml | Data | Auxiliary data | ||
TemplatingPlugin.config.php | Aux. | Auxiliary script | ||
TemplatingPluginController.php | Class | Class source |
Files | / | template | / | Code |
File | Role | Description |
---|---|---|
digit-validator | Data | Auxiliary data |
empty-field-validator | Data | Auxiliary data |
modal-form-scripts | Data | Auxiliary data |
tab-elements | Data | Auxiliary data |
tab-input-filters | Data | Auxiliary data |
tab-properties | Data | Auxiliary data |
Files | / | view | / | melis-templating-plugin-creator |
File | Role | Description | ||
---|---|---|---|---|
templating-plugin-creator (6 files, 1 directory) |
Files | / | view | / | melis-templating-plugin-creator | / | templating-plugin-creator |
File | Role | Description | ||
---|---|---|---|---|
partial (7 files) | ||||
render-form.phtml | Example | Example script | ||
render-step6-finalization.phtml | Example | Example script | ||
render-templating-...creator-steps.phtml | Example | Example script | ||
render-tool-content.phtml | Example | Example script | ||
render-tool-header.phtml | Example | Example script | ||
render-tool.phtml | Example | Example script |
Files | / | view | / | melis-templating-plugin-creator | / | templating-plugin-creator | / | partial |
File | Role | Description |
---|---|---|
field-form.phtml | Example | Example script |
render-step1.phtml | Example | Example script |
render-step2.phtml | Example | Example script |
render-step3.phtml | Example | Example script |
render-step4.phtml | Example | Example script |
render-step5.phtml | Example | Example script |
render-step6.phtml | Example | Example script |
Download all files: melis-templating-plu.tar.gz melis-templating-plu.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|