I am currently building a static website from just HTML, CSS, and Javascript that i know. I plan to have a blog page but I want the blog page to be controlled via Drupal so it will update and archive easily. I know i can use drupal for all pages of my website, but i want my homepage to remain static and I feel that if i use drupal for every page it will be hard to control that.

Is it possible to use drupal to control just a single subsection of my entire website?

Also how difficult is it to make then entire website drupal but only have the blog section update with new posts?

Thanks!

Comments

imranweb’s picture

Yes, you can absolutely do what you want.
It would be helpful, if you get some idea about theming in Drupal.

-Imran

lu_smithcon’s picture

You say it can be done. Could you be more specific about how. My client wants a searchable/sortable membership list. Their current site is a rather large static site and they don't want to pay to have the whole thing rebuilt. My thinking is to use Drupal for only the membership portion, but I'm not sure how to accomplish this without interfering with the static portion of the site. Do I just need to run it from a subdomain?

jaypan’s picture

Drupal doesn't really work so well at managing only a portion of a site. You are best going all or nothing - that is to say either use it, and import/recreate all of your content within Drupal, or don't use it.


Contact me to contract me for D7 -> D10/11 migrations.
Or anything really. I'm friendly, and open to work or conversation.
Silman’s picture

I was also wondering how exactly web design is hindered using drupal. I see that in Drupal you have to use a drupal theme or else the content management doesn't work. Does this mean i am limited to what my websites can look like and that all the CSS i have learned is useless?

How can i design my own website with CSS and have drupal still manage its content?

john_b’s picture

Design is not hindered. You can make almost anything in Drupal, and you need to know css to do it, as well as knowing something about Drupal theming (or about modules like Panels which take over theming).

Learning Drupal is a big job (to get really good probably takes years rather than days, but a bit of hard work over a few weeks will take you a long way), and Drupal takes a certain amount of maintenance. If your only interest is to add some blogging features to your site, I would use Wordpress for the blogging page. However, if you have your own reasons for wanting to learn and join the wonderful (and often frustrating and time-consuming) world of Drupal, then it is safe to say that once you have spent some time and effort learning it you can get Drupal to do everything you could possibly want from a website.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

David Ipswich’s picture

You are asking about using HTML and CSS for the front page and using Drupal for the rest.

You could do this in several ways but the best way would be to install Drupal and then create your own theme using your own HTML and CSS. You then set the site up so that your home page uses your theme (and therefore your html and css) and all the rest of the site uses one of the other themes.

A second, and easier, way would be to install Drupal and a basic theme, and then create a sub theme using your own css. This way Drupal would be running your whole site, including the front page, but every page would be using a sub-theme based upon your own css.

A third way would be to install Drupal 7 and use the 'Stark' theme that comes with it. 'Stark' displays your site but without any style. It has no page template file only a layout.css file with only a dozen or so lines. You could simply replace these with your own css.

TarekElTabey’s picture

Thanks for the suggestions.. May I ask you something?
The third and second ways (which I think almost the same) is to have own base or starterkit theme, which I modify from almost a scratch,,, for me I guess this is the RIGHT and APPROPRIATE solution, druapl wise, but the problem is I don't know how to set up javascript to the elements of the page i'm designing, I already included the script in the sub-theme .info file but I don't know just how to do it...

about the first solution, I guess it's not RIGHT, i mean why i'm using drupal if i'm not using drupal and overriding it, but unfortunately, because I'm still a beginner in Drupal, php and javascript I have to use this option, please, how do u suggest I should

set the site up so that your home page uses your theme (and therefore your html and css) and all the rest of the site uses one of the other themes.

by using the Front Page Module?
Thanks, Tarek.

WorldFallz’s picture

The simplest way is to install and configure drupal they way you want (including a theme), and then just create a page--front.tpl.php in your theme. It have have whatever static html and css you want.

TarekElTabey’s picture

Hello there, Normally I would think this as the Front_page module?
But I believe you're suggesting something else... I mean does your method works if my xHTML/CSS front page includes, jquery like Ascensor.js ??

Thanks in advance, Tarek :)

ajay547’s picture

Yes you can do that by creating front page template, and let others as it is.

Thanks & Regards,

Ajay Singh

ahqaf’s picture

Yess. You can do that.