Log message #1031185

# At Username Text
# 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- /
# Sep 11th 2009, 06:38 crayfishuk durin-: Nope.
# Sep 11th 2009, 06:38 durin- is : an illegal character in a url?
# Sep 11th 2009, 06:37 crayfishuk NoReGreT: Not the classic 'space after the ?> tag' then... that's a bugger too!!
# Sep 11th 2009, 06:36 xurupita thank's guys!
# Sep 11th 2009, 06:36 learning_cak OMG how can i solve this.
# Sep 11th 2009, 06:35 burzum alkemann, just escape it and output it?
# Sep 11th 2009, 06:35 crayfishuk Not explicitely - but maybe the Auth component is doing it?
# Sep 11th 2009, 06:35 learning_cak crayfishuk: you have a redirect in your index()?
# Sep 11th 2009, 06:34 xurupita i edited /etc/apache2/sites-available/default and that's ok!
# Sep 11th 2009, 06:33 alkemann ie a preview
# Sep 11th 2009, 06:33 alkemann bast / fastes awy to render an xml generated with XmlHelper in a html view?
# Sep 11th 2009, 06:33 burzum this are the best bugs ;)
# Sep 11th 2009, 06:33 burzum haha
# Sep 11th 2009, 06:33 NoReGreT it's fixed, the reason was so damn silly, "<? php" instead of "<?php" :S
# Sep 11th 2009, 06:32 learning_cak hitting submit again will have a correct resulting array but results to wierd view result on the Course multiple select
# Sep 11th 2009, 06:31 learning_cak array from Course lacks 1 element and the selected will be in the array index - 1
# Sep 11th 2009, 06:29 learning_cak not necessarily have a course selected but when i chose 1 of the Course in the 3rd offered subject then hit submit, the resulting array is incorrect
# Sep 11th 2009, 06:28 burzum you need to get the select then inside of each of the subjects
# Sep 11th 2009, 06:27 learning_cak burzum, yes
# Sep 11th 2009, 06:27 learning_cak yes
# Sep 11th 2009, 06:25 burzum learning_cak im not sure, but you want to have a course selected in each of the subjects?
# Sep 11th 2009, 06:24 crayfishuk app_controller beforeFilter http://bin.cakephp.org/view/807952324
# Sep 11th 2009, 06:24 learning_cak crayfishuk: how about your beforeFilter()?