# |
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 |
# |
Aug 8th 2008, 04:51 |
pgcd |
nothing at all? |
# |
Aug 8th 2008, 04:51 |
fourcs |
The source code view in the has_many doesn't show any rendering of the radios. |
# |
Aug 8th 2008, 04:50 |
pgcd |
fourcs: i mean, does the hasmany view output anything at all? |
# |
Aug 8th 2008, 04:50 |
pgcd |
fourcs: this might be silly, but have you compared the html output in the two views? |
# |
Aug 8th 2008, 04:48 |
Lemon|work |
image: Best browser compatibility, includable into pdf's but limited graphcs qsuality and interaction |
# |
Aug 8th 2008, 04:48 |
stevieboy |
Lemon|work: i'd choose the php-version. so you can put it out like you want and cache it correctly |
# |
Aug 8th 2008, 04:47 |
Lemon|work |
javascript: fastest realtime updates and great interaction with resizes in browsers but alot of dev time needed and also not able to add in pdf's |
# |
Aug 8th 2008, 04:47 |
Lemon|work |
flash: nice graphics and rendering (aliasing) but unable to embed it into serverside generated pdf's |
# |
Aug 8th 2008, 04:47 |
fourcs |
Only the 'belongs_to' view radios are rendered. |
# |
Aug 8th 2008, 04:46 |
Lemon|work |
all have advantages and disadvantages :s |
# |
Aug 8th 2008, 04:46 |
Lemon|work |
Should i go with flash based graph library, a javascript based or an php image rendered based? |
# |
Aug 8th 2008, 04:46 |
fourcs |
None of them are rendered. |
# |
Aug 8th 2008, 04:46 |
pgcd |
fourcs: is the last radio the one that doesn't get rendered? have you tried using $form->radio(etc)? |
# |
Aug 8th 2008, 04:44 |
fourcs |
This has_many view isn't produced in the browser. |