Closed (fixed)
Project:
Advanced Theme Construction Kit (ATCK)
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
5 Apr 2008 at 21:52 UTC
Updated:
6 Apr 2008 at 17:18 UTC
I think I followed all the directions.
I up-loaded the (downloaded from highervisibility) ATCK theme to my server. And I downloaded the style.css from HV. I select the theme and it works more or less. Bare bones kind of thing. But it works. But no header region.
I ran the Layout builder, which produces a new page.tmp.php, which does not seem to be real heavy.
I upload that page.tmp.php to my server. All I get now is a blank page.
I must be leaving out one or more important steps?
I got a feeling that I am close.
Thanks, Richard Hill
Comments
Comment #1
calebgilbert commentedHi RichardHill,
First just to be sure this is not the issue - the file needs to be named page.tpl.php NOT page.tmp.php - if that is wrong nothing else will matter. ;-)
Next thing is that anything you build with the layout builder will need to have some items added to it as the builder only outputs the xhtml for a given layout, not the php print statements which makes the content appear. The easiest thing to do is to look at the sample page.tpl.php file that comes with atck and add the php parts that are in that to the desired places in your new file.
atck is indeed bare bones but that is by design so that one doesn't have to 'untheme' anything when building a custom theme from the bottom up.
Also. there is no header region at the moment, but it is easy to add by replacing the current atck_regions function with this one below within the template.php file:
And then you'd just need to put
<?php print $header; ?>at the appropriate place in your page.tpl.php file.Regards
Comment #2
RichardHill commentedHi Caleb,
Hey, thanks for the quick reponse. Yeah, the 'tmp' is the result of my tired fingers...
Ya know, if the folks at Higher Visability wanted to help, they could take 10 minutes and:
Create, using the Builder, a Drupal-style format (header, left sidebar, content, right sidbar, footer) and then merge the output into a page.tpl.php. Then post that page.tpl.php through this forum. Along with a template.php that did not have to be tweaked. That would allow us 'trying-to-learn' types to bug it out...
As it is, the learning curve is very steep. It would be nice if the thing would work right out of the box... Withoug tweaking...
If we want people to use something, it should at least work sorta...
I would love to join the support effort, but...
But thanks for your help...
Richard
Comment #3
calebgilbert commentedI think you have a bit to learn about the Drupal project and open source in general. Richard.
a) This is specifically a developer tool, which assumes some technical capabilities. There are a lot of plug and play themes. ATCK is not one of them and never claimed to be.
b) Most things worthwhile involve rolling up one's own sleeves. It's somewhat crazy to think that there are people waiting to crank out code for you for free at Drupal.org. My initial response to you was actually quite a bit more than you'll get a many other project pages.
Cheers
Comment #4
RichardHill commentedHi Caleb,
Actually, the patch you suggest is not even from the current version of ATCK.
That code you suggest I modify is in the 10/20/2007 version of template.php.
The current download contains a 3/15/2008 version of template.php.
The two versions are not even distant first cousins...
But what the hell, we are all volunteers...
Richard
Comment #5
calebgilbert commentedYou're right it's from the current 5.x version. My bad. It's very easy to adapt that to the 6.x version though and you're still an ingrate. By the way - you're welcome for the 15 minutes of my personal time that I spent with the first response to you.
Leave me be and go see how far your current attitude gets you in this community (not far). Any further responses from you will be ignored and if you keep it up I will report you to the D.O. site admins. Abusing project maintainers is not part of what posting on Drupal.org is about.