tomasz-rup / sf-smartcontext-plugin
This package is abandoned and no longer maintained.
No replacement package was suggested.
symfony 1.x plugin to add SmartContext integration
Package info
github.com/tomi77/sfSmartContextPlugin
Type:symfony1-plugin
pkg:composer/tomasz-rup/sf-smartcontext-plugin
dev-master
2019-01-01 09:46 UTC
Requires
This package is auto-updated.
Last update: 2022-02-01 13:15:40 UTC
README
symfony 1.x plugin to add SmartContext integration.
Instalation
-
Install the plugin:
composer require tomasz-rup/sf-smartcontext-plugin
-
Add the sfSmartContextFilter to your filter chain:
rendering: ~ security: ~ # insert your own filters here smart_context: class: sfSmartContextFilter cache: ~ common: ~ execution: ~
Configuration
-
Global configuration
Global configuration is done in your application's app.yml file:
all: smart_context_plugin: site: http__yoursite.com enabled: true
-
Configuration per module
To disable SmartContext in action index in module default add to your
apps/frontend/modules/default/config/module.ymlfile following configuration:all: index: smart_context: enabled: false