template implementation

A-Aas - July 27, 2008 - 11:42

i m using drupal 6 and very new to the drupal community... i have my own designed template for my sites n i have converted it to .css file now the problem for me is where n how to keep it ? i have gone through theme documentation but couldn't get solution for my problem. do i need to create node.tpl.php, page.tpl.php and any other such files or i can just use the available .tpl files of default theme(available themes in drupal) ? Is it necessary to create themes folder under sites folder and keep all my own template stuff there or not?

Plz help me i m stuck in this problem for last 3 days.

thanks for help in advance

Input all of your regions

prestonso - July 27, 2008 - 15:20

Input all of your regions into your page.tpl.php file. Your page.tpl.php file effectively provides PHP that will flow into your HTML structure. Save both the page.tpl.php file as well as your style.css underneath "themes/[your theme name here]/". Alternatively, you could save it under "sites/all/themes/[your theme name here]/". There is plenty of documentation available on this topic -- if you have more troubles I suggest you look there more exhaustively first.
___________________

Preston So
Web/Print Designer
Monarch Digital, Colorado Springs
My non-updated non-Drupal site

There are no short cuts--

WorldFallz - July 27, 2008 - 15:24

There are no short cuts-- you need to read the Drupal 6 Theme Guide. Posting all over the forums asking the same question over and over isn't going to solve your problem and no one is going to retype the extensive info in that guide into a post for you. Had you spend one of the 3 days reading and digesting the guide you would have probably been a good part of the way through your theme by now.

Theming drupal is not a casual task-- there is a learning curve and it can't be circumvented by a couple of forum posts.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

CHeck out

Shyamala - July 28, 2008 - 00:49

CHeck out http://www.drupaltherapy.com/node/52 for step by step instructions on How I converted an HTML template into a Drupal 6 theme

Shyamala
Technology Head - Drupal Competency Center
a href="http://www.netlinkindia.com">Netlink Technologies Ltd.

thanx

A-Aas - July 29, 2008 - 07:15

AA-san
thanx to you all .... i got idea n yesterday itself i used my own theme in drupal thanx.

 
 

Drupal is a registered trademark of Dries Buytaert.