This forum is for assistance with theme development.

Really Strange Theme Bug in IE

I have never seen anything like this before.

1. If you want to see it you'll need Internet Explorer 6. Go to my site www.jacktaranto.com/portfolio
2. Scroll down to the last site - the spring water one, then roll over the "viewmore" link, the footer seems to shift.
3. Click on the viewmore link for anyone of the items, then roll over the backtoportfolio link or the visit site link. The footer seems to cut the page in half.

New Theme: LiteJazz

Hello all! I've added a new theme to the CVS bank called LiteJazz. You can find the project page here. LiteJazz 0.11 is an alpha version of a theme released to coincide with the launch of roopletheme.com. You can read the site announcement here.

Printing lightest category on page.tpl.php

Is there a way to reference the lightest category of a node in and print it on page.tpl.php? I want the category as the header and the page title as a sub header later in the page, unless there's no category, the the title should be the header. so:

Sitename
Nav
Category
Title

or

Sitename
Nav
Title

I'm working from the "foundation" Theme. I also am planning on using signwriter to print the category and maybe the title. Thanks.

_G

Basic theme help needed

Hi, I'm brand new to drupal, and i was just wondering how i can modify and play around with my themes.

I have other sites that i built with CSS and html, that i would like to port over to drupal but i dont even understand the basic theme help section .

Here are the first 3 steps i came accross

"Which ever theme you choose to work with you will need to know how to accomplish some basic theme tasks.

* Find and open a Cascading Style Sheet(CSS) file for your theme
* Copy and paste CSS code
* Learn the CSS attributes in your theme"

i want to put headr menu

I have an problem where i have to change the primary link structure in drupal, where is the html code

Node customisation problem

I'm using the following code in my node.tpl.php file to try and present different content layouts depending on content-type for the full display of a node (not teaser, which i have customised successfully already).

My problem is this appends the information I have specified to the end of the nodes content, and doesn't actually replace it. I believe page.tpl.php is the culprit, specifically the $content variable.

I didn't use the standard way of theming at the page level as this was overriding my node teaser customisation code but I'm begining to think I've worked my way into a dead end here.

So my questions

Is there a way I can use my switch statement to determine the HTML for full nodes, with a default state to cover all non-customised nodes?

$content appears to be the major sticking point to achieving this as it pulls in the content AND my custom content appended if you leave it in - remove it and all the content is gone.


$node_type = $node->type;

switch($node_type) {

case "rin_news":

if ($page == 1):
?>

if ($sticky) { print " sticky"; } if (!$status) { print " node-unpublished"; } ">
dfsdfsfsdffsdf
if ($picture) { print $picture; }

if ($page == 1) {
print $title

};


<?php

Pages

Subscribe with RSS Subscribe to RSS - Theme development