# |
Sep 23rd 2011, 08:40 |
dakota |
ADmad: yeah, that would be better |
# |
Sep 23rd 2011, 08:39 |
ADmad |
$url + $this->passedArgs |
# |
Sep 23rd 2011, 08:39 |
destinydriven |
http://bin.cakephp.org/view/1066384500 |
# |
Sep 23rd 2011, 08:37 |
dakota |
much* |
# |
Sep 23rd 2011, 08:37 |
dakota |
shouldn't require must more than $url = array_merge($url, $this->params['passed]) |
# |
Sep 23rd 2011, 08:37 |
dakota |
the component has it's own redirect method, modify it there |
# |
Sep 23rd 2011, 08:28 |
destinydriven |
granted, how do I do that |
# |
Sep 23rd 2011, 08:27 |
dakota |
destinydriven: that gets run after the redirect. You'd need to modify the component to include the url params when it redirects |
# |
Sep 23rd 2011, 08:27 |
destinydriven |
yeah, but if I understand correctly . . using the callback _prepare[Action] . .. you handle your params n stuff |
# |
Sep 23rd 2011, 08:26 |
dakota |
destinydriven: the wizard component redirects you to the first step with zero regard for params |
# |
Sep 23rd 2011, 08:25 |
dakota |
destinydriven: actually that makes sense. |
# |
Sep 23rd 2011, 08:20 |
destinydriven |
its taking me to /processes/wizard/book but the vars aren't getting passed |
# |
Sep 23rd 2011, 08:19 |
destinydriven |
its not passing the params |
# |
Sep 23rd 2011, 08:18 |
dakota |
destinydriven: what doesn't the route do? |
# |
Sep 23rd 2011, 08:17 |
destinydriven |
hmm |
# |
Sep 23rd 2011, 08:14 |
dakota |
don't think so. looks fine to me |
# |
Sep 23rd 2011, 08:14 |
destinydriven |
dakota, cool. BUt before I try this one, is there something wrong with my route? |
# |
Sep 23rd 2011, 08:13 |
stabb_ |
i need to put it on github |
# |
Sep 23rd 2011, 08:13 |
dakota |
destinydriven: This version works well: https://github.com/infinitas/infinitas/blob/beta/core/libs/controllers/components/wizard.php |
# |
Sep 23rd 2011, 08:13 |
stabb_ |
ACTION has a modified version which is ajaxed |
# |
Sep 23rd 2011, 08:13 |
destinydriven |
proloser has a version of it as well . . . |
# |
Sep 23rd 2011, 08:12 |
dakota |
yeah, wasn't aware that he'd moved it to github and updated it |
# |
Sep 23rd 2011, 08:10 |
destinydriven |
dakota, https://github.com/jaredhoyt/cakephp-wizard |
# |
Sep 23rd 2011, 08:09 |
destinydriven |
jaredhoyts? |
# |
Sep 23rd 2011, 08:09 |
dakota |
destinydriven: 1.3? The wizard plugin is broken in 1.3 |
# |
Sep 23rd 2011, 08:08 |
destinydriven |
this is basically the example from the book except that its using 'action' => 'wizard', from wizard plugin to go to first step (book) |
# |
Sep 23rd 2011, 08:04 |
destinydriven |
Seguer, http://bin.cakephp.org/view/139790768 |
# |
Sep 23rd 2011, 08:00 |
destinydriven |
I've followed the book to the T |
# |
Sep 23rd 2011, 08:00 |
destinydriven |
grrr |
# |
Sep 23rd 2011, 07:59 |
Seguer |
destinydriven: some people just suck less |
# |
Sep 23rd 2011, 07:59 |
Seguer |
destinydriven: everyone sucks at routing |
# |
Sep 23rd 2011, 07:59 |
destinydriven |
ok so I suck at routing |
# |
Sep 23rd 2011, 07:49 |
CoolCoder |
ok. I got the issue. thanks |
# |
Sep 23rd 2011, 07:49 |
dakota |
CoolCoder: yup. if it doesn't appear under the apache2Handler -> loaded modules section, then it isn't loaded |
# |
Sep 23rd 2011, 07:48 |
CoolCoder |
dakota: Serguer : mod_rewrite is not enabled i think . sorry |
# |
Sep 23rd 2011, 07:47 |
CoolCoder |
in phpinfo there is no mod_rewrite means its not enabled. right? |
# |
Sep 23rd 2011, 07:46 |
dakota |
CoolCoder: check the output of phpinfo() it will tell you if mod_rewrite is enabled |
# |
Sep 23rd 2011, 07:45 |
Seguer |
try going to app/webroot/index.php?url=/ |
# |
Sep 23rd 2011, 07:44 |
CoolCoder |
yes. i checked with the server admin. they told its enabled |
# |
Sep 23rd 2011, 07:44 |
Seguer |
you might want to check - do you have mod_rewrite? |
# |
Sep 23rd 2011, 07:44 |
CoolCoder |
without layouts |