Posted by ricksta on December 5, 2011 at 5:51pm
I've created an Omega subtheme, by copying down the starterkit xhtml directory (omega-xhtml) to my hard drive and editing it to a new name and also changing the name of the .info file. I changed the names of the css files as well as per http://developmentgeeks.com/blog/creating-omega-3x-subtheme
The main Omega shows up as it always has, but I see no subtheme. I tried the same with Zen since I've used Zen in D6 a lot and the same thing happened- no subtheme.
What am I doing wrong?
R
Comments
Look at the .info file of
Look at the .info file of your subtheme... If these lines (starting around line 8) are not deleted or commented out, you want to remove them. Then the subtheme should show up. (flush caches, too)
; IMPORTANT: DELETE THESE TWO LINES IN YOUR SUBTHEME
hidden = TRUE
starterkit = TRUE
Roger
_________________
Art has gone to the dogs
GoodeGallery.com
.info
I had done this. I've also noticed that I don't have the subtheme problem with Zen anymore. I hadn't changed the extension to .info and instead had left it .info.txt. so the problem is now only with Omega. thanks.
Hi Rick, What am I doing
Hi Rick,
Not reading the manual is usually the first mistake ;) The Official Handbook, The Official groups wiki (additional advanced info) & for active real-time Omega discussion/support join #drupal-omega on IRC
If you are planning to work with Omega for any considerable length of time getting involved with the active IRC channel highly is recommended.
Best,
Joel aka @banghouse
chat
I chatted after googling this problem and finding nothing. I got a response in chat that I followed- basic .info stuff but I had done it correctly. Also with reference to docs, I noticed they were not very helpful about changing the names of the css files in the subthemes, and also about there being no theme-settings page (I'm using 3) - there's more on that by searching google, so I followed the instructions at: http://developmentgeeks.com/blog/creating-omega-3x-subtheme and I still have a problem.
Thanks.
Have you seen the Omega
Have you seen the Omega tools?
http://drupal.org/project/omega_tools
It will create a cloned theme for you, based on the two Omega starter themes.
It may be easier to start over than trouble shooting a non-working theme.
Also install devel (if you are developing) & use the clear caches option to remove the theme registry.
omega tools
I'm so used to doing this with Zen, it almost seems like more trouble than it's worth, ...until now.
To recap: I've only made a subtheme of the omega theme not the alpha. I don't have a problem with Zen subtheme showing up, and according to instructions at http://developmentgeeks.com/blog/creating-omega-3x-subtheme I've done everything correctly. I think I'll just try the whole process again.
Thanks.
& use the clear caches option
To remove the theme registry? That doesn't sound right. Devel is cool but afaik regarding cache it is only giving you a more easily accessible link to the core "clear caches" option which by default clears all caches. Correct me if I'm wrong.
Devel's flush all caches
Devel's flush all caches option has a sub menu to selectively remove other caches, the 'Theme registry' is one of them. I don't think it touches the actual registry, just the cache of it. 'Flush all caches' will get rid of it anyway.
As far as understand theme registry is the cache that will cause issues after changing theme files, I don't suppose it will hurt to dump them all when developing.
ps couldn't agree more with you on the Omega tools - it is very useful.
Thanks :^)
fixed
I just went through the renaming process again and checked and now the new subtheme is working. I'm not sure what I did, but it works. thanks to everybody.
R
Rick, Great glad you got it
Rick,
Great glad you got it working. With regard to docs, the link you are providing is old relative to where 3.x is currently. Please use the handbook as it is the most current documentation for the Omega 3.x project. It is incomplete because it's a work in progress and is being created by volunteers. If you find it lacking please consider offering some insight into how and what we can do to remedy that. Also, consider joining us in our next documentation sprint.
The handbook has solid documentation for getting started with Omega & Delta at the moment and is slated to complete the delta section and provide a context section at our next sprint.
Regadring Omega Tools, there is additional functionality in that module that makes it worth installing. Not just the ability to create subthemes in the wizard but to export themes and modify your info file as well.
Thanks,
Joel aka @banghouse
thank you
I'll do both of those things.
R
My fix for this
I just had this problem setting up Omega 4.
Went through al the steps setting up sub theme not using Drush, changed all naming areas, etc. Nothing. Then I noticed through editor I was using (Coda) that the file naming extension that was .inc was still there but hidden in finder view.
I had changed the file name in finder to mytheme.info but it was still actually "mytheme.info.inc" with the ".inc" part not showing in finder.
Solution: I "saved as" from coda: mytheme.info
That worked. Theme showed up.