Re: Installation path
if you use the methods in the HtmlHelper class it will be added automagically. for example: $html->link('Blog','/blog/posts'); otherwise you can always use $this->base or $this->webroot Bake on. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Installation path
gwoo escribió: > just copy the contents of the app directory into any subdirectory. > Make sure you get the htaccess file, which could be hidden. Then > change the CAKE_CORE_INCLUDE_PATH to point to your "cake" directory. > Assuming you have mod_rewrite, everything should go just fine. >From what I understand, the CAKE_CORE_INCLUDE_PATH is the path to the cake framework, not the base url to my application. I think that I didn't explain my problem quite well... Let's suppose I have my application installed on the webroot directory of my local server: http://localhost Here, if I want to link to the add action of the blog controller, I should link to '/blog/add'... right? What happens if I want to move my application to http://localhost/cakeapp ? Should I change all the references to '/cakeapp/blog/add'? Or is there any config variable where I could set the base url, and changing only this variable the work is done? Thanks for you help -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Installation path
just copy the contents of the app directory into any subdirectory. Make sure you get the htaccess file, which could be hidden. Then change the CAKE_CORE_INCLUDE_PATH to point to your "cake" directory. Assuming you have mod_rewrite, everything should go just fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Installation path
Try working with routes or hijack your url. Routes: http://groups.google.com/group/cake-php/browse_thread/thread/d570ca3d03e2d737/a9798df92bf58a66?q=routes&rnum=1#a9798df92bf58a66 or http://manual.cakephp.org/chapter/4 To hijack: http://groups.google.com/group/cake-php/browse_thread/thread/66dc2488f95ca098 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Installation path
Hello.I'm trying cakephp for the first time, and I'm wondering how could I tell to cakephp configuration that the base url of the application is not '/', but, for example '/caketest'.In my development machine I have installed cake under http://localhost/caketest, but I want to be able to install the application I will develop on any other subdirectory with only a change in configuration. I've tried to find anything about this on the manual, but I don't get it. Is there any standard way to tell cake what the base url is?Thank you very much--antonienko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---