I set up a Drupal web site on an inexpensive web hosting account, and it worked OK, but overkill. I don't have a huge need for content management, and I wasted a lot of time trying to find ways to work around certain features. So I have regenerated the same content with my own graphic presentation, and ... Drupal, we hardly knew ye.
However, it's easy to imagine that as the site evolves, I may run into requirements where Drupal could save me a ton of development work, so here's my question: supposing that I'm going to continue to have my own front index.html, and it continues to link to generally my own content -- can I still plug Drupal into some corner of the site and take advantage of some great things it can do?
Can I do this without putting index.cgi back, and without using the Front Page extension module? No Drupal 404 not-found handler or anything, just Drupal where I want it and nowhere else?
From my own experience trying this, and guessing from the existence of the Front Page module, the "promote to front page" option in create-content, etc., I'm guessing that the answer is basically "no" - Drupal will allow me to link to other content, but won't work unless it's index.cgi.
Comments
Sure you can, but not without
Sure you can, but not without index.php AFAIK. So if you don't want to make a Drupal page request on your front page (either using Front Page module or static template within the Drupal theme layer), you would need to run it in a sub-folder. There is also more than one project for exporting Drupal to static (e.g. https://www.drupal.org/project/static). Drupal does always have some maintenance overhead though. You can also import data from a Drupal backend into another site using a js framework such as Angular in front of web services, which is the idea behind the 'headless Drupal' movement (Google it), but Drupal 7 is not terribly good at this, whereas Drupal 8 will be, so that trend is more linked to D8.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
oh - sub-folder, you say?
Ah. Just tried it - moved all the drupalia down into a subdirectory, and it seems to work just fine there, so at first glance that seems like all I'd need - thanks!
_
Drupal is pretty easy to bootstrap. This is all that's in index.php:
So if this was a portfolio site, I could easily imagine creating a portfolio.php file like this:
Then you could manage your content with Drupal but display it on your own.
- Brendan
The absolute easiest way to
The absolute easiest way to do this will be to put Drupal in a folder, so your site looks like...
You can call the drupal folder whatever.