# |
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? |
# |
Aug 7th 2008, 02:45 |
achew22 |
thestaff: do it via ajax, or add style="visible:hidden" or something like that |
# |
Aug 7th 2008, 02:45 |
thestaff |
i gues sstyle="display: none;" should work |
# |
Aug 7th 2008, 02:44 |
thestaff |
how do you hide the dive tho ? |
# |
Aug 7th 2008, 02:43 |
achew22 |
Predom: are you here or not -- I can't tell |
# |
Aug 7th 2008, 02:42 |
achew22 |
thestaff: and in that action set the layout to one that is ajax friendly and you should be hot to trot |
# |
Aug 7th 2008, 02:41 |
JeffEmbracedDC |
Martz: you're a genius |
# |
Aug 7th 2008, 02:41 |
achew22 |
just change it from #tb_inline to the url of a page it will do that in ajax |
# |
Aug 7th 2008, 02:41 |
Martz |
bbl |
# |
Aug 7th 2008, 02:40 |
achew22 |
thestaff: that's really easy to ajax with that |
# |
Aug 7th 2008, 02:39 |
thestaff |
yes it does |
# |
Aug 7th 2008, 02:38 |
JeffEmbracedDC |
Martz: cool man I appreciate it |
# |
Aug 7th 2008, 02:38 |
Martz |
used* |
# |
Aug 7th 2008, 02:38 |
Martz |
JeffEmbracedDC: not sued it myself, heres something about it - might be in the book too: http://www.cakephp.nu/countercache-cakephp-12-beta |
# |
Aug 7th 2008, 02:38 |
Martz |
JeffEmbracedDC: counts the total relationships on created/update/delete etc. |
# |
Aug 7th 2008, 02:37 |
achew22 |
thestaff: does this work? http://bin.cakephp.org/view/1266619691 |
# |
Aug 7th 2008, 02:37 |
thestaff |
nope |
# |
Aug 7th 2008, 02:37 |
achew22 |
thestaff: also, did you set modal to true? |
# |
Aug 7th 2008, 02:37 |
thestaff |
so I wanna get categories/add.thtml as thickbox in items/add |
# |
Aug 7th 2008, 02:36 |
thestaff |
well the browser is display the <div style="display: none;" id="myBox"><?php echo $this->categories('add'); ?></div> |
# |
Aug 7th 2008, 02:36 |
JeffEmbracedDC |
Martz: hmm? |
# |
Aug 7th 2008, 02:36 |
achew22 |
thestaff: does it triggre on its own or do you have to click it? |
# |
Aug 7th 2008, 02:35 |
Martz |
JeffEmbracedDC: counterCache ? |