This forum is for assistance with theme development.

taxonomy as CSS class?

Hi,

I am theming my Drupal site at the moment with phptemplate (drupal 4.6.3), and I want to theme the nodes according to taxonomy. It's a simple blog taxonomy, ie, 'music', 'general', 'news' etc.

I would like to add something like <div class="<?php print $terms ?>"> into node.tpl.php, then create css for (example) .music, or .tech.

Company or designers that does custom templating

Are there any companys or designers that are experienced in doing custom themes using Drupal?
I'm finding its a bit difficult to design a layout and then to work it with the template systems.

Theme used on drupal.org

Is the theme used on drupal.org available to download anywhere? I would very much like to use it as a base to develop my own theme.

Yours hopefully

Ben Francis
http://hippygeek.co.uk

Integrating Drupal header into SMF forum

Hi,

My website consists of Drupal providing the content and a SMF (Simple Machines) forum. I am wanting to include the Drupal header at the top of all forum pages so I have a consistent header throughout my site.

I am able to edit the Simple Machines template files so that I can insert the header code from Drupal. What I would like to know though is the best way to access the Drupal variables required in the forum template, these would be $logo, $site_name, $site_slogan and $primary_links.

Any help would be much appreciated, thanks, fondie

Advice on theme with two-column layout

Hi,

I am in the process of turning my website into a Drupal site and implementing a new design. I want it to be a two column layout however I do not plan to use any blocks (if possible) and I wonder how to implement this. This is the layout (ignore the typo! :) ):
http://putfile.com/pic.php?pic=11/31316105140.png&s=x11

For the first page (main page of site):
A. Recent stories posted.
B. General information about the site, "welcome blah blah", I want this editable as a Page preferably.
C. Static navigation, this will be a Flash movie and will be static and coded in the template.

For news and blog subpage:
A. This is where the story is shown.
B. Past stories, show calendar or list of stories.
C. -same-

Other pages (generic content):
A and B. Using Page type nodes for full-width text or two columns (50%/50%).

Any idea how I could achieve this?

Secondly, I am unsure how I would go about administering this site lacking a blocks menu. Could I use an otherwise unused DIV for the lefthand menu and use the full-width area (A and B) for content or would I have to designate two separate DIVs below the other elements? Could I use another theme only available to me so that I can administer the site easily?

I want members to be able to contribute and create content, in this case comments on Pages, Stories (and/or Blog entries) and I realize this could be hard without any space for Blocks. I would only need a small area for these links so I am thinking of implementing these Blocks as boxes/paragraphs in column A.

spreadfirefox theme and page numbers

Is there a way to get the spreadfirefox theme to display the page numbers (eg "first page previous page 1 2 3 next page last page") below the last article on the page instead of below the lowest side block? The footer should remain below the lowest block. The interlaced theme does it this way. Spreadfirefox puts it below the lowest block (just above the footer) which can be quite a distance from the bottom of the last article causing some to overlook the fact that there are more pages available.

Pages

Subscribe with RSS Subscribe to RSS - Theme development