Sometimes, it’s not easy with Symfony’ filters to create links displaying a content already filtered without using a specific action. These are examples of how it works directly with an URL generated with a link_to() : <?php echo link_to('New Application', 'applicant', array('sort' => 'created_at', 'sort_type' => 'desc'))?> <br /> <?php […]
Monthly archives: May 2009
This is a SfGuardUser Plugin hack to extend user management of their own profile and just their profile, not the other users’. Moreover, this hack allows also to decide in their profile which field they can modify! Because by default, if you want an user to be able to change […]
Sf_Guard_User Extended credentials
Désolé, j’ai pas résisté… :D Comment ça marche ? Il vous faut pas loin le framework Ajax Javascript Prototype… <script src="javascripts/prototype.js" type="text/javascript"></script> Et il vous faut ce bout de code : if ( window.addEventListener ) { var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65"; window.addEventListener("keydown", function(e){ kkeys.push( e.keyCode ); if ( […]
Powered by Konami Code
Quelques mots sur le nouveau design de mes site, blog et Twitter. D’abord, je n’aime pas le rose. Ahaha, la belle blague, y’en a partout. En fait, j’aime les radis et ça va bien avec l’ensemble. Enfin, j’espère. Ce thème est donc la compilation de deux thèmes de Kozlika, thèmeuse […]