rhino-php/rhino

Rhino, a CMS and Application-Framework plugin for CakePHP

Installs: 285

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:cakephp-plugin


README

Quick Start:

composer require rhino-php/rhino

Installation

You can install this plugin into your CakePHP application using composer. The recommended way to install composer packages is:

composer require rhino-php/rhino

(optional) after the Plugin is installed and the Application is connected to the Database, you can run the following in the root of the Application:

cp -aR vendor/coullc/rhino/skeleton/. .
bin/cake migrations migrate -p Rhino
bin/cake migrations seed -p Rhino

Create the File PagesController.php and add the following:

namespace App\Controller;

use Rhino\Controller\PagesController as BaseController;

class PagesController extends BaseController {
	public function layout(int $id) {
		// add Policy or other configuration
		parent::layout($id);
	}
}

Access the Layout options through /pages

!Important To Use the Layoutmode you need to enable the CakeHtmx plugin.

Development

See rhino. Clone Rhino, then Clone Rhino in the Plugins folder.

mokup

Next Up: Layoutmode Enhancment

Currently there is only an HTML input field. Depending on the Layoutelement the displayed input fields should update.

Also, after en Edit, the newly loaded element is not page aware.