I have done recently a thing like that .. and i have succeded via config handlers ... Here are my sources : http://pastebin.com/f16301021 Alecs
On Wed, Jan 13, 2010 at 9:01 PM, smellycat37 <[email protected]>wrote: > hello, > > I generate from my backend a file routingCms.yml in my frontend > application > I did it because url of pages can be modified... so a routing like : > > user_authentication: > url: /authentification/user-authentication.html > param: { module: user, action: authentication } > > could be > > user_authentication: > url: /user/authentication.html > param: { module: user, action: authentication } > > So I find a bad solution to include my routingCms.yml... in my > routing.yml, I put at the begining the following line : > <?php if(file_exists(dirname(__FILE__).'/routing2.yml')) require_once > ('routingCms.yml'); ?> > > Did you know how to load the routingCms.yml in my > ProjectConfiguration.class.php ? > > thanks, > > -- > 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]<symfony-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > > -- Have a nice day! Alecs As programmers create bigger & better idiot proof programs, so the universe creates bigger & better idiots! I am on web: http://www.alecslupu.ro/ I am on twitter: http://twitter.com/alecslupu I am on linkedIn: http://www.linkedin.com/in/alecslupu Tel: (+4)0748.543.798--
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.
