# |
Aug 8th 2008, 05:22 |
fourcs |
ok |
# |
Aug 8th 2008, 05:22 |
pgcd |
fourcs: so i think there might be something else working here. try baking the controller again, maybe? |
# |
Aug 8th 2008, 05:21 |
pgcd |
fourcs: i just tried pasting the code for your radiobox into a form, and it works ok |
# |
Aug 8th 2008, 05:21 |
annnna |
like forcing http//mycakeapp.com to www.mycakeapp.com |
# |
Aug 8th 2008, 05:21 |
annnna |
sorry to bother, has any one tried to modify cake's htaccess to prevent duplication? |
# |
Aug 8th 2008, 05:20 |
fourcs |
http://bin.cakephp.org/view/984646593 is the url of the /views/owners/view.ctp file. |
# |
Aug 8th 2008, 05:18 |
Matts |
butt the value will not get sent when I hit the submit-button |
# |
Aug 8th 2008, 05:18 |
Matts |
and they are all in the same group, and I have checked the HTML-code where all values are OK |
# |
Aug 8th 2008, 05:17 |
annnna |
good morning guys! |
# |
Aug 8th 2008, 05:17 |
Matts |
only the last radiobutton will get it's value sent |
# |
Aug 8th 2008, 05:16 |
Matts |
i have a wierd error in my code of radio-buttons |
# |
Aug 8th 2008, 05:16 |
fourcs |
http://bin.cakephp.org/view/812685473 is the url of the add.ctp view. |
# |
Aug 8th 2008, 05:15 |
pgcd |
since right now it seems you're just using the scaffolded views, and those don't have default radioboxes (afaik) |
# |
Aug 8th 2008, 05:15 |
pgcd |
if that is your view.ctp, then i think you'd better bake again and make sure you bake an actual view file |
# |
Aug 8th 2008, 05:14 |
pgcd |
(or index.ctp) |
# |
Aug 8th 2008, 05:14 |
pgcd |
with "view" i mean /views/owners/view.ctp |
# |
Aug 8th 2008, 05:13 |
pgcd |
fourcs: that is still the controller... |
# |
Aug 8th 2008, 05:12 |
fourcs |
http://bin.cakephp.org/view/382443660 is the view of the owners_controller file. |
# |
Aug 8th 2008, 05:12 |
pgcd |
back and annoyed. i can't see why adding a "selected" option to a datetime field shouldn't work, honestly |
# |
Aug 8th 2008, 05:06 |
pgcd |
brb |
# |
Aug 8th 2008, 05:06 |
pgcd |
fourcs: this one http://bin.cakephp.org/view/1887541522 has a controller declaration at the beginning, try removing it (if it's the view) |
# |
Aug 8th 2008, 05:05 |
anf6 |
When each of my views is rendered (despite using containable behavior) cake seems to perform a query to find the columns in EVERY table in my database causing performance to be bad. Is there a way to disable these or is it necessary? |
# |
Aug 8th 2008, 05:05 |
fourcs |
You're looking at the first file I sent, which was the owners_controller.php file. |
# |
Aug 8th 2008, 05:02 |
fourcs |
That .ctp was generated by bake |
# |
Aug 8th 2008, 05:01 |
pgcd |
fourcs: you have a controller declaration in a .ctp file? |
# |
Aug 8th 2008, 05:01 |
Phally |
how do i set the value in find('neighbors') what previously was $value in findNeighbours()? |
# |
Aug 8th 2008, 05:00 |
fourcs |
That code comes from the app/views/owners/add.ctp file. |
# |
Aug 8th 2008, 04:58 |
Tosak |
Hey everyone. If I want the fieldset to be turned off for radio buttons in the formHelper, do I need to download a patch, or are there an option included in 1.2? |
# |
Aug 8th 2008, 04:57 |
pgcd |
no surprise it doesn't get rendered... =) |
# |
Aug 8th 2008, 04:57 |
pgcd |
fourcs: that code you wrote is in the controller, it's not in the view |
# |
Aug 8th 2008, 04:56 |
pgcd |
fourcs: i just noticed something! |
# |
Aug 8th 2008, 04:56 |
pgcd |
and see if anything happens |
# |
Aug 8th 2008, 04:56 |
pgcd |
echo $form->radio('test', array('opt1'=>'OPT1','opt2'=>'OPT2')); |
# |
Aug 8th 2008, 04:56 |
pgcd |
fourcs: try pasting this as the first line in your view: |
# |
Aug 8th 2008, 04:54 |
in-sanity |
I set uses in app_controller.php |
# |
Aug 8th 2008, 04:53 |
in-sanity |
I am using cakephp 1.2 RC2 |
# |
Aug 8th 2008, 04:53 |
in-sanity |
any ideas? |
# |
Aug 8th 2008, 04:53 |
in-sanity |
I get 'Array to string conversion [CORE\cake\libs\file.php, line 90]' when I set var $uses = array('ModelName'); |
# |
Aug 8th 2008, 04:53 |
pgcd |
fourcs: that is weird indeed... |
# |
Aug 8th 2008, 04:52 |
in-sanity |
hi all |
# |
Aug 8th 2008, 04:51 |
fourcs |
nothing |