Welcome Guest, Not a member yet? Register   Sign In
How to integrate wordpress with codeigniter
#2

[eluser]Rok Biderman[/eluser]
Could you specify a bit more what you mean by "integrate"? If you only want them to work side by side, just put Wp in blogs folder. This actually saves you quite a lot of headache.

Otherwise, there are two ways I've ever done this, one of them was to write a plugin in Codeigniter. That one probably isn't interesting for you. The other was including WP header files and working with WP login integrating a CI components into admin panel. The only problem with this was that both CI and WP define site_url and that it mustn't be the same. There are quite a few ways to solve this, either by not using site_url or by extending url helper. There are actually plenty of resources on how to do it. I suggest you start with official codex guide, then you'll have an easier time making sense from posts on the forums such as this, this or maybe try the XML-RPC approach if it would better suit you.


Messages In This Thread
How to integrate wordpress with codeigniter - by El Forum - 06-10-2012, 12:46 AM
How to integrate wordpress with codeigniter - by El Forum - 06-10-2012, 01:47 AM
How to integrate wordpress with codeigniter - by El Forum - 06-10-2012, 07:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB