An open API service indexing awesome lists of open source software.

https://github.com/useallfive/ua5adminthemeplugin


https://github.com/useallfive/ua5adminthemeplugin

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

*Login form feature*
settings.yml - use ua5GuardAuth instead sfGuardAuth
.......
all:
.settings:
login_module: ua5GuardAuth
login_action: signin

secure_module: ua5GuardAuth
secure_action: secure

enabled_modules: [default, ua5GuardAuth, sfGuardUser]
# Form security secret (CSRF protection)
csrf_secret: b2ad37b22dfa0e54e1965ffed0f76bd8d593b774

...........
Setup help index page in app.yml

all:
ua5_theme:
help_index: help/index

...........
Add to lib/filters/doctrine/BaseFormFilterDoctrine.class.php::setup()

$date_filter_template = <<from %from_date%

to %to_date%
EOF;
foreach ( $this->widgetSchema->getFields() as $key => $field ) {
if ( "sfWidgetFormFilterDate" == get_class($field) ) {
$field->setOption('template', $date_filter_template);
}
}