# |
Aug 7th 2008, 03:01 |
thestaff |
sure |
# |
Aug 7th 2008, 03:01 |
achew22 |
I need to go back to my projects now though so if something REALLY bad happens message me but otherwise I have to go |
# |
Aug 7th 2008, 03:01 |
thestaff |
alright i'll figure it out |
# |
Aug 7th 2008, 03:01 |
achew22 |
I think so it is a setting somewhere |
# |
Aug 7th 2008, 03:00 |
thestaff |
instead of in the middle ? |
# |
Aug 7th 2008, 03:00 |
thestaff |
also can you change where you put the box ? |
# |
Aug 7th 2008, 03:00 |
thestaff |
achew22, thank you ! |
# |
Aug 7th 2008, 03:00 |
achew22 |
oops, my bad |
# |
Aug 7th 2008, 02:59 |
thestaff |
without the thtml it works better |
# |
Aug 7th 2008, 02:59 |
thestaff |
never mind |
# |
Aug 7th 2008, 02:58 |
thestaff |
Element Not Found: C:\Program Files\EasyPHP 2.0b1\www\app\views\elements\../categories/add.thml.thtml |
# |
Aug 7th 2008, 02:58 |
thestaff |
i get an empty box |
# |
Aug 7th 2008, 02:57 |
thestaff |
and that's what I see when I go items/add |
# |
Aug 7th 2008, 02:56 |
thestaff |
well I have a file /views/categories/add.thtml |
# |
Aug 7th 2008, 02:56 |
achew22 |
therefore if you want to render something in /views/categories you have to do $this->element('../categories/add.thml') |
# |
Aug 7th 2008, 02:56 |
achew22 |
remember $this->element only renders a file located in /views/elements |
# |
Aug 7th 2008, 02:55 |
thestaff |
and here is my controller that goes with it |
# |
Aug 7th 2008, 02:55 |
thestaff |
yeah it's a file |
# |
Aug 7th 2008, 02:55 |
thestaff |
http://bin.cakephp.org/view/409032604 |
# |
Aug 7th 2008, 02:55 |
achew22 |
thestaff: is it that file? |
# |
Aug 7th 2008, 02:53 |
thestaff |
no it's a view |
# |
Aug 7th 2008, 02:53 |
achew22 |
or are you trying to render /app/views/categories/add.thtml? |
# |
Aug 7th 2008, 02:53 |
achew22 |
is $this->categories('add') a function? |
# |
Aug 7th 2008, 02:53 |
thestaff |
<?php echo $this->categories('add'); ?> cuz to replace the view but the modal box's one |
# |
Aug 7th 2008, 02:52 |
thestaff |
no :-( |
# |
Aug 7th 2008, 02:52 |
achew22 |
thestaff: good to hear. are we :) yet? |
# |
Aug 7th 2008, 02:52 |
thestaff |
ok so I have you text thing working on my view |
# |
Aug 7th 2008, 02:51 |
Rizwan78 |
hi, how can i check user status, if user is still online/browsing my site. |
# |
Aug 7th 2008, 02:50 |
achew22 |
css can do that |
# |
Aug 7th 2008, 02:50 |
thestaff |
it's cuz of the freakin css ! |
# |
Aug 7th 2008, 02:50 |
thestaff |
how man that's why my first modal box wasn't working |
# |
Aug 7th 2008, 02:49 |
achew22 |
without CSS it's a whole lot of nothing |
# |
Aug 7th 2008, 02:48 |
thestaff |
ok so that-s what is missing |
# |
Aug 7th 2008, 02:48 |
achew22 |
the floating and greying out and stuff is all css |
# |
Aug 7th 2008, 02:48 |
achew22 |
the css is what makes it do that stuff |
# |
Aug 7th 2008, 02:47 |
thestaff |
do I neet the css as weel ? |
# |
Aug 7th 2008, 02:47 |
achew22 |
what else is :( |
# |
Aug 7th 2008, 02:47 |
achew22 |
lets get you all the way there |
# |
Aug 7th 2008, 02:47 |
thestaff |
not yet :-( |
# |
Aug 7th 2008, 02:47 |
achew22 |
thestaff: will that work for you? |
# |
Aug 7th 2008, 02:46 |
JeffEmbracedDC |
Martz: Any idea why it wouldn't be compatible with HABTM? |