This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » Prefixing routing links for DoctrineGuardPlugin
Prefixing routing links for DoctrineGuardPlugin [message #103002] Fri, 23 July 2010 16:20
rob.davidson84  is currently offline rob.davidson84
Messages: 15
Registered: June 2010
Junior Member
I am using symfony 1.4 with doctrine. My query is in relation to the doctrine guard plugin with the built in admin generator.

by default the edit, and add routes default to

I am trying to modify this so the links goto

adding new routes to the routing.yml file all works fine. It loads the correct model etc.
#edit a permissions   
  url:     /admin/permissions/:id/edit
  class:   sfDoctrineRoute
  options: { model: sfGuardPermission, type: object }
  param:   { module: sfGuardPermission, action: edit }  

but it is the links inside that are incorrect? Such as the edit and delete.

im thinking that the generator.yml files is a good place to start looking?
plugins/sfDoctrineGuardPlugin/modules/sfGuardUser/config/gen erator.yml

Previous Topic:Probel with admin generator: "Undefined property: sfPartialView::$configuration"
Next Topic:How could this possibly be?!
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software