This forum is for assistance with theme development.

Replaced default icon with one that's TOO big and prevents any action.

I didn't notice the jpg I selected as a custom icon is so big it covers the whole screen preventing any action such as reverting to the default icon. I deleted this large icon from my site without effect. Am I going to have to re-install Drupal from scratch? Or is there some way of over-riding what I've done?

"Wrapper" theme

Is there a theme (or theme framework) out there that I can easily just wrap an HTML shell around?

page name in php

hello
am writing a php script and i need to get some page names, what is the variable that i should use to get a page name or path?

image in border

How I can insert image in border of block?
----
Sharique

Organizing Temporary vs. Quasi-Permanent Styles

This post is for themers only!!

I've talked with some programmers about this idea and they shut it down before they even understood it, so please only take part in this discussion if you consider yourself a 'themer' first, and a programmer second (or, not at all). This is a hard thing to explain so stick with me:

The Approach

This is about a general approach to 'best practice' ideas. I'm not asking "how can I do this" or "can it be done in drupal". It's not even a drupal specific idea. Instead it's a general idea about how best to organize styles on a website. It's a "dreamer" concept so dream with me:

The Problem

When I create drupal themes, I find myself creating styles for two different, fairly distinct things:

  • Sitewide Styles: These styles are things that are common to every page. They determine the layout of your divs. They style your h2 and strong tags. They style your general blocks look and feel. They do the "big stuff" that's common sitewide

$zebra in CCK content templates?

I've got a custom event CCK type using just the date module, basically it's a very simple events system (we've no need to go the more complex route of using the events module). I'm also using views to create a custom ordered view. It looks halfway decent I think, other than the content isn't zebra'd yet.

I've setup the stylesheets and know it works, because If I create a custom and static page using the xhtml it shows up perfectly. All that needs to happen is for the $zebra variable to spit out odd or even and it'll work. I've added:

Pages

Subscribe with RSS Subscribe to RSS - Theme development