Hi,
I have a PHP based site. How do i Integrate drupal blog module in my site. It is not in drupal framework?

Comments

mpare’s picture

Drupal isn't really intended for certain portions of it to be used within another site like that. I would build your site in drupal and use drupal blog module or not use drupal at all.

Peace,
-mpare
--
Pare Technologies
Drupal Consulting, Themeing, and Module Development
806.781.8324 | 806.733.3025
www.paretech.com

Figure Something Out? Document Your Success!

BrianEagan-1’s picture

That is actually fairly easy. You can have it running on a different server (for example) and just link to it.

I'm integrating an existing PHP site with Drupal's community tools right now. We have our existing site on one server (www.domain.com) and the drupal software/site will have it's own server (drupal.domain.com or whatever) and we can just build that into our navigation system.

You could also have it installed on the same server. Just do keep databases seperate (which should be trivial).

If you wanted a more interesting solution you could use apache's reverse proxy module to hide the fact that you have two servers if you wished.

Brian

panis’s picture

If you run them as two independent systems with just links to each other - then the work involved is trivial as BrianEgan points out.
You will possibly only need to adjust the look and feel by modify existing themes in drupal to match your site's. You can hire someone to do this or do it on your own.

For minimal integration you may wish to to transfer user information between the systems. Although you can recreate the users on the drupal site your users will be forced to authenticate again on drupal once they do on your PHP based site. A custom module in drupal can very easily help you overcome this by authenticating against your existing php site and grabbing user information automatically from there. Depending on your existing authentication mechanism this may be trivial. If you would like to roll your own module take a look at the winliveid module here http://drupal.org/projects/winliveid. It is a simple module i developed to help authenticate with microsoft windows live id and you can use the same framework to write your own. Alternatively you can hire someone to do this.

In this case you can run drupal blog in an iframe on your site or transfer the entire thing over the drupal and just have links back to your original php site, and theme drupal to blend in to your existing site.

Best would be to migrate over to drupal as mpare puts it as there are several tools that can help you do that - of course not knowing the complexities of your system this may not be very easy.

worldofmine_2007’s picture

My system is obviously very complex. I am very new in drupal. I am talking about code level changes. As it is built on PHP. I am asking if you can give me some indeep knowledge of modules.

Let's make more sense....... How do i add new functionality to existing modules?

Hope to hear from you.
Thanks!