Howdy. I am new to implementing Drupal. What I want to do is basically be able to add node articles into my current html/css web site pages.
For instance, this page: http://www.zebular.com/test.htm
What I want is to be able to add the drupal story node: http://www.zebular.com/drupal/node/1 into that page's content area, between the div:
< div id="content" >
< /div >
How do I go about doing this? I've tried to search around but am only getting overwhelmed with results like "theme conversion" and the such. I cannot seem to find anything that directly tells me how I could just simply add node articles into existing pages.
I really enjoy my current layout and setup, so do my viewers. I'd rather not do yet another complete makeover and use a drupal template, having to rebuild the entire site. I'd much rather be able to use my current site as it is, but instead of building the news by hand in htm on the index.htm page, would like to get it so new drupal articles appear in the "content" section automatically when I create them.
Once I can figure out how to do this, I am sure I'll be able to figure out how to display them correctly. Just need some help getting there. :)
Thank you for your time.
~Zeb
Comments
Hi Zeb Not sure what the best
Hi Zeb
Not sure what the best way of doing this would be.. as far as I'm aware there's not really a standard way of doing this. The first thing that springs to mind would be to write a php script including bootstrap.inc, which would allow you to call Drupal functions and display your node that way, although that's pretty code heavy. A simpler solution might be to just publish your articles as an rss feed, and use a php script to display it on your site.
Sorry if that's not a huge amount of help- I would question why you want to use Drupal for this though- there's plenty of free WYSIWYG editors you could incorporate into your site if that's what you're looking for? Otherwise to really get the benefits of Drupal, it might be worth investing the time to theme and set up Drupal to replace your current site?
Rich
Thank you for the reply
Thank you for the reply Richard! That is what I was worried about. The reason I wanted to use Drupal is because I am quite familiar with it's features (not the coding) having used to post news articles on a gaming website for several years. So when I decided to go from simple htm posting articles to something more streamlined that users could get an rss feed from, I thought of drupal.
Unfortunately, my coding knowledge only lays with html and css. I've never learned php and all the newer things.
I suppose I'll just have to get to finding a good template that I'll be able to rework to enough to look a lot like how my current css template appears.
Thank you again.
~Zeb
No problem- that's probably
No problem- that's probably the cleanest approach. If you have a good knowledge of css / html, it shouldn't take you long to re-create a theme for your site. Try starting with one of the contrib themes designed for that purpose, eg I like zen (http://drupal.org/project/zen) as it is really well commented and has a lot of online documentation. Fusion's also good, but those are only two of the most popular ones, there's a load more, and it's all down to personal taste.
Don't get too hung up on trying to get your theme to do everything- looking at your site, modules such as nicemenus (http://drupal.org/project/nice_menus) might work well for you (even though you don't use drop-down menus at the moment), and you can style them independently of your theme. Also, take a look at panels (http://drupal.org/project/panels) if you want to keep your multi-column layout in the main content area- it will keep your theme clean and will mean that you won't have to specify a load of extra content areas.
Rich
Howdy Rich, Many thanks for
Howdy Rich,
Many thanks for the great tips and links. I have begun the process and had already been looking over Zen. I may either go with that or Marinelli which I also tested and liked. Going to now do a fresh install and test a those some more and maybe a few others before I start re-skinning them.
Thank you again!
~Zeb
.
It goes roughly like this:
- Rename (or copy) your html file to a php file.
- Important: Set Drupal's
$cookie_domain='.example.com';explicitly to your domain name in Drupal's settings.php file, no "www". (At least for typical cases).The styling is up to you.
------ Edit:
Made a correction to the $cookie_domain note, to also apply to the changes made in Drupal 6.17.
Thanks :) Well, seems I've
Thanks :)
Well, seems I've done a boo boo. I removed the login block and now I cannot log back in. How do I log in when there is no login block? >.<
NM, seems someone else just had this issue to. :D /user
Thanks everyone!
.
http://drupal.org/Troubleshooting-FAQ and navigate to http://drupal.org/node/111628
Howdy, Many thanks! Site is
Howdy,
Many thanks! Site is now good-to-go! Just got done re-skinning it and now the daunting task of rebuilding the old news articles and links. :)
Thanks again for all the tips and links, it is much appreciated!
~Zeb