Creating a Subtheme - Manual Version (If All Else Fails)

If the Omega Tools Wizard and Drush method of creating subthemes are unavailable or you are unable to successfully create a subtheme using them, the manual subtheme creation is a viable option as well (though we recommend you try the other methods prior to this).

Manual Method

Omega supplies three starterkits. Go to sites/all/themes/omega/starterkits, and choose the starterkit that best suits your needs:

  • Omega-html5: This will cover 99% of use-cases. HTML5 is a better choice in terms of long-term compatibility with the modern web’s changing browser standards.
  • Omega-xhtml: Choose this starterkit if you have any particular xhtml requirements.
    Alpha-xhtml - No need to use Alpha at this time with the above Omega versions.

How to Create and Install:

For the remainder of these documents we will refer to the subtheme you create as mysubthemename.

  1. Copy starterkit folder

    Copy the starterkit folder you choose and place it in your sites/all/themes folder, rename to your preferred subtheme name. DO NOT use spaces or dashes (-) in your subtheme name, or your subtheme will NOT be recognized.

  2. Rename your .info file:

Views - Multiple Content Types

I need a view that displays content from 3 different content types, "blog", "videos" and "music", I haven't been able to figure out how to select multiple content types for a view.

Suggestions are much appreciated.

Creating a Subtheme Using Drush (Recommended for Advanced Users)

Drush makes it very simple to create a subtheme. For this you need to download, install, and enable the Omega Tools module first (this should be done anyway as Omega Tools has features outside Drush such as theme exporting). Once you have Omega Tools and Drush installed and configured, perform the following steps.

Create a subtheme with Drush

From a shell console in your site’s root directory (not being in your site root can cause problems in the Drupal installation) type drush omega-subtheme mysubthemename where mysubthemename is the name you want to give your custom subtheme. Don’t use any dashes or spaces in the subtheme name, or make sure to enclose the subtheme name in quotes. If you are running a multi-site setup and you want to create a new subtheme in a particular site's themes directory, navigate to sites/mysite and execute the command drush omega-subtheme "My Theme" --destination=mysite.

Your subtheme will by default be based on the Omega HTML5 starterkit.

To base your subtheme on the Omega XHTML starterkit use the option "starterkit":
drush omega-subtheme mysubthemename --starterkit=starterkit_omega_xhtml

For all other options enter:
drush help omega-subtheme

Creating a Subtheme Using Omega Tools (Recommended for Beginners)

Omega Tools helps you create a subtheme using the admin interface. This is the easiest way to make a subtheme.

How to use the Omega Tools Subtheme Wizard

  1. Install and enable the Omega Tools module (admin/modules/omega_tools), as previously mentioned.
  2. Navigate to http://example.com/admin/appearance/omega-tools/add If you do not see a form to create a new subtheme, clear all caches and check to make sure Omega Tools module is enabled.
  3. Add your preferred subtheme name.
  4. Check the “Install automatically” option if you want to create your subtheme in /sites/all/themes/ automatically. Apache needs write permissions to perform this operation. If the option is not checked, Omega Tools will generate a mysubthemename.tar file that can be downloaded after completing the steps. To install, simply unzip and place your subtheme folder into sites/all/themes.
  5. Choose your subtheme save destination, the default folder is sites/all/themes.
  6. Choose your base theme: You have two choices, Alpha and Omega. Alpha has the basic CSS reset, grid, core layout, interface and debugging and basic templating functions. Omega adds panels integration and a selection of default styling css. In 99% of cases you want to base your subtheme on Omega.

Installing Omega Base Theme

There are two ways to install the Omega Theme on your Drupal Site.

Drupal Interface

Installing a Theme in the Drupal Interface is just like installing a Module.

  1. Navigate to the Appearance admin page, admin/appearance.
  2. Click + Install new theme , admin/appearance/install.
  3. Paste into the Install from URL field the link to the file from the Omega Base Theme Page. The URL should look like http://ftp.drupal.org/files/projects/omega-7.x-3.1.tar.gz (The version number may be different).
  4. Click Install. Drupal will download the file from Drupal.org and install the theme.

For more information on how to install a theme, refer to Installing contributed modules (Drupal 7).

FTP Access

If you have FTP access to your site follow these instructions:

  1. Download Omega 7.3 Recommended Release
  2. Unzip it (Stuffit or 7-Zip or similar)

Dynamic Display Block

hi
I am using Dynamic Display Block module for Image Slide show, while i am configuring this ,it shows
like

Cycle plugin
You need to install the jQuery cycle plugin.
Create a directory in sites/all/libraries called jquery.cycle, and then copy jquery.cycle.all.js or jquery.cycle.all.min.js into it.
Latest version tested: 2.99
You can find the plugin at http://malsup.com/jquery/cycle/download.html.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x