Thursday, April 19, 2012

Conversion of HTML document into Drupal Theme

Step1: Create a folder in Themes and named it as custom.

Step2: Copy the .info file from Garland theme and pasted it in our custom theme folder, and made changes in it's description.

Step3: Copy the page.tpl file from Garland theme and pasted it in our custom theme folder, and delete all data in that. Then copy the HTML code from static page and paste it in the page.tpl.php file (And also delete piece of code from that and paste code upto from Garland theme page.tpl file and pasted it in our custom theme page.tpl file, except the IE code).

Step4: Copy the .css file from given page and paste it into the our custom theme folder and finally changes the stylesheet name in .info file.

Step5: Changes the static blocks to dynamic blocks.

Step6: Print the Page variables.

No comments:

Post a Comment