# |
Aug 7th 2008, 02:34 |
achew22 |
did you change the id on your div? |
# |
Aug 7th 2008, 02:34 |
thestaff |
what id ? |
# |
Aug 7th 2008, 02:33 |
achew22 |
thestaff: did you check your id on your element? |
# |
Aug 7th 2008, 02:33 |
Kitara |
Martz: tnx, so far, works like a sharm :) Yesterday i was mad about it so you realy helped me out :D |
# |
Aug 7th 2008, 02:31 |
thestaff |
achew22, no no, the pb is when I load the page, I see mybox, instead of the normal page |
# |
Aug 7th 2008, 02:30 |
achew22 |
link* |
# |
Aug 7th 2008, 02:30 |
achew22 |
thestaff: escape or click on thel ink |
# |
Aug 7th 2008, 02:29 |
Kitara |
heh, oh, well, everybody have their imperfections, one more than the other... |
# |
Aug 7th 2008, 02:28 |
Martz|grrr |
ACTION wishes |
# |
Aug 7th 2008, 02:28 |
Kitara |
then you dont have a lot inperfections :) |
# |
Aug 7th 2008, 02:27 |
Martz|grrr |
it's my only inperfection! |
# |
Aug 7th 2008, 02:27 |
Kitara |
ah well nobody is perfect :P |
# |
Aug 7th 2008, 02:26 |
Martz|grrr |
"Do as I say, not as I do!" |
# |
Aug 7th 2008, 02:26 |
Martz|grrr |
i dunno if it'll be rejected/allowed.. im ashamed to say ive not contributed anything to it :/ |
# |
Aug 7th 2008, 02:26 |
thestaff |
achew22, how do I hide it? |
# |
Aug 7th 2008, 02:26 |
Martz|grrr |
http://book.cakephp.org/view/114/plugins perhaps |
# |
Aug 7th 2008, 02:25 |
Kitara |
plugin tips ? :) |
# |
Aug 7th 2008, 02:25 |
Kitara |
Martz|grrr: any good suggestion where to place that comment ? ;) |
# |
Aug 7th 2008, 02:25 |
thestaff |
i need to hide the div "mybox |
# |
Aug 7th 2008, 02:25 |
thestaff |
well now it display only my thickbox view |
# |
Aug 7th 2008, 02:24 |
achew22 |
thestaff: good thus far? |
# |
Aug 7th 2008, 02:24 |
Martz|grrr |
Kitara: good stuff =) |
# |
Aug 7th 2008, 02:24 |
thestaff |
that works |
# |
Aug 7th 2008, 02:24 |
thestaff |
achew22, yeah |
# |
Aug 7th 2008, 02:24 |
achew22 |
if you want to render the file located at /app/views/elements/add.thtml then $this->element('add'); |
# |
Aug 7th 2008, 02:24 |
Kitara |
Martz|grrr: always do that if its usefull for others ;) |
# |
Aug 7th 2008, 02:24 |
achew22 |
well wait |
# |
Aug 7th 2008, 02:24 |
Martz|grrr |
Kitara: excellent ;) Perhaps - if you can be bothered - submit a comment/change to the Book so other ppl know |
# |
Aug 7th 2008, 02:23 |
achew22 |
thestaff: let me check |
# |
Aug 7th 2008, 02:23 |
Kitara |
moved it to 'dash' since its a monitoring dashboard, and it works |
# |
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 |
thestaff |
correct ? |
# |
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: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: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:19 |
achew22 |
thestaff: yeah... that one |
# |
Aug 7th 2008, 02:19 |
Kitara |
Martz|grrr: okay, that exact last thing is wat is not working :) |
# |
Aug 7th 2008, 02:18 |
thestaff |
or thtml... (v1.1) |
# |
Aug 7th 2008, 02:18 |
achew22 |
thestaff: no, it's a file.ctp which exists in /app/views/elements/. |
# |
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:17 |
danival |
Perfect, thanks |