Development highlights

  • r1381: added constants expansion for image dir and filename in file uploading (admin generator)

Before r1381, the name of the uploaded file in the admin generator was auto-generated by symfony. Now, you can call an object getter to customize the uploading directory and the filename. For example, if you want to name your uploaded file with the object id and put it into a directory named after the result of the getName() current object method, you can add this to your generator.yml configuration file:

  photo: { type: admin_input_upload_tag, upload_dir: photos/%%name%%, filename: %%id%% }
  • r1387: added new skip_fields, check_types and exclude_types parameter to sfFillInFormFilter (closes #573 - based on a patch from pookey)

The sfFillInFormFilter filter now accepts more parameters (skip_fields, check_types and exclude_types):

The default values for these new parameters are:

  skip_fields:   []
  exclude_types: [hidden, password]
  check_types:   [text, checkbox, radio, password, hidden]

So, to fillin hidden fields, you can add the following snippet to your validate.yml configuration file:

fillin:
  activate: on
  param:
    exclude_types: [password]

Or, to fillin all fields:

fillin:
  activate: on
  param:
    exclude_types: [ ]

Book and documentation

Some people started to translate symfony documentation in french:

...and the first symfony project tutorial is also available in polish:

Some great new symfony snippets:

Some symfony powered websites

  • Pytamy.pl: (Polish) A polish implementation of askeet.
  • WiredDeals.com: A deals/bargains aggregator with built-in deal alert capability
  • Gîtes du Cormoran: Static website presenting self-catering cottages (gîtes) in Provence (fr).

They talked about us

Published in #A week of symfony