Beutelevision

by Thomas Beutel

Category: Symfony

A short blurb on using sfGuardPlugin credentials

(Here are a few notes I made to myself about the credential system.) Credentials are part of the sfGuardPlugin security system for Symfony. For some reason, Symfony also refers to credentials as permissions. As far as I can tell, the two terms are used interchangeably. sfGuardUser records are stored in the sf_guard_user table. The tables […]

Meta refresh in Symfony – use view.yml

The easiest way I’ve found to add meta refresh to a specific action in Symfony is to use the view.yml file. Note that I use http_metas, not regular metas. indexSuccess: http_metas: refresh: 300 which results in adding the following, as you would expect: <meta http-equiv=”Refresh” content=”300″ />

Symfony project menus for Emacs

After reading the Productive Programmer, I was inspired to write a custom script to add Symfony menus to my Emacs editor. After some frustration (I find emacs LISP tough to grok), I finally figured it out. (script is below) Anyway, here are a couple of pictures showing custom menus for a small project. This allows […]