You just have to copy paste your theme in a plugin and make the change, having an additional parameter in order do have the class as an option should not be very hard...
----- Message d'origine ---- De : Nicolas Dhomont <[EMAIL PROTECTED]> À : [email protected] Envoyé le : Jeudi, 9 Août 2007, 16h50mn 47s Objet : [symfony-users] Re: Re: app-wide code After a few research, I'm quite sure that you can't specify which class the generator have to use as base action class (possibly a nice improvment in next release!?!). As Tamcy said, you should try first to write a filter. :-) Nicolas Nicolas Dhomont a écrit : Hi You may extends sfActions class. Then, each module get an actions.class.php file where the class within extends mySfActions instead of sfActions. I guess that if you do so, you will also have to specify in one of your config file that the base action class used by the generators is mySfActions. :-) Nicolas [EMAIL PROTECTED] a écrit : hi where do i place code which should be executed before any action? i try to load a css file by some parameters... and i won't place code in every module action. layout.php,.. bad idea? filter? any solutions? _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
