This forum is for assistance with theme development.

Firefox vs IE formating - cant get it right

It is getting me crazy :) - in IE everything looks ok, but in Firefox the align bottom (or something) does not seem to work (look at those 2 screeshots (http://uus.pulmad.ee/crazy.html)

Code from this part is just a simple HTML

 <td align="right" valign="bottom"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td ><img src="themes/pulmad/images/vasak.png" alt="" width="9" height="20"  /></td>
        <td class="domain">Svadba.ee</td>
        <td><img src="themes/pulmad/images/parem.png" alt="" width="7" height="20" /></td>
        <td><img src="themes/pulmad/images/vasak.png" alt="" width="9" height="20"></td>
        <td class="domain">Weddings.ee</td>
        <td><img src="themes/pulmad/images/parem.png" alt="" width="7" height="20" /></td>
        <td><img src="themes/pulmad/images/vasak.png" alt="" width="9" height="20"></td>
        <td class="domain">Pulmaisa.ee</td>
        <td><img src="themes/pulmad/images/parem.png" alt="" width="7" height="20" /></td>
        <td><img src="themes/pulmad/images/vasak.png" alt="" width="9" height="20"></td>
        <td class="domain">Edetabel.ee</td>
        <td><img src="themes/pulmad/images/parem.png" alt="" width="7" height="20" /></td>
      </tr>
    </table></td>

Can someone help or shom me direction where to look at (I know that there is somekind of a problem of IE vs Firefox, but cant find a solution) ?

customized index page

hi all,

i've been trying to find out how to do a customized indexed page like we can see in, echoditto.com.

the basic idea is to have an index page where it looks like a 'news from all over the world' page, or where the page is divided into regions, and the content in these regions are customizable. node pages will still show up as normal.

New custom theme... tell me your opinion!

Hi all,

after a lot of work I finally ended a new custom theme for one of my sites, please be free to tell me your opininons and critics here.

This is the site: http://poquer-red.com

Thanks in advance, Simon.

[Hack] MarvinClassic flat comments

Hi ... are you using MarvinClassic theme and you don't like the way comments look ?

I made a little hack so the comments look flat now ... and there is a user avatar near comment.

1. Open marvinclassic.theme and find ** function marvinclassic_comment($comment, $link = "") ** and from this line replace the rest of the code with:

function marvinclassic_comment($comment, $link = "") {

$output = "

\n";
$output .= "
\n";
$output .= "

\n";
$output .= "

\n";
$output .= "

\n";
$output .= "

\n";

//vsebina posta
$output .= "

\n";
$output .= "

\n";
$output .= "

\n";
$output .= "

\n";
$output .= "

\n";
$output .= "

$comment->subject
\n";
$output .= "
\n";
$output .= "
\n";

//od avtor komentarja naprej
$output .= "

\n";
$output .= "

\n";
$output .= "

\n";

if (theme_get_setting('toggle_comment_user_picture') && $picture = theme('user_picture', $comment)) {
$output .= "

\n";
}

//$output .= "

\n";
$output .= "

\n";
$output .= "

". format_name($comment) ."
$picture $picture

\n";
$output .= "

$comment->comment
$link

\n";
$output .= "

Show if the following PHP code returns TRUE sample

In 4.7, the blocks config page claims that you can show blocks based on a PHP condition, but I can't get it to actually work.

The way I think it, this should show the block for nodes (and nodes only):

<?php
(arg(0) == 'node') 
?>

However no joy, and I can't find any examples in the handbook. What's the correct syntax?

Incidentally, what happened to the old "show only on the following node types" option..?

Templating Menus?

Hi,
how do I create templates for menus other than the default menus?
For the primary links I use (in the template.php):

function mySite_primary($items = array()) {
	return _phptemplate_callback('primary', array('items' => $items));
}

Now I have an additional menu, placed in the right sidebar. How do I assign a template to this one?

thanks
orbi

Pages

Subscribe with RSS Subscribe to RSS - Theme development