[support] Custom menu theming

Cog Rusty cog.rusty at gmail.com
Fri Sep 21 04:10:45 UTC 2007


On 9/21/07, Vasileios Lourdas <lourdas_v at yahoo.gr> wrote:
> OK, continuing the thread (although not completely relevant to the initial
> post), I've successfully themed the menu as I see fit. Now, I want to include
> a block.tpl.php file to theme blocks. The code I put inside is:
>
> <table width="200" border="0" cellspacing="0" cellpadding="0"
> class="blocktbl">
>         <tr>
>                 <td class="blockhdng"><?php echo $block->$subject; ?></td>
>         </tr>
>         <tr>
>                 <td valign="top" class="blockelem"><?php echo $block->$content; ?></td>


You mean $block->subject and $block->content


>         </tr>
>         <tr>
>                 <td class="blockbtm">&nbsp;</td>
>         </tr>
> </table>
>
> However, now the menu has disappeared and the block appears empty in the
> menu's position. If I rename block.tpl.php to something else, the menu
> appears again.
>
> I don't want the menu to appear inside a block and I want it to have the style
> I set it. What happens when I put block.tpl.php in the game?
>
> Thanks.
> --
> # Vasileios Lourdas,
> # Informatics Engineer, Thessaloniki (Greece)
> # http://www.lourdas.name
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


More information about the support mailing list