Setting up AT7 subtheme is strait forward and should only take you a few minutes.
I assume you have download the theme from Drupal .org: http://drupal.org/project/adaptivetheme
Unpack the archive to your hard drive and look inside the main folder, the structure will look like this:
adaptivetheme
- adaptivetheme (the core base theme)
- adaptivetheme_admin (AT Admin theme)
- adaptivetheme_subtheme (the one we are interested in)Sub-theme Set Up
To get up and running with your own subtheme follow these steps:
1. Copy and paste adaptivetheme_subtheme, it doesn't matter where you place the copied version as long as its in a theme directory. For example if you are using sites/all/themes you can place it there - it does not need to be inside the root adaptivetheme folder.
2. Rename the info file and edit the info file details. For example lets assume you want your theme to be called "footheme", the name of the info file will be "footheme.info". Once you have renamed the file open it up and change the "name" and "description" to suit your taste.
3. Edit the theme_settings.php and template.php files - here we will be replacing "adaptivetheme_subtheme" with your themes name, in this case "footheme" - this must match the name you gave to the info file. The easy way is to just use search/replace.
Thats it - you are ready to enable your new subtheme!
Comments
AdaptiveThemes
#1 AdaptiveTheme theme from Drupal downloads three subdirectories which are all three seen by the administrative user when put in the sites/themes/ directory. I don't understand which one I should use (adaptivetheme or adaptivetheme_subtheme) for the pixture_reloaded theme (subtheme, really). Pixture_reloaded says adaptivetheme, but there are no instructions I can find for adaptivetheme connection to pixture_reloaded.
You don’t need to do
You don't need to do anything, as long as Adaptivetheme is in your themes directory that is enough, you can enable Pixture Reloaded (which is a subtheme on its own).
secondary_links
I need to move the secondary links into sidebar_first. Using Drupal 7, there is no block for the secondary menu, the menu is included in the code for page.tpl.php, and currently appears directly below the main navigation bar.
As a Drupal newbie, and very new to Adaptive Themes (which are awesome, btw) how do I move the secondary menu into sidebar_first? My assumption was/is that I need to move the if/print statement into the bit of code that create the sidebar_first region. My problem is that I can't find that bit of code.
Thanks for any help, sorry if this request isn't clear. I'll rephrase it if I need to, it's just real late.
...
In D7 the "User menu" block is the default secondary menu block, so you can use that in the sidebar. If you really want to move the variable its called
$secondary_navigation....
Thanks JB, for the quick reply.
So, now that I have slept, I can explain a little better.
I have set the source for Secondary Links to Primary Links so that I can place sub-links under About Us and and when the User is viewing one of the About pages, they will see the About specific navigation. So for each Web site section the menu changes. This part works great, and is already setup.
However I need to move the Secondary Links (I believe in D7, they are now known Secondary Menu?) to the left column to match the Site design. Practically, my thought is that they should be included in the sidebar_first region. This is what is not working.
From my quick read of the tpl pages, and my limited understanding of template functions, I cannot figure out where (in the code) the sidebar_first region is being created. As such I cannot move the $secondary_navigation code into that region.
I have tried to accomplish this task by copying the page.tpl.php file to my sub-theme and adding a div container directly above the sidebar_first region code, which does output the Secondary Menu on the page. This is where the CSS get tricky. If I apply the same positioning CSS to this new div I've created as is the sidebar_first region, then sidebar_first overlays my div, the particular line that let's the magic happen is: margin-left: 100%. If I leave this line off then my div, even with float: left, does not float to the left of the main content.
So I'm getting there with my solution, but man, if there is a way to sort out getting this menu into the sidebar_first region, it will be so much easier.
Thanks again.
Same problem
I have the same problem. Did you manage to solve it?
Pixture Reloaded Question
Hi, at the top of this page under the Search box you have the three buttons (Themes, Services and Home) that highlight and are links to other pages on this website. Is that something that can be created using the Pixture Reloaded theme? If so, how would one go about doing that? I've tried but if it is possible I'm missing something. Thanks for your time.
Change color give problems
I've just started with Drupal 7. Tried to work with the Adaptive themes - Pixture Reloaded, AT Vibrant specifically - changing the color from default to another optional color does not work properly. Is there something that I have misunderstood?
Maybe somebody could explain for me a solution.
Thanks.
Same problem
I've got the same problem as John. I'm editing colors.css in my pixture_reloaded (renamed) theme. In firebug I see that the color for the site name that I changed is coming from ...files/color/arteschapala-a6cf095c/colors.css?ljbgn5 whatever that is. It's not picking up my changes. I've cleared the caches and still nothing. What are we missing?
Solution Found
The colors module in D7 creates a set of CSS files in the files directory based off those defined in the themes directory, but only updates them when you change the color scheme as managed through the Themes interface. As a consequence, it would seem anything you put in colors.css is not used until you make a change through the web interface. Someone correct me if I'm wrong, as I'm just trying to figure this out.
I give up
The above solution is correct, except that the resulting color is not the one I chose, but some seemingly random purple or green, rather than the blue I specified in Hex in the colors.css file. At first I thought it was computing the opposite color for some reason, and I could just fake it out, but no. Wow. Anyone more versed in these mysteries is encouraged to comment.
Schemes?
I went through this set up, but now I'm completely stumped at how to get drupal to recognize the scheme I have.
I edited the theme settings, and I know it's using the theme I want...but where in Drupal to I point it to using the CSS file I've created?
I'm two seconds from just dumping my styles into an already existing CSS file to just get on with my day!
I was reading there was a bug between 7 and schemes...has that been fixed?
Hi, can you post an issue to
Hi, can you post an issue to the Adaptivetheme issue queue on Drupal.org. clearly something is going wrong for you and its much easier to help you there.
How to override page.tpl?
I'm a bit new to Drupal and Adaptivethemes so maybe this is obvious. But I can't seem to figure out how to override the page.tpl from the adaptivetheme folder. When I copy the page.tpl to my subtheme folder and edit it, nothing happens?I've tried to place it in the root of my subtheme folder and in root/templates like in the adaptivetheme folder, but with no luck. What am I doing wrong?
When I edit the page.tpl directly in the adaptivetheme folder everything is good, but I've read somewhere that this is not the way to go when subtheming.
Thanks for a great starter theme.
Cache?
You probably need to clear your sites cache, Drupal won't "see" the new template until you do this (in performance settings).
Thanks
I was trying to clear the cache through the Devel module's feature "Clear Memcache", but for some strange reason that didn't work. Now when I clear the sites cache "manually" in performance settings everything is good. Thanks for your quick reply :)
failed theme
I installed a subtheme and changed the name with notepad++ uploaded to the server and got the following after implementing my new custom as default. by changing the name I mean I edited the appropriate php and info files.
forgot to paste the error
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home/kolusko1/public_html/includes/theme.inc on line 99
Superfish menu.
I use the Adaptivetheme for D7. After that I install Superfish module follow this instruction http://drupal.org/project/superfish but it doesn't work. I read this article http://adaptivethemes.com/add-superfish-drop-menus-to-any-theme-easily but if I follow this way it doesn't full integrate with theme. Pls teach me how to do? thank you. I am a noob in D7.
top menu bar query
Hi team,
I am building a Drupal site at the moment and really like the AT Time out theme (over the AT Core of course). Howver before buying it, can you tell me if I can remove the top menu bar please? I notice all the themese have the menu bar across the bottom of the header and I dont want that to be so on my site. Can I remove that in the theme?
Thanks,
Ziggy
Skinr 7
Please could you do an urgent tut on how to configure SKINR 7 to use with an adaptive child theme
Add new comment