This forum is for assistance with theme development.

Displaying Taxonomy vocab and terms in node

While I do not care what theme is used, I have bluemarine as the default.

Instead of just displaying the taxonomy terms I would like it to display vocabulary: term so that the term has the proper context.

However, the themes/bluemarine/xtemplate.xtml isn't it. The includes/theme.inc isn't it. It's obviously not in the CSS, so I am at a loss. Please tell me where the code is for this. Has anyone ever done it before?

Thanks.

How to test if db_query() has results

I've tried
if ($result)
and
if (!empty($result))

So somehow $result is not empty, even if there are no entries in the database.

I've looked at the docs of db_query but i don't understand how this results are structured.

This must be a popular thing to do; make a query, and only do something if a result is returned. How do I do it?

Putting the whole thing together

Hi,
some basic stuff: I've read some stuff about PHPTemplate (smarty does still not work for me) and now I'm trying to write a simple theme:

-----------------------
|   Menu              |
-----------------------
| Main     | Marginal |
| Content  | Content  |
|          |          |
-----------------------

On my homepage "Main Content" should contain the first full "story". The "Marginal Content" should contain teaser of my other storys. Its quite simple I guess but I dont know how to start. The $content contains all storys in shortform - thats not what I need ... :(

Any hints or a good tutorial for this?

thanks
orbi

Best 3 column theme to create my own liquid template?

Hi all,

I'm looking for an starting theme (drupal 4.6.6) to develop my department skin with the following features (by order of importance, if possible):

A) 3 columns Liquid/Elastic 100% width layout.
B) Maximum reusability (no future changes in 4.7)
C) Acomplish all standards (css, xhtml, 508)
D) Don't overlap elements (stops constraining at 800x600, that is shown without horizontal scroll)
E) Tableless
F) Based on phptheme engine
G) Colapsible blocks.

Why?
A), B) and C) are mandatory in my project's requests.
D) and G) are quite personal items... I don't want to show overlaped blocks and content if they resize their broswers and I think is a good usability practice to let the user decide what he/she like to see.
E) is to follow the web dessigner good practices.
F) is to gain flexibility and also thinking that phptheme engine will be included in 4.7 core.

One whole day after installing and playing with themes this, is my sorted list of candidates:

1. phptheme bluemarine: Probably not as deeply tested than the former one but quite accomplish 508, CSS and XHTML tests, runs well on IE and is based on phptheme. The bad point is that is not a tablesless layout and most of the times admin's content width isn't well controlled.

2. "outofthebox" bluemarine: Deeply tested so close to perfect 3column theme that accomplish 508, CSS and XHTML test but don't use phptheme and is based on tables.

How do I ommit titles and breadcrumbs for just the homepage?

Is there an if statement I can put in page.tpl.php so the title and breadcrumb html is only written is the page is not the home page (aliased as index.htm)??

Where does a theme look for its code?

Hi

I tried adding a javascript menu bar to the links section, however I have messed it up! check out http://guernseypaddling.com/drup

I cant even access the menu system or admin panel etc!!!

Can anyone tell me where the theme looks for for its physical php and html structure, i think this is where my mistake will be. I have looked about in the database and not sure where if anywhere in there could hold the secret!!

Someone please help!

Kind Regards

Ash

Pages

Subscribe with RSS Subscribe to RSS - Theme development