Hey,

I seem to be having trouble incorporating WP and ZF together.  Each
work individually, so I'm wondering if I'm approaching the integration
incorrectly.

What I want to do is have ZF be responsible for all paths, setting up
the layout and using Zend_View to render what I need.  As a result, I
only need WP loaded when a certain path (in my case, the index page)
is requested - or I could manipulate the controllers to provide nicer
path access to WP rather than use their mod_rewrite for categories,
permalinks, etc.

In using Zend_View however, it appears that a class for the db set up
by WP is not maintained in memory (I get a fatal error that a function
call is used on a non-object, though tracing WP code shows it should
operate correctly).

I do not want to have a path where Wordpress operates independently,
but if that is the best way, I guess I'll have to do that... has
anyone worked through a similar integration and can understand what
may be going on here?

For reference: I'm using the latest releases (WP 2.0.5 and ZF 0.2.0).


Thanks!

David

Reply via email to