# |
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 |
# |
Aug 7th 2008, 02:08 |
achew22 |
to colorado? |
# |
Aug 7th 2008, 02:08 |
thestaff |
what do you mean how ? |
# |
Aug 7th 2008, 02:07 |
thestaff |
well I take my bike and ride there.... |
# |
Aug 7th 2008, 02:07 |
achew22 |
;) |
# |
Aug 7th 2008, 02:07 |
Kitara |
Martz|grrr: ah, okay, but does this also work in a plugin? |