Implementing a Drupal Business Theme
- The first part is easy just copy an existing theme and rename it so you have somewhere to start from.
- Open the .info file in an editor and add the lines shown in the tutorial containing config details, region identifiers, and the css files we’ll be using. Notice the regions are the groups we created in Photoshop:
- regions[header] = Header
- regions[navigation] = Navigation
- regions[featured] = Featured
- regions[welcome] = Welcome
- regions[columns] = Columns
- regions[content] = Content
- regions[highlighted] = Highlighted
- regions[help] = Help
- regions[sidebar] = Sidebar
- regions[footer] = Footer
- copy the html.tpl and page.tpl from the drupal/modules/system folder to drupal/themes/business
- create new folders css, design, images and js. move the drupal/themes/business folder to drupal/sties/all/themes/business
- open XAMPP and enable Apache and MySQL and log in
- At this point we should enable our new theme, but for some reason Drupal thinks that our theme is not compatible with this version of Drupal. So I'm going to check the .info file to see if something is wrong there.
No comments:
Post a Comment