Re: Accessing Cake elements in the webroot directory?

2008-10-17 Thread [EMAIL PROTECTED]
I am not aware of a way to rendering an element without actually bringing all of Cake to life. A few ideas that may be more of less suitable to you. The quick and hacky way: $_GET['url'] = '/controller/action/param'; require_once('path/to/cake/app/webroot/index.php'); This is an old way to get

Re: Accessing Cake elements in the webroot directory?

2008-10-17 Thread gravyface
If it's just basic blogging functionality, you might be better off sticking with the various blogs that have been built using CakePHP and/or building your own. [EMAIL PROTECTED] wrote: I am not aware of a way to rendering an element without actually bringing all of Cake to life. A few ideas

Accessing Cake elements in the webroot directory?

2008-10-16 Thread aapljack
I have installed a Wordpress blog alongside a Cake app. I have the Wordpress files in the webroot (app/webroot/articles/) directory of the Cake app. I have taken my elements code and built templates inside the Wordpress directory. I would rather render the elements like with the Cake layout