This forum is for assistance with theme development.

3-Column layout but what about the register user interface?

Greetings

I'm building my own theme for drupal which is working pretty well.
I'm using a 3 column layout, slightly adapted from the bluebreeze theme which implements the holy grail stylesheet ;)

Everything works fine until a user wants to register.
When the guest clicks "register" the left column gets wiped of the screen. This has the consequence that the design is broken :)

Making content column different on homepage only

What's the easiest way to do this?

My intended layout is having two columns of content within the main content column. When an article is clicked it takes up the full content column as normal.

Custom $node->content using template.php

Hello all,

I'm trying find a way to alter $node->content for some custom content types (cck)... I've been trying to find out how to use the _view() hook.... is that the function to do it?

Augment header graphic section in Garlan

Hello all Drupal friends

I am using Garland theme, and trying to modify it to make the gradient color header bigger so I can place a larger icon inside. I am using custom colors.

This is what I did for now:

1) modified this line in the style.css file in garland to this:
#wrapper #container #header {
height: 190px; /* it was 80 */
}
This way the header area augments.

2) modify by hand the file body.png in themes/garland/images/
I open it in Photoshop, Gimp or any other editor. Augment the canvas size by 110 up, to 390, moving all the layer same size down. Then select the white upper pixels, copy to another layer, paste and move it to top in the canvas.
Then select the gradient coloured part, scale it up to the white upper pixel. Merge all layers and save as png. Replace body.png with this image.

---
For some reason, when I generate the theme again with my custom colors, the image body.png is still 280 pixels and not 390 as it should be.

I can manually fix this doing by hand point 2) with files/color/garland/body.png. But the other graphics that depend on a well generated gradient ( those sorrounding the logo and the square over the sections) don't be modified by this, so it is not a nice solution.

I think that somewhere in Garland theme is the solution for this, so I can generate all images automatically.
Do you know where?

different tags in node-content_type.tpl.php

I made a new content type usingi CCK and 3 Vocabularies.

I would edit my node-content_type.tpl.php so that I get something like this:

Vocabulay1: tag1 tag2 tag3 tag4
Vocabulay2: tag5 tag6 tag7
Vocabulay3: tag8 tag9 tag10 tag11

insetad of:

tag1 tag2 tag3 tag4 tag5 tag6 tag7 tag8 tag9 tag10 tag11

Empty cck fieldgroup displaying

I've used CCK to add a fieldgroup to a Page. If the fieldgroup is empty, is it supposed to be displayed? Just trying to figure out if this is a bug or not. I know that according to http://drupal.org/node/108020 "Default field theming does not display label on empty fields," but does this apply to a fieldgroup as well. My fieldgroup is empty and the is still being displayed.

Pages

Subscribe with RSS Subscribe to RSS - Theme development