Your route should be user/:username/:action
with the default action being view
you can then do:
user/Spongebob or user/Spongebob/view
user/Spongebob/edit
user/Spongebob/delete
the one that doesn't quite work with this is add
So you'll probably need to set up a second route for user/add
Cheers,
Any advice about this issue?
Thanks :)
Sergio Rinaudo
From: kaiohken1...@hotmail.com
To: fw-general@lists.zend.com
Date: Sat, 18 Sep 2010 17:46:08 +0200
Subject: [fw-general] Custom Validator Translation
Hi all,
how to translate messages from a custom validator?
For all built-in
Sorry for reply this old post,
but the question is the same.
Using the method explained, the variable $value passed as argument by the
method isValid is just a string that represent one of the selected
elements, and the isValid method is cycled for each selected element, but
there is not
Hi,
I need to pass an array between two actions.
Below is the code I tried :
in action 1 :
return $this-_redirector-gotoSimple('time-slots', NULL , NULL,
array('bookings' = $bookings));
in action 2 (timeSlotsAction) :
$bookings = $this-_getParam('bookings');
Unfortunately this won't work. I
I'm not a specialist, but as nobody answers I'll try :-)
I would create a plugin and in its routeStartup() method, check for the
keyword in your DB, and according to the results, change the route. I can
give you some code example later if you still need this. Note that this is
not using the ZF's
Hey debussy007,
I am not sure what you mean by doing something wrong. If the data is
not being passed, you might want to try gotoSimpleAndExit(). This will
force a redirect immediately, which is probably what you want.
$bookings needs to be something that can be represented in a url.
As