# |
Sep 11th 2009, 06:54 |
crayfishuk |
SNAP! |
# |
Sep 11th 2009, 06:54 |
crayfishuk |
Eggy_Blastoff: yes |
# |
Sep 11th 2009, 06:54 |
learning_cak |
Eggy_Blastoff: yes |
# |
Sep 11th 2009, 06:54 |
learning_cak |
hehe CakeBot triggered; ) |
# |
Sep 11th 2009, 06:54 |
Eggy_Blastoff |
is it possible to have a controller use exclusively a model that is not related to itself? |
# |
Sep 11th 2009, 06:53 |
crayfishuk |
~ask |
# |
Sep 11th 2009, 06:53 |
crayfishuk |
^prob^ |
# |
Sep 11th 2009, 06:53 |
crayfishuk |
Dunno - what's the porb |
# |
Sep 11th 2009, 06:53 |
learning_cak |
crayfishuk: can you help me with my prob? |
# |
Sep 11th 2009, 06:53 |
learning_cak |
is it a trend now? |
# |
Sep 11th 2009, 06:52 |
learning_cak |
hehe.. |
# |
Sep 11th 2009, 06:52 |
crayfishuk |
learning_cak: You looking for a new wife? ;-) |
# |
Sep 11th 2009, 06:49 |
learning_cak |
any filipinos here? |
# |
Sep 11th 2009, 06:47 |
learning_cak |
crayfishuk: have you encountered same problem as mine? |
# |
Sep 11th 2009, 06:47 |
dakota |
? |
# |
Sep 11th 2009, 06:47 |
dakota |
NoReGreT: What is in your posts_controller.php file |
# |
Sep 11th 2009, 06:46 |
durin- |
that worked |
# |
Sep 11th 2009, 06:46 |
durin- |
woot thanks |
# |
Sep 11th 2009, 06:45 |
crayfishuk |
You can disable named params app-wide now using: / Router::connectNamed(false); |
# |
Sep 11th 2009, 06:44 |
crayfishuk |
Info on turning off named params is in https://trac.cakephp.org/ticket/4451 |
# |
Sep 11th 2009, 06:44 |
durin- |
no biggie i'll just strip the :'s |
# |
Sep 11th 2009, 06:43 |
durin- |
when i took out the semicolon in the url they were populated correctly |
# |
Sep 11th 2009, 06:43 |
durin- |
misc had page, page had nothing |
# |
Sep 11th 2009, 06:42 |
durin- |
function reviews($text,$misc=null,$page=1) { |
# |
Sep 11th 2009, 06:42 |
durin- |
just on this particular page |
# |
Sep 11th 2009, 06:42 |
crayfishuk |
If you've got /abc:123/ as a param, it'll be in params['named']['abc']='123' |
# |
Sep 11th 2009, 06:42 |
durin- |
and could see they were getting moved over |
# |
Sep 11th 2009, 06:42 |
durin- |
well i was writing the vars out to firebug |
# |
Sep 11th 2009, 06:41 |
crayfishuk |
Anyone know how to turn off named params on a controller-by-controller basis |
# |
Sep 11th 2009, 06:41 |
durin- |
and it worked |
# |
Sep 11th 2009, 06:41 |
durin- |
i just took it out |
# |
Sep 11th 2009, 06:41 |
durin- |
its the : |
# |
Sep 11th 2009, 06:41 |
crayfishuk |
Have a look at $this->params['named'] in your controller - I bet you see it in there.. |
# |
Sep 11th 2009, 06:40 |
durin- |
but i need the one after it |
# |
Sep 11th 2009, 06:40 |
durin- |
i don't actually need the var in there |
# |
Sep 11th 2009, 06:39 |
durin- |
its actually just seo text |
# |
Sep 11th 2009, 06:39 |
crayfishuk |
The Router's a pain at times. |
# |
Sep 11th 2009, 06:39 |
crayfishuk |
You can use named params: i.e. www.acme.com/controller/action/fred:1/bert:abc etc |
# |
Sep 11th 2009, 06:38 |
crayfishuk |
... but it might be being intercepted by the Router. |
# |
Sep 11th 2009, 06:38 |
durin- |
i'm having a wierd issue where one of the parms in a url isn't being recognized, and its pushing everything over by 1 var |
# |
Sep 11th 2009, 06:38 |
durin- |
/ |