changing default add and edit link url
- Single Page
Posted 09 July 2012 - 06:49 AM
I have attached screenshot for more.
Posted 09 July 2012 - 15:56 PM
Please, look at the Grocery CRUD add_action function. Hope that will help you.
Posted 11 July 2012 - 10:04 AM
Thanks and regards,
Nilesh
Posted 11 July 2012 - 14:48 PM
The friendly URLs (using mod rewrite) are constructed with controller/method as you mentioned and the add is an argument of the method, so I believe you can change GC core and have another name there for example:
www.example.com/controllerName/methodName/yourAddFunctionName
Or you can use some routes to change it's name. Check docs from CI routes:
http://codeigniter.com/user_guide/general/routing.html
For what you want I believe you will need to route your URLs, but be carefull not to mess things up.
Hope this helps.
Cheers.