Hi,

I am a newby for drupal. I am thinking of creating a website for property business and I have found a theme which costs $48 which isn't too bad. What I don't understand is, when you install a theme, why do you also need a sub-theme? Also, I am following a tutorial on youtube (perhaps its a bit old) but in the instructions, the user finds html5 from the omega theme and copies it up to the main theme level. However, I cannot for the life of me find this html5, when I go into the omega theme all I get is default and dusty, and as I navigate through the structure I still cannot find it. Anyone know where I can find this so I can follow the tutorial because I am practically tearing my hair out here.

Sorry for so many questions,

Thanks

Comments

gausarts’s picture

Which Omega version, 3, 4 or 5? They are different.
You may want to check the version first, and start working with the same version as the tutorial says.

love, light n laughter

cyberfrog’s picture

Thanks for the response I think he used 3 but I downloaded 4. Can you please answer my other questions?

Thanks for your time

gausarts’s picture

why do you also need a sub-theme?

It is just the best practice to not change existing modules/themes since you'll get headaches with upgrades. Drupal already provides tons of hooks to alter them in your own modules/themes, in your case, a sub-theme.

Once you have the same version, then you should be able to find the "html5" sub-theme which should be stored somewhere in it. I checked it, Omega 3 stores it under "starterkits" > "omega-html5".

love, light n laughter

cyberfrog’s picture

Thanks gausarts for your explanation

RuchiSingh’s picture

Hi,
I have been working as drupal themer since past 3 years now. I can let you know why to always use a sub theme, before starting a new development.

"A sub-theme is a theme based on a base theme in drupal.
The base theme provides basic functionality which is already in the core. The subtheme styles the site with a unique look, and adds any unique extra functionality.

Also, if one uses the core theme directly and tweeks it according to his/her changes, firstly: it is not desirable and rather I would say "correct" to make changes to core theme, secondly, if in future any updates happen in the theme, your code might have conflicts. So, it is always desirable to make a subtheme of your base theme and start developing your website.

One more thing I would like to highlight is: There are many unwanted CSS files which come with the core theme. Making your theme as sub-theme, inherting the core theme, you are free to override the CSS of the core without any worry about change of core elements.

Hope the comment comes to some help to you all.
Happy Drupaling!!! :) "