# |
Sep 11th 2009, 17:51 |
keogh |
Valiant64: thanks |
# |
Sep 11th 2009, 17:51 |
Valiant64 |
keogh: it's apache mod_rewrite: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html |
# |
Sep 11th 2009, 17:50 |
keogh |
Valiant64: what language is that sintax, how do I look for more information about it, to understand it and use it? |
# |
Sep 11th 2009, 17:49 |
NoReGreT |
i see |
# |
Sep 11th 2009, 17:49 |
Valiant64 |
NoReGreT: /controller/action/params/moreparams |
# |
Sep 11th 2009, 17:48 |
NoReGreT |
in redirect(), is sayd that it takes a $url. So how e.g. array('action' => 'index') is considered a url ? |
# |
Sep 11th 2009, 17:47 |
Valiant64 |
then you have open access to that dir |
# |
Sep 11th 2009, 17:47 |
Valiant64 |
keogh: open .htaccess and use something like this: ~~~~~~~ RewriteRule ^files/$ app/webroot/files/ [L] |
# |
Sep 11th 2009, 17:46 |
keogh |
in Zend Framework there is a directory 'public/' where you can put anything that you don't want to be read by the framework, is there anything similar in CakePHP ? |
# |
Sep 11th 2009, 17:46 |
Valiant64 |
keogh: you can probably build a model around phpbb's user table |
# |
Sep 11th 2009, 17:45 |
keogh |
ok |
# |
Sep 11th 2009, 17:45 |
Valiant64 |
keogh: second write update modifications to phpbb's login and your cake app login so they sync, or so that it utilizes one or the other |
# |
Sep 11th 2009, 17:45 |
keogh |
is not a easy way? |
# |
Sep 11th 2009, 17:44 |
keogh |
S |
# |
Sep 11th 2009, 17:44 |
keogh |
but I don't want that CakePHP thinks that forum is a controller |
# |
Sep 11th 2009, 17:44 |
Valiant64 |
keogh: first, get familiar with mod_rewrite |
# |
Sep 11th 2009, 17:44 |
keogh |
and I want that forum be on mydomain.com/forum |
# |
Sep 11th 2009, 17:44 |
keogh |
and I want to use a phpBB forum |
# |
Sep 11th 2009, 17:43 |
keogh |
I have CakePHP on mydomain.com |
# |
Sep 11th 2009, 17:43 |
keogh |
e.g. |
# |
Sep 11th 2009, 17:43 |
keogh |
how can I put others webapps inside CakePHP |
# |
Sep 11th 2009, 17:42 |
keogh |
hi |
# |
Sep 11th 2009, 17:41 |
Valiant64 |
... |
# |
Sep 11th 2009, 17:40 |
NetTalk |
<CakeBot> just need ur suggestion and reference website where i may find the solution |
# |
Sep 11th 2009, 17:40 |
jjwdesign |
!manual |
# |
Sep 11th 2009, 17:40 |
NetTalk |
<CakeBot> hi, could u please help me out |
# |
Sep 11th 2009, 17:39 |
jjwdesign |
!cakebook |
# |
Sep 11th 2009, 17:39 |
jjwdesign |
!noob |
# |
Sep 11th 2009, 17:38 |
biscazziere |
I have a simple problem when writing a test for my behavior: there is a case when I use trigger_error in the behavior. How can I test if this error is triggered? I tried with $this->expectError('My error msg') but it doesn't seem to work, even if I see the error displayed |
# |
Sep 11th 2009, 17:36 |
NetTalk |
plz help me out if anyone has an idea |
# |
Sep 11th 2009, 17:36 |
NetTalk |
Is there any other way around which let me handle through admin panel |
# |
Sep 11th 2009, 17:35 |
NetTalk |
I have seen the cakephp core way in which webcontents handle through locale folder |
# |
Sep 11th 2009, 17:34 |
NetTalk |
thanks in advance |
# |
Sep 11th 2009, 17:33 |
NetTalk |
how to manage multilanguage web contents through admin panel in Cakephp? just me any reference article about it or suggest me the best way |
# |
Sep 11th 2009, 17:33 |
Valiant64 |
NoReGreT: if it works it works |
# |
Sep 11th 2009, 17:32 |
Valiant64 |
NoReGreT: but, then again. i could list off 5 other ways to read data |
# |
Sep 11th 2009, 17:32 |
NoReGreT |
Valiant64: http://book.cakephp.org/view/336/Creating-Post-Views, i was wondreing about $this->Post->id = $id; |
# |
Sep 11th 2009, 17:32 |
Valiant64 |
NoReGreT: I'd feel more comfortable with just having the id in the read function, and you save a line of code |
# |
Sep 11th 2009, 17:31 |
NoReGreT |
Valiant64: it goes like this $this->set('post', $this->Post->read()); |
# |
Sep 11th 2009, 17:30 |
Valiant64 |
NoReGreT: $this->Post is your static model |
# |
Sep 11th 2009, 17:30 |
Valiant64 |
NoReGreT: where would the data then go |