phpdrupalthemesdrupal-theming

Drupal Theming: Omega drupal .info file?


I'm using an Omega child theme. I've renamed and renamed all the functions. I'm a bit of a newbie at drupal but a very experienced wordpress user. I'm a bit frustrated by the theme configurations.

I'm trying to use the .info file to override the columns and the layout. Whenever i change the number of columns it doesn't actually render the columns. I've cleared the cache as well. Unfortunately, the settings i've set in the Administration-> Theme -> Theme Configurations Page Override my .info file.

Any ideas?

The following is my .info file for my theme ; $Id: childtheme.info,v 1.1.2.15

; ------- Declare default theme information

name        = Child Theme
description = Child Theme built by <a href="http://www.globerunnerseo.com">Globe Runner SEO</a>
screenshot = screenshot.png
core       = 6.x
base theme = omega

; ------- Declare default stylesheets

stylesheets[all][] = assets/css/common.css
stylesheets[all][] = assets/css/custom.css

; ------- Declare default javascript includes

scripts[] = assets/js/core.js

; ------- Declare default theme regions

regions[sidebar_first] = sidebar first
regions[sidebar_last] = sidebar last

regions[header_nav] = header nav
;regions[header_last] = header last

regions[preface_first] = preface first
regions[preface_middle] = preface middle
regions[preface_last] = preface last

regions[content_top] = content top
regions[content_bottom] = content bottom

regions[postscript_one] = postscript 1
regions[postscript_two] = postscript 2
regions[postscript_three] = postscript 3
regions[postscript_four] = postscript 4

regions[footer_first] = footer first
regions[footer_last] = footer last
regions[meta_first] = meta first
regions[meta_last] = meta last

; ------- Declare default theme features

features[] = logo
features[] = name
features[] = slogan
features[] = mission
features[] = node_user_picture
features[] = comment_user_picture
features[] = search
features[] = favicon
features[] = primary_links
features[] = secondary_links

; ------- Set the default settings to be used in theme-settings.php

; ------- Non-960gs general settings
settings[reset_css] = 1
settings[text_css] = 1
settings[regions_css] = 1
settings[defaults_css] = 1
settings[custom_css] = 1

settings[front_page_title_display] = title_slogan
settings[page_title_display_custom] = ''
settings[other_page_title_display] = ptitle_stitle
settings[other_page_title_display_custom] = ''
settings[configurable_separator] = ' | '

settings[omega_breadcrumb] = 'yes'
settings[omega_breadcrumb_separator] = ' / '
settings[omega_breadcrumb_home] = 1
settings[omega_breadcrumb_trailing] = 1
settings[omega_breadcrumb_title] = 1

settings[mission_statement_pages] = home

settings[sidebar_combine] = 1
settings[sidebar_contain_pages] = ''

; ------- / Non-960gs general settings

; ------- 960gs default region settings

; ------- default_container_width applies to regions like $help, $messages
settings[omega_default_container_width] = 24

; ------- Region settings for top zone (logo, menus)

settings[omega_branding_wrapper_width] = 24
settings[omega_header_logo_width] = 4
settings[omega_header_menu_width] = 12

; ------- Region settings for header regions

settings[omega_header_wrapper_width] = 24
settings[omega_header_nav_width] = 24
;settings[omega_header_last_width] = 8

; ------- Region settings for default breadcrumb and search box placement

settings[omega_internal_nav_wrapper_width] = 24
settings[omega_breadcrumb_slogan_width] = 10
settings[omega_search_width] = 6

; ------- Region settings for preface regions

;settings[txi_preface_wrapper_grids] = 24
;settings[omega_preface_first_width] = 12
;settings[omega_preface_first_prefix] = 0
;settings[omega_preface_first_suffix] = 0
;settings[omega_preface_middle_width] = 12
;settings[omega_preface_middle_prefix] = 0
;settings[omega_preface_middle_suffix] = 0
;settings[omega_preface_last_width] = 0
;settings[omega_preface_last_prefix] = 0
;settings[omega_preface_last_suffix] = 0

; ------- Region settings for content regions

settings[omega_content_layout] = first_content_last
settings[omega_content_container_width] = 24
settings[omega_sidebar_first_width] = 6
settings[omega_content_main_width] = 17
settings[omega_sidebar_last_width] = 0

; ------- Region settings for postscript regions

settings[omega_postscript_container_width] = 24 
settings[omega_postscript_one_width] = 12
settings[omega_postscript_one_prefix] = 0
settings[omega_postscript_one_suffix] = 0
settings[omega_postscript_two_width] = 6
settings[omega_postscript_two_prefix] = 0
settings[omega_postscript_two_suffix] = 0
settings[omega_postscript_three_width] = 4
settings[omega_postscript_three_prefix] = 0
settings[omega_postscript_three_suffix] = 0
settings[omega_postscript_four_width] = 4
settings[omega_postscript_four_prefix] = 0
settings[omega_postscript_four_suffix] = 0

; ------- Region settings for footer regions

settings[omega_footer_container_width] = 24
settings[omega_footer_first_width] = 5
settings[omega_footer_last_width] = 19

; ------- / 960gs default region settings

; Information added by drupal.org packaging script on 2010-07-22
version = "6.x-1.0-beta11"
core = "6.x"
project = "omega"
datestamp = "1279809608"

Solution

  • Solved. The issue was that you have to reset the default theme values.

    This can be accomplished by visiting configuring your own theme:

    1. /admin/build/themes/settings/
    2. Clear the database settings for your theme by clicking "Reset to Defaults"

    Thanks @oadaeh !