integrating Wordpress with Symfony

后端 未结 2 894
被撕碎了的回忆
被撕碎了的回忆 2021-01-06 13:00

I have a site built with Symfony 1.2. I\'m trying to integrate Wordpress 2.8.4 into it to power my blog. I followed the instructions at http://www.theodo.fr/blog/2009/03/int

相关标签:
2条回答
  • 2021-01-06 13:35

    I tried for a while, but couldn't get this to work in 2.8.4. I did, however, get just about everything working with Wordpress 2.7.1 using the following links and some tinkering:

    Step 1: Description of hacks necessary to make WordPress work inside Symfony.

    Step 2: Share user information between Symfony and Wordpress

    More code for step 2

    Help setting up session database

    0 讨论(0)
  • 2021-01-06 13:45

    I've written a follow-up guide to the helpful article on theodo.fr that works with the latest versions of WordPress and has steps for upgrading: http://blog.codeclarity.com/2009/12/02/integrating-symfony-and-wordpress/. I believe your conflict is the esc_js function defined by both Symfony and WordPress. If you run my command in step 4 you should be good to go with the latest version. Hope that helps.

    0 讨论(0)
提交回复
热议问题