• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to integate ci into wordpress ?

#1
[eluser]whidbey[/eluser]
hi all,
I am seeking a way to integated ci with wordpress. one of my site write by codeigniter,but I would like to make the index.php to be wordpress's ,and I dont' want change the function of my codeigniter site.
just embbing it, any suggetsiton? thanks first.

#2
[eluser]EEssam[/eluser]
Hello,

You need to change "index.php" from config/config.php and set it to whatever you want.

#3
[eluser]Colin Williams[/eluser]
There's no blanket way to integrate CI and WordPress. It depends on what you want to do. One problem you might encounter is that WP has a very specific theming engine, with special functions for pulling in posts, plugins, etc. So, I would anticipate it might be a bit difficult to share templates between the two.

But as EEssam pointed out, you can change the name of your front controller for CI, index.php by default, so it doesn't clash with WP's front controller, also index.php by default. Refer to http://ellislab.com/codeigniter/user-gui..._apps.html for some more info.

#4
[eluser]whidbey[/eluser]
[quote author="Colin Williams" date="1214695102"]There's no blanket way to integrate CI and WordPress. It depends on what you want to do. One problem you might encounter is that WP has a very specific theming engine, with special functions for pulling in posts, plugins, etc. So, I would anticipate it might be a bit difficult to share templates between the two.

But as EEssam pointed out, you can change the name of your front controller for CI, index.php by default, so it doesn't clash with WP's front controller, also index.php by default. Refer to http://ellislab.com/codeigniter/user-gui..._apps.html for some more info.[/quote]

well,thx for your advise. I will consider it:-), but if anyone has the same solution,I would like to use it too:-)


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.