Details
Melis Templating Plugin Creator
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.
Getting started
These instructions will get you a copy of the project up and running on your machine.
Prerequisites
The following modules need to be installed to run the Melis Templating Plugin Creator module:
-
Melis Core
-
Melis Tool Creator
Installing
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
Database
No database is needed for this tool
Tools and elements provided
-
Templating Plugin Creator Tool
-
Templating Plugin Creator Service
Templating Plugin Creator 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
Templating Plugin Creator Service
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();
Authors
See also the list of contributors who participated in this project.
License
This project is licensed under the Melis Technology premium versions end user license agreement (EULA) - see the LICENSE.md file for details
|
Name: |
Melis Templating Plugin Creator |
Base name: |
melis-templating-plu |
Description: |
Create page template plugins for the Melis CMS |
Version: |
- |
PHP version: |
5 |
License: |
The PHP License |
All time users: |
16 users |
All time rank: |
10993 |
Week users: |
0 users |
Week rank: |
200  |
|
|
 December 2022
Number 8 |
Content management systems (CMS) are helpful to help creating new sites very quickly.
Many CMS can be extended with plugins that make them more useful.
This package provides a plugin that helps developers to create new plugins for the Melis CMS system that can generate pages based on template scripts.
This way, developers can create faster, simple plugins that can output pages for specific purposes.
Manuel Lemos |
Not yet rated by the users |
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|
File |
Role |
Description |
MarketPlace (1 file, 1 directory) |
File |
Role |
Description |
build (2 directories) |
css (2 files) |
js (2 files) |
File |
Role |
Description |
css (1 file) |
js (1 file) |
File |
Role |
Description |
bundle.css |
Data |
Auxiliary data |
File |
Role |
Description |
bundle.js |
Data |
Auxiliary data |
|
Files |
/ |
view |
/ |
melis-templating-plugin-creator |
|
|
Files |
|
File |
Role |
Description |
MarketPlace (1 file, 1 directory) |
File |
Role |
Description |
build (2 directories) |
css (2 files) |
js (2 files) |
File |
Role |
Description |
css (1 file) |
js (1 file) |
File |
Role |
Description |
bundle.css |
Data |
Auxiliary data |
File |
Role |
Description |
bundle.js |
Data |
Auxiliary data |
|
Files |
/ |
view |
/ |
melis-templating-plugin-creator |
|