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 cli access to a Cake action. Problem is,
this can mess with Wordpress (since we are modifying $_GET).

A more updates 1.2 way is to run it through cake's console. It is also
meant for cli access but can be accessed from another php-script as-
well.

These will hardly be efficient but at least better than curl of
something.

That's all I can think of.
/Martin


On Oct 17, 2:35 am, aapljack <[EMAIL PROTECTED]> wrote:
> 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 files. Is there a way to access and render my Cake
> elements in the Wordpress templates?
>
> All help is appreciated!
>
> Brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to