No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src
tests
webroot
README.md
composer.json
phpunit.xml.dist

README.md

SSL Rating

Kissagalleria plugin for CakePHP 3

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer self-update && composer create-project --prefer-dist cakephp/app www
cd www;composer config repositories.kissagalleria git https://github.com/sasilen/kissagalleria.git
composer config minimum-stability dev
composer require sasilen/Kissagalleria:dev-master

Load Modules

cake plugin load -r -b CakeDC/Users
cake plugin load -r Kissagalleria
cake plugin load -r Media
cake plugin load -r -b Thumber
cake plugin load -r Kareylo/Comments
cake plugin load Ratings

Configure CakeDC/Users

Bootstrap /config/bootsrap.php

Configure::write('Users.config', ['users']);
Plugin::load('CakeDC/Users', ['routes' => true, 'bootstrap' => true]);
Configure::write('Users.Social.login', true); //to enable social login
Configure::write('Auth.authenticate.Form.fields.username', 'email');

Authorization

  • permissions.php
  • users.php

Global templates

  • paginator-templates.php

Enable theme from Kissagalleria

# /src/Controller/AppController.php

public function initialize()
    {
    parent::initialize();
    $this->loadComponent('CakeDC/Users.UsersAuth');
.
.
 public function beforeRender(Event $event)
    {
    $this->viewBuilder()->theme('Kissagalleria');