This forum is for assistance with theme development.

Zebra variable on comments

I just need a little bit of help on applying the zebra affect on my comments.

I have already added to my comment.tpl.php file

<div class="<?php $zebra ?>">  
  ..........
  </div>

and to my style sheet

.comment .even {
	background:url(dashBG.png) repeat top left;
}

.comment odd {
	
}

When I do a view selection source i see the new class inserted but there is no value in it.

Change profile page header

Hi, I've decustomised the layout of the profile page according http://drupal.org/node/35728

I'm also using a custom profile field to be used in the Posted by ... messages.
http://drupal.org/node/64248

The header of the profile page still displays the user name and I would like to change this in the custom profile field so the user name is invisible.

Converting Joomla templates to Drupal themes

I love all the features and power that Drupal gives me, but for my taste, I find that some of the Joomla templates are far more attractive than those available in Drupal. I would like to port some of them to Drupal, but I see some basic problems.

Global variables

I have this situation on template.php:

several functions:

<?php

function phptemplate.function1 () {
  $var = 'one'; // at this point var = one
  $output = function2();
  $var .= $var; // at this point var should be onetwo but I couldn't get it!

  $output = $output.$var;

  return $output;
}

function phptemplate.function2 () {
  $var .= 'two'
  $output = 'something';
  return $output;
}

How can I do it? I tried declaring $var as global in function1 without success.

How to expand SEO Position Theme.

Hi guys !

I like SEO Position theme, it look great in 800x600 resolution but I need to expand to 1024*768. Reduce the lateral gray columns and expand the main and right content columns to fit in the screen ( I dont like center as default).

Any has modified the these theme to help me?

Regards.

Eliud

With Antique Modern Cannot get Pagination module to work

Trying to develope on Antiue Modern but the Pagination module ...
that is long articles broken up into page 1,2,3

but the pagelinks 1, 2 etc are NOT showing.

Any help please.

Pages

Subscribe with RSS Subscribe to RSS - Theme development