Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Jekflix Template | 718 | a month ago | 34 | other | HTML | |||||
A Jekyll theme inspired by Netflix. 🎬 | ||||||||||
React Next Boilerplate | 306 | 3 months ago | 8 | mit | JavaScript | |||||
:rocket: A basis for reducing the configuration of your projects with nextJS, best development practices and popular libraries in the developer community. | ||||||||||
Cause Jekyll Template | 115 | 2 years ago | 4 | mit | HTML | |||||
:tulip: Not for profit template for Jekyll | ||||||||||
Sevenapp | 72 | 6 years ago | 1 | JavaScript | ||||||
Free Bootstrap 3 Multi Purpose OnePage Template | ||||||||||
Robots.txt | 69 | 2 years ago | other | |||||||
Simple robots.txt template. Keep unwanted robots out (disallow). White lists (allow) legitimate user-agents. Useful for all websites. | ||||||||||
Mcms | 56 | 2 | 1 | 9 years ago | 4 | June 22, 2013 | 10 | JavaScript | ||
Minimal CMS in server side JavaScript | ||||||||||
Coming Soon | 51 | 5 years ago | CSS | |||||||
Beautiful Animated Bootstrap Coming Soon Template | ||||||||||
Seo | 47 | 3 years ago | 20 | mit | PHP | |||||
Bolt SEO extension | ||||||||||
Vue Seo Friendly Spa Template | 41 | 2 months ago | mit | Vue | ||||||
Vue.js PWA/SPA template initially scaffolded with vue-cli and configured for SEO. Makes use of prerendering and other techniques/packages in order to achieve a perfect "Lighthouse Score". | ||||||||||
Ts Next Chakra Motion Kit | 39 | 5 months ago | 1 | TypeScript | ||||||
Starter kit with Next.js, Chakra-UI, Framer-Motion in Typescript. Internationalization, SEO, Components, Theme (dark/light) and more... |
MelisCms provides a full CMS for Melis Platform, including templating system, drag'n'drop of plugins, SEO and many administration tools.
These instructions will get you a copy of the project up and running on your machine.
This Melis Platform module is made to work with the MelisCore.
You will need to install melisplatform/melis-core and melisplatform/melis-engine in order to have this module running.
This will automatically be done when using composer.
Run the composer command:
composer require melisplatform/melis-cms
MelisCms provides many services to be used in other modules:
// Get the service
$pageSrv = $this->getServiceManager()->get('MelisCmsPageService');
// Save a page and get its id back
$pageId = $pageSrv->savePage($pageTree, $pagePublished, $pageSaved, $pageSeo, $pageLang, $pageStyle);
// Get the service
$cmsSiteSrv = $this->getServiceManager()->get('MelisCmsSiteService');
// Get list of pages of this site
$sitePages = $cmsSiteSrv->getSitePages($siteId);
// Get the service
$pageGetterService = $this->getServiceManager()->get('MelisCmsPageGetterService');
// Get list of pages of this site
$pageContent = $cmsSiteSrv->getPageContent($pageId);
// Get the service
$melisCmsRights = $this->getServiceManager()->get('MelisCmsRights');
// Get the user's rights
$xmlRights = $melisCoreAuth->getAuthRights();
// find if a user has access to it
// Example: find if a user has access to a specific page id
$isAccessible = $melisCmsRights->isAccessible($xmlRights, MelisCmsRightsService::MELISCMS_PREFIX_PAGES, $idPage);
All Melis CMS forms are built using Form Factories.
All form configuration are available in the file: /melis-cms/config/app.forms.php
Any module can override or add items in this form by building the keys in an array and marge it in the Module.php config creation part.
return array(
'plugins' => array(
// MelisCms array
'meliscms' => array(
// Form key
'forms' => array(
// MelisCms Page Properties form
'meliscms_page_properties' => array(
'attributes' => array(
'name' => 'pageproperties',
'id' => 'idformpageproperties',
'method' => 'POST',
'action' => '/melis/MelisCms/Page/saveProperties',
),
'hydrator' => 'Laminas\Hydrator\ArraySerializable',
'elements' => array(
array(
'spec' => array(
...
),
),
),
'input_filter' => array(
'page_id' => array(
...
),
),
),
),
),
),
),
MelisCms provides many form elements to be used in forms:
Most services trigger events so that the behavior can be modified.
public function attach(EventManagerInterface $events)
{
$sharedEvents = $events->getSharedManager();
$callBackHandler = $sharedEvents->attach(
'MelisCms',
array(
'meliscms_page_save_start',
'meliscms_page_publish_start',
),
function($e){
$sm = $e->getTarget()->getEvent()->getApplication()->getServiceManager();
// Custom Code here
},
100);
$this->listeners[] = $callBackHandler;
}
MelisCms brings 3 defaults configuration when editing a template within a "MelisTag" editable area:
// Config Files
'tinyMCE' => array(
'html' => 'MelisCms/public/js/tinyMCE/html.php',
'textarea' => 'MelisCms/public/js/tinyMCE/textarea.php',
'media' => 'MelisCms/public/js/tinyMCE/media.php',
),
melisLinkTree.createInputTreeModal('#sourcePageId');
See also the list of contributors who participated in this project.
This project is licensed under the OSL-3.0 License - see the LICENSE.md file for details