This forum is for assistance with theme development.

IE6 shows blocks in a "staircase" fashion

Hi, I'm working on a custom template that uses 3-columns and floating divs. I built it in Dreamweaver and it worked just fine in IE6 and Firefox. However, once I ported it to Drupal and added in blocks, IE 6 did something strange. It starts each column below the last block in the column to the left of it, in a stair-step fashion. I have jstools and collapsiblock and dhtml menus all activated, but the problem was not fixed even after I turned them off. So I know it's not one of the modules causing this error.

How to Override the Result of $block->content, $primary_links, etc..?

I am new to Drupal, and so far it has been a good experience. The install worked flawlessly, the themeing is super easy so far, all until i noticed things like

         <?php if (isset($primary_links)) : ?>
          <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
        <?php endif; ?>
        <?php if (isset($secondary_links)) : ?>
          <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
        <?php endif; ?>

and
<?php print $block->content ?>
Were outputting content in a format i did not want.

So how can the results of $block->content and the first code clip be overridden? For a simple example, the first code clip gives a result that has class names for CSS. However, they do not fit my CSS naming conventions. menu 1-2-2 type stuff is rather confusing. Thats a pretty minor thing, but still.

And for $block->$content (in the usage of the main navigation), it uses a list, when i do not want a list.

These are small examples, but i keep running into little stuff that i have to go back and edit because it outputs format that my html template was not designed for. I would like to understand how to override those types of returns so i can make it on a per theme basis.

Weight of item causing page not to display properly?

Hello,

We just recently switched from one server to another and in the process some of the contents of our pages were altered.

I have been editing certain book pages and I found that on some pages the graphics are missing as is text which have embeded links to audio and video files.

I figured out the problem, as in what was causing this.

It was to do with the weight that was added to the particular book page.

The page that is listed as the last in a series of items on the parent page, seems to lose formatting.

Hierarchies of templates (TPL files)

This bit is extremely crucial to someone like me who is more or less new to Drupal.

page-node-x.tpl.php
page-node.tpl.php
page-front.tpl.php
page.tpl.php

I have seen similar hierarchies mentioned elsewhere.

Now, isn't there a central repository of template hierarchies or something? I couldn't find it in the handbooks for sure.

Subir

Displaying Child Menu Items in the Header

Hi. I've got a problem in Drupal 5.1 that seems like it should be simple, but I'm having a hard time figuring it out.

I have a hierarchical menu structure, however, I don't want it to behave like the default installation. What I'd like to see is a Menu Item's Children appear in the Header Block region rather than as expanded items under the menu item itself. Is this pretty straightforward to do?

Multilingual menu and primary links children

I know that several topics already exist about the menus and also the primary links children, but I didn't found the solution in any of them. I am under Drupal 5.1 and I installed i18n module (blocks and menu parts activated). Here is my problem:

1- I created multilingual menus using following method: http://drupal.org/node/113325#comment-202391
First of all, could you confirm me it is the best solution to build multilingual menus?

Pages

Subscribe with RSS Subscribe to RSS - Theme development