This forum is for assistance with theme development.

Overwriting Drupal.css

I'm trying to develop a theme, I'm using clean slate as the template.
I find that Drupal.CSS is making tables funky colors.
It was the background colors. I copied the lines from drupal.css and put them into the custom style.css and modified them but this doesn't change the site.

Should a style.css in a theme override drupal.css ? If it's supposed to why hasn't it. I'm using Firefox 1.0.
Thanks for any help. I'm still using drupal 4.5.0 I guess upgrading might fix this.

I

Styling static pages with phptemplate

I want to create some static pages for my site - specifically they're things like an "about" page, help pages and the like. Obviously for these, I don't want the title, author links, or indeed anything except the page content.

Unfortunatly it seems that phptemplate doesn't have any templates for a static page (which is just a type of node, correct?) or variables to allow one to conditionally exclude the title, etc for static pages.

Better seperation of module functionality and output?

First off, I wasn't sure where this should go since it affects all modules, the Drupal core (I think), and is related to theming. I ended up sticking it here in themes since it has more to do with the HTML content of modules than anything else.

Has anybody ever looked into better separating modules functionality and the HTML output they produce? I come from using XOOPS for a few sites and one thing I really liked about XOOPS was how easy it was to change the output of a module without really having to touch the code at all.

I'll give you an example that's based on something I'm trying to do on my in-progress site currently. In XOOPS using the template system, I could modify the user login block anyway I wanted to by opening up an html file and adjusting the look. I could change the look and feel of it without having to touch the module code that controlled it. When I try to do this with Drupal I'm left frustrated because within the user.module file isn't even pure HTML to edit and I have to go through core functions to try and get what I'm looking for (unsuccessfully).

Just for reference, what I'm trying to do is add a class attribute to the input tags for username and password so I can customize them individually in my theme's CSS file.

I'm not saying Drupal should be an XOOPS clone or anything like that, I'm plenty aware that "if I like XOOPS better I can go back to it." But the fact is I don't like XOOPS better, I like Drupal and I think Drupal could greatly benefit from a template system similar to XOOPS because it makes customizing module's output VERY simple, or at least a lot simpler than it is now in Drupal.

Help with taxonomy_link generation

hi all,
I'm studying a theme on Drupal 4.5.1 where, for each node, I would like to see links to taxonomy terms grouped by vocabulary.
I try to explain better:

Suppose I have a node (generate by a specific custom module) linked to the following vocabularies: geograqhy, organization.

I would like to print something like:

TITLE

BODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODY
BODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODY
BODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODYBODY

Remove breadcrumb formatting, on main node pages

With the newly updated version 4.5, I have inherited the following THEME difficulty: I use a border and image with the 'breadcrumb' links, to fit in with my CSS-MODIFIED PUSHBUTTON-based theme.

In the new version of drupal, the xtemplate engine, or drupal, does not put a breadcrumb 'home' or anything on the major node pages, such as /book or /image etc.

With my theme this means I get a squashed box, formed by my border / image, on these pages. Can anyone suggest a workaround or method to remove this on these pages?

I am versed in css, to some degree, but not php.

help with template.php and breadcumb trail

hey guys. I'm trying to change the way the breadcrumb trail works on my new site which is using the kunrick theme and phptemplate. I've successfully set up my template.php file which looks like this:

Pages

Subscribe with RSS Subscribe to RSS - Theme development