Hey everyone
I'm very new to drupal. I've been coding an entire website with html & css only and now I want to move it to drupal to make it editable by anyone who isn't really into geeky stuff.
So, originally, this is how I work to ease editing :
- I separate as much as I can layout parts in files (header.php, footer.php, menu.php...
) as well as related css files (header.css, footer.css, ...
)
- and then I create unique templates files : like article.php
that would call the layout elements and css files, and then include in a simple php file that contains simple content with basic markups.
So basically, my template file for article looks like this
<?php
include(header.php);
include(menu.php);
include(left-sidebar.php);
include(right-sidebar.php);
include(my-article-name.php); // 'my-article-name' is provided by GET url parameter
include(footer.php);
?>
Now, this how a page like this looks like : http://best.grandcercle.org/events.php?id=le0
So this fits pretty much the content type concept as I understood it in drupal. So when I found that I thought to myself : "Yep, drupal is exactly what I need :)"
So before I start any cosmetic work, I wanted to create content type.