Skip to content

tomi77/sfSmartContextPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfSmartContextPlugin

StyleCI

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.yml file following configuration:

    all:
      index:
        smart_context:
          enabled: false

About

symfony 1.x plugin to add SmartContext integration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages