Hello guys, I'm trying to migrate my current site to Drupal, but my pages have some html forms and their associated interlinkings, is there any way to use drupal's great themes and plugins, but keeping my individual php pages? (Basically, have my pages in drupal wrappers, but still labeled mypage.php, pagetwo.php, etc). You can see it right now at www.mogos.net, if that helps.

Comments

Chong’s picture

sorry, link is wrong: should be here at www.mogos.net

laura s’s picture

If it's not enabled, turn it on. You can paste the php into pages (be sure to select php-type input) and then go to administer->url aliases and create the page urls you want.

===
Laura
pingVision

_____ ____ ___ __ _ _
Laura Scott :: design » blog » tweet

Chong’s picture

Thank you very much; I looked through all the admin. options except that one apparently :| So I can just create nodes (type being page) and do the alias now, right?

Chong’s picture

Any hints on how to get back to drupal's MySQL db after I use my own?

killes@www.drop.org’s picture

Look up db_set_active at drupaldocs.org
--
Drupal services
My Drupal services

ezheidtmann’s picture

I don't understand your question.

EDIT: killes probably got it. Sorry for being dense. :-)

Chong’s picture

Thanks for all the help people, last question here :)
Okay, so I have the database all hooked up, but I would like to use drupal variables (whether the user is logged in or not, what is their name if they are, etc.) in my own php code. Any suggestions?

killes@www.drop.org’s picture

Try including bootstrap.inc from your code.
--
Drupal services
My Drupal services

Chong’s picture

Any way to generate dynamic node titles? I would like to connect to a DB and fetch it from there...

*edit* other issues has been resolved. I didn't realize .modules were really php files, but now I've read some of the other code and figured out some of the problems.

Chong’s picture

Much larger issue on this one: I have no idea why Internet Explorer renders my page this way, but it totally clobbers scrolling. Its as if the page isn't redrawn so much as simply drawn again on top of the old content. Other drupal sites seem to work fine, so I'm not sure exactly what causes it. Any help would be appreciated.