Log message #108259

# At Username Text
# Aug 7th 2008, 02:14 Martz|grrr Kitara: no. You have a plugin dir called "admin" (which again might not be a good idea if you have admin routing enabled) and inside that dir, you should have admin_app_controller.php and then a controllers dir with admin_controller.php
# Aug 7th 2008, 02:14 thestaff this is done
# Aug 7th 2008, 02:14 thestaff it's a very small view
# Aug 7th 2008, 02:14 thestaff my view use the default layout
# Aug 7th 2008, 02:13 achew22 make a view and get your layout to have jQuery and thickbox in it
# Aug 7th 2008, 02:13 thestaff what would be the first step ?
# Aug 7th 2008, 02:13 Kitara Martz|grrr: sorry for the confusing, but for some reason that plugin_app_controller does not pass it through to a plugin_controller
# Aug 7th 2008, 02:12 thestaff hmm, not sure I know how to do that
# Aug 7th 2008, 02:12 achew22 or call it in through ajax
# Aug 7th 2008, 02:12 achew22 thestaff: you render the view inside another view inside a div that is hidden then show that div
# Aug 7th 2008, 02:12 thestaff my view is a very simple form
# Aug 7th 2008, 02:11 thestaff what do you mean kinda ?
# Aug 7th 2008, 02:11 achew22 thestaff: yes, kind of
# Aug 7th 2008, 02:11 thestaff achew22, can I put a view in the ThickBox ?
# Aug 7th 2008, 02:11 Martz|grrr the "plugin controller" should I say
# Aug 7th 2008, 02:11 Martz|grrr Kitara: well as long as the other controllers extended the plugin class, it will work
# Aug 7th 2008, 02:11 Kitara app/plugins/admin/admin_app_controller.php
# Aug 7th 2008, 02:11 Kitara Martz|grrr: i want to set it in a plugin and use it over the controllers in that plugin
# Aug 7th 2008, 02:10 achew22 TonkaTruck: you really should bake them though
# Aug 7th 2008, 02:10 TonkaTruck achew22: thanks, heh.
# Aug 7th 2008, 02:10 Kitara Martz|grrr: same counts for $myvarthatisnotused
# Aug 7th 2008, 02:10 thestaff gimme 10 min
# Aug 7th 2008, 02:10 achew22 TonkaTruck: yes
# Aug 7th 2008, 02:10 Martz|grrr Kitara: so you set it in app/app_controller.php and you're trying to access it in AdminAppController?
# Aug 7th 2008, 02:10 thestaff I'm workin on it
# Aug 7th 2008, 02:10 thestaff yeah
# Aug 7th 2008, 02:10 achew22 thestaff: lets get back to your modal problem though
# Aug 7th 2008, 02:10 Martz|grrr Kitara: $test *might* be reserved, be careful with that.
# Aug 7th 2008, 02:10 TonkaTruck So if model is named Category its database table is named categories and its controller is named categories_controller.php?
# Aug 7th 2008, 02:10 achew22 no worries
# Aug 7th 2008, 02:10 thestaff yeah I know I just assumed, I didn't realised you were actually from there
# Aug 7th 2008, 02:09 thestaff nvmd
# Aug 7th 2008, 02:09 achew22 thestaff: I never said that
# Aug 7th 2008, 02:09 Kitara Martz|grrr: class AdminAppController extends AppController { var $test = 'test'; } howcome that this does not get passed then ? :S
# Aug 7th 2008, 02:09 thestaff I thought you were goin to UColorado
# Aug 7th 2008, 02:08 achew22 UNC
# Aug 7th 2008, 02:08 thestaff achew22 you said you're a student, so I was just wondering which school you go
# Aug 7th 2008, 02:08 achew22 I was mocking you. My dad is a harvard grad its in the bylaws of being alum's children
# Aug 7th 2008, 02:08 Martz|grrr Kitara: yep should do, since the plugin extends AppController ultimately
# Aug 7th 2008, 02:08 thestaff wait what
# Aug 7th 2008, 02:08 achew22 nevermind