Welcome Guest, Not a member yet? Register   Sign In
codeigniter integrate wordpress
#11

[eluser]hamzakhan[/eluser]
[quote author="pickupman" date="1278194877"]I use both CI and wordpress. It all depends on the type of application/site someone is looking for. If someone needs to create an online presence for creating and publishing content online, wordpress is awesome. You can easily create plugins to extend any extra functionality you need. The release last week has renamed alot of the "blog" language to be consistent as a CMS platform.

Where CI shines is when you need to create a application that needs some sort of business logic, or connect to another datasoure that's not MySQL. You can create "blog" like type features for creating the content of your site. Say you wanted to create a site for property listings. Wordpress would be less than ideal out of the box, but you could put something together to make it all work. This would be an ideal site for CI.

My wife does photography, and I wrote a portfolio site in CI for her main site, and installed wordpress in a subfolder. She can upload/change images in her galleries on the portfolio, and use wordpress to post sneek peeks for clients, or marketing info. After working with both CI & WP now, I probably could use one or the other for both.[/quote]

plz guide me how u r running wordpress with codeigniter
#12

[eluser]pickupman[/eluser]
They aren't running together, they are running parallel as wp is in /blog/ subfolder.
[url="http://www.mcfrederickphotography.com"]McFrederick Photography CI Site[/url]
[url="http://www.mcfrederickphotography.com/blog/"]McFrederick Photography WP Site[/url]
#13

[eluser]hamzakhan[/eluser]
u r running paraller any change you made in CI or where u put WP and how u r accessing it.dir structure??
#14

[eluser]pickupman[/eluser]
[quote author="hamzakhan" date="1278284642"]u r running paraller any change you made in CI or where u put WP and how u r accessing it.dir structure??[/quote]
Nope, unzipped CI folder structure and uploaded to /public_html folder. Unzipped wordress into /blog/ folder. That's all. I used separate DB's, but I supposed if you really wanted to, you could connect CI to wordpress's database. You add additional tables for any extra custom stuff, and even tap into wp_posts table.
#15

[eluser]hamzakhan[/eluser]
thanks
#16

[eluser]Clooner[/eluser]
[quote author="Dan Horrigan" date="1278025119"]No...you cannot integrate Wordpress in CodeIgniter. That question is very ridiculous. I don't know of any blog software off the top of my head written in CI, however you can create a basic one yourself pretty easily.

Here is the Blog in 20 minutes video for CI. It is a little old, but the basics are the same: http://codeigniter.com/tutorials/watch/blog/

Dan[/quote]

Actually Dan, your answer is very ridicilous! It would be perfectly doable. I did something similar with a site of mine! I would use wordpress for all the back end stuff and CI for the frontend parts. The one thing I had to do was write some models to grab the data from db... Piece of cake! The thing is, Everything is possible with CI :-)
#17

[eluser]walterbyrd[/eluser]
> I don’t know of any blog software off the top of my head written in CI<<

What about dblog?

http://ellislab.com/forums/viewthread/111301/
#18

[eluser]CroNiX[/eluser]
Define "integrate". I can use the wordpress API from within my CI app. Same with another site and vBulletin.

However, there are a few minor problems, such as a few common function names, like base_url() in WP that need to be worked out or there will be problems.

On both of these sites Im using either WP or vB for authentication.
#19

[eluser]Unknown[/eluser]
I don't know how much integration you need but there's a plugin:

http://wordpress.org/extend/plugins/json-api/

that will expose a REST API for wordpress. MOMA use it to integrate it into their RAILS site.
#20

[eluser]mighty_falcon[/eluser]
[quote author="CroNiX" date="1278642109"]Define "integrate". I can use the wordpress API from within my CI app. Same with another site and vBulletin.

However, there are a few minor problems, such as a few common function names, like base_url() in WP that need to be worked out or there will be problems.

On both of these sites Im using either WP or vB for authentication.[/quote]

What did you end up doing with these functions? I am having the same issue if I load the WP files the CI function names are overridden...and I use site_url and a number of other ones all over the place throughout my CI application so do not want to rename them...

Any other thoughts?




Theme © iAndrew 2016 - Forum software by © MyBB