# |
Sep 22nd 2011, 19:29 |
draginx |
if i have the touch. subdomain for my appâ?¦where would I go to see how cakephp handles this? O_o |
# |
Sep 22nd 2011, 19:22 |
Danielpk |
np |
# |
Sep 22nd 2011, 19:22 |
draginx |
ty |
# |
Sep 22nd 2011, 19:22 |
Danielpk |
draginx: http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/ |
# |
Sep 22nd 2011, 19:22 |
Danielpk |
draginx: it can help u |
# |
Sep 22nd 2011, 19:21 |
draginx |
Danielpk: do u know the command to quickly do that? =/ |
# |
Sep 22nd 2011, 19:21 |
Danielpk |
htaccess* |
# |
Sep 22nd 2011, 19:20 |
Danielpk |
draginx: htacces? |
# |
Sep 22nd 2011, 19:20 |
Danielpk |
Brazilian: same page i guess $this->redirect(array()); should work =P |
# |
Sep 22nd 2011, 19:19 |
Brazilian |
Danielpk, nice |
# |
Sep 22nd 2011, 19:19 |
Danielpk |
Brazilian: no.. to home. |
# |
Sep 22nd 2011, 19:19 |
Brazilian |
you guys, am I redirecting to the same page when i $this->redirect(´/´); ? |
# |
Sep 22nd 2011, 19:18 |
draginx |
Is there an easy way to redirect all links and locations from touch.domain.com to m.domain.com ? |
# |
Sep 22nd 2011, 19:04 |
ujjain |
ah great :) I will start using it too then, I have seen some huge grabs. |
# |
Sep 22nd 2011, 19:04 |
kidtangerine |
Grabs everything you have an association with |
# |
Sep 22nd 2011, 19:03 |
kidtangerine |
Yeah, from my limited understanding contain allows to be selective with what models you need where recursive grabs everthing which can eventually be huge |
# |
Sep 22nd 2011, 19:03 |
Zion2014 |
hey guys, i'm having a hard time trying to display the ® symbol on my page with htmlentities, any help? |
# |
Sep 22nd 2011, 19:02 |
ujjain |
Is Contain(able) an alternative for default high $recursiveness? |
# |
Sep 22nd 2011, 19:01 |
kidtangerine |
Ill try it thanks |
# |
Sep 22nd 2011, 19:01 |
scoutmstershke |
http://mark-story.com/posts/view/using-bindmodel-to-get-to-deep-relations |
# |
Sep 22nd 2011, 19:00 |
scoutmstershke |
kidtangerine use bind model on the fly |
# |
Sep 22nd 2011, 18:58 |
nnnnathann |
kidtangerine, just wondering if it was possible, thanks. |
# |
Sep 22nd 2011, 18:58 |
nnnnathann |
kidtangerine, alright, I will do that. was looking to respond with JSON that included some element html |
# |
Sep 22nd 2011, 18:57 |
kidtangerine |
nathan, why don't you just do whatever logic you need from the element in the controller? |
# |
Sep 22nd 2011, 18:56 |
nnnnathann |
is there a way to render an element from a controller and return the string, without rendering output? |
# |
Sep 22nd 2011, 18:56 |
kidtangerine |
so i tried to contain account, and then status |
# |
Sep 22nd 2011, 18:56 |
kidtangerine |
scout: I need to get Status.closed which doesn't have an assoication with Promise, and I didn't want to do a recursive 2 and pull all that data |
# |
Sep 22nd 2011, 18:53 |
scoutmstershke |
then just set the condition accordingly |
# |
Sep 22nd 2011, 18:52 |
scoutmstershke |
why didn't you just associate it with the main model being called? |
# |
Sep 22nd 2011, 18:52 |
kidtangerine |
scout: can you give any suggestions for cleaning it up? |
# |
Sep 22nd 2011, 18:51 |
scoutmstershke |
simplier the better when it comes to php |
# |
Sep 22nd 2011, 18:51 |
scoutmstershke |
I'd rewrtie that make it more simplified |
# |
Sep 22nd 2011, 18:49 |
kidtangerine |
I thought it had to be specified for each table that you contain. |
# |
Sep 22nd 2011, 18:48 |
scoutmstershke |
let me re write that real wuick |
# |
Sep 22nd 2011, 18:48 |
ujjain |
Cakephp likes arrays, 5 in 1 line, that's impressive. |
# |
Sep 22nd 2011, 18:47 |
kidtangerine |
within the contain |
# |
Sep 22nd 2011, 18:47 |
kidtangerine |
But they are for different tables |
# |
Sep 22nd 2011, 18:46 |
scoutmstershke |
use one |
# |
Sep 22nd 2011, 18:46 |
ujjain |
hehe :) I am fairly new to Cakephp auth, session, acl, |
# |
Sep 22nd 2011, 18:46 |
scoutmstershke |
you have two conditions set kidtangerine |
# |
Sep 22nd 2011, 18:45 |
scoutmstershke |
dont listen to that last sentance |