After setting up our first drupal site, we noticed some cool little widgety modules that we would like to include in other sites, w/out upgrading them to drupal (as they will be laid to rest in the coming months)

Is there a way to run a drupal module, in a standalone php page that resides outside of our drupal site? I'm assuming if its possible it would necessitate including some of the core files etc...

Thanks for any suggestions.

Comments

MichaelCole’s picture

Well, I wouldn't recommend it, buuuuuuuuuutttttt.... There's alot of things not recommended are actually quite satisfying and fun.

Anyways, you could try an IFRAME HTML tag. http://www.w3schools.com/TAGS/tag_iframe.asp

setup a drupal site with a bare bones theme. no sidebars, no header or footer, no logo, etc.

Then in the static page, IFRAME in the drupal pages URL.

I wouldn't recommend trying to take apart drupal to get just the php you needed for module. It would probably be more work than it's worth.

Best luck!

Mike

dzrobarge’s picture

Hey Zeromnil... did you ever sort out how to do this?

here's where i stand: http://drupal.org/node/488788