How to make a sub-theme of Bartik - Chapter 1 ".INFO"

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by susan5in7 on December 13, 2012 at 10:54am

Before start, try make these two tools available with you. One is "Microsoft Expression Web 4" and another is "Coral-8 Uniform Server". These two tools tremendously help you to start easily. Suppose you have installed Uniserver in your PC/Laptop in Drive D and you are developing the website "drupalcodes". So your directory location must be D:\UniServer\www\drupaldev\ (this directory contains the entire Drupal Core i.e. you download Drupal 7 and rename it as drupalcodes instead of Drupal). Now we are going to make the theme "Themaccu".

Now Start: -

  1. Copy entire Bartik folder from D:\UniServer\www\drupalcodes\themes and paste it into D:\UniServer\www\drupalcodes\sites\all\themes

  2. Rename the "bartik.INFO" file to "themaccu.INFO".

  3. Edit the "themaccu.INFO" file as the codes written beside. (you can copy & paste also).

You must look there are mainly two changes in this "themaccu.INFO" file compare to "bartik.INFO" file which are highlighted in Red Bold text.

In first bold section I have added three more blocks above content area named as "topcolumn".
In second bold section I have just change the name as "belowcontent" instead of bartik's "triptych" (Just do not want the name "triptych").

Codes:


name = Themaccu
description = A flexible, Bartik based theme.
package = Core
version = VERSION
core = 7.x

stylesheets[all][] = css/layout.css
stylesheets[all][] = css/style.css
stylesheets[all][] = css/colors.css
stylesheets[print][] = css/print.css

regions[header] = Header
regions[help] = Help
regions[page_top] = Page top
regions[page_bottom] = Page bottom
regions[highlighted] = Highlighted

regions[topcolumn_first] = Topcolumn first
regions[topcolumn_second] = Topcolumn second
regions[topcolumn_third] = Topcolumn third

regions[featured] = Featured
regions[content] = Content
regions[sidebar_first] = Sidebar first
regions[sidebar_second] = Sidebar second

regions[belowcontent_first] = Belowcontent first
regions[belowcontent_middle] = Belowcontent middle
regions[belowcontent_last] = Belowcontent last

regions[footer_firstcolumn] = Footer first column
regions[footer_secondcolumn] = Footer second column
regions[footer_thirdcolumn] = Footer third column
regions[footer_fourthcolumn] = Footer fourth column
regions[footer] = Footer

settings[shortcut_module_link] = 0

version = "7.16"
project = "drupal"

Drupal codes and experiments

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /