Page 91 of 211,277, showing 20 records out of 4,225,532 total, starting on record 1,801, ending on 1,820
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 02:16 | danival | Hey! How do I make two form inputs in the same line with formHelper? I.e. date [] month [] |
# | Aug 7th 2008, 02:16 | TonkaTruck | Does counterCache work with habtm? This must be a very popular question here. |
# | Aug 7th 2008, 02:16 | danival | I know this is probably obvious, but new to cakephp ^^ |
# | Aug 7th 2008, 02:17 | achew22 | thestaff: <div id="myBox"><?php echo $this->element('AjaxElement'); ?></div><a href="?inlineId=myBox#TB_inline">Your link</a> |
# | Aug 7th 2008, 02:17 | achew22 | oops the a needs to have a class="thickbox" on there too |
# | Aug 7th 2008, 02:17 | Kitara | Martz|grrr: so, youre saying that if i add something like var $mytest = 'test'; this should be in plugins/admin/controllers/admin_controller.php ? |
# | Aug 7th 2008, 02:17 | Martz|grrr | danival: find on page: multi-record input http://groups.google.com/group/cake-php/web/faq |
# | Aug 7th 2008, 02:17 | thestaff | achew22, I'm guessing element is my view |
# | Aug 7th 2008, 02:17 | danival | Perfect, thanks |
# | Aug 7th 2008, 02:18 | Martz|grrr | Kitara: if the scope of that var is only in a single controller yes. If you want it plugin wide, put it in plugins/admin/admin_app_controller.php |
# | Aug 7th 2008, 02:18 | achew22 | thestaff: no, it's a file.ctp which exists in /app/views/elements/. |
# | Aug 7th 2008, 02:18 | thestaff | or thtml... (v1.1) |
# | Aug 7th 2008, 02:19 | Kitara | Martz|grrr: okay, that exact last thing is wat is not working :) |
# | Aug 7th 2008, 02:19 | achew22 | thestaff: yeah... that one |
# | Aug 7th 2008, 02:20 | Martz|grrr | Kitara: may I suggest you bin your code then, your app/app_controller.php, your plugin/admin/admin_app_controller.php (where you are setting $mytest = 'foo';) and your plugin/admin/controllers/admin_controller.php (where you are trying to read $mytest) |
# | Aug 7th 2008, 02:22 | Martz|grrr | Kitara: but if you think about it - plugin/admin/controllers/admin_controller.php Extends plugin/admin/admin_app_controller.php Extends app/app_controller.php Extends Controller |
# | Aug 7th 2008, 02:23 | thestaff | achew22, $this->element('AjaxElement'); I should replace is to $this->element('app\views\categories\add.thtml'); |
# | Aug 7th 2008, 02:23 | thestaff | correct ? |
# | Aug 7th 2008, 02:23 | Kitara | Martz|grrr: problem solved, adminrouting even screws a admin plugin if adminrouting is not enabled |
# | Aug 7th 2008, 02:23 | Kitara | moved it to 'dash' since its a monitoring dashboard, and it works |