This module allows you to change the template pages cms backoffice defined by a particular template when we load the page through an ajax request
Create this directory structure in local pool : Webaki
- etc -- config.xml
- Model -- Observer.php
| #! /bin/bash | |
| # | |
| # 1 - install the laradock on your machine : https://github.com/laradock/laradock | |
| # 2 - customize your docker-compose.yml depending on your installation option | |
| # 3 - change the path to laradock | |
| # 4 - run ./docker and enjoy | |
| PATH_LARADOCK="./laradock" | |
| function laradock() { |
This is the how to for redirection implementation by roles after login or logout in Symfony2
AfterLoginRedirection.php and AfterLogoutRedirection.php to your bundle under the "Redirection" directoryservices.yml file in your bundle and copy/paste the content of services.ymlsecurity.yml file...success_handler: redirect.after.login in form_login: sectionsuccess_handler: redirect.after.logout in logout: section| .dk_MyTheme{ | |
| a{ | |
| } | |
| /* Container */ | |
| .dk_container{ | |
| } | |
| /* Toggle */ | |
| .dk_toggle{ |
| {% extends "form_div_layout.html.twig" %} | |
| {% block form_errors %} | |
| {% spaceless %} | |
| {% if errors|length > 0 %} | |
| {% for error in errors %} | |
| <label class="error">{{ error.message }}</label> | |
| {% endfor %} | |
| {% endif %} | |
| {% endspaceless %} |