This forum is for assistance with theme development.

Text Wrapping Around Images On Front Page

Hello,

This may be a general HTML/CSS question, but I'm having trouble with a text wrapping issue. Often in my blog posts, I insert an image with left or right alignment so the text in the post will wrap around the image. Looks great. Problem is when that blog post appears on the front page with a teaser, the title and text from the next down will creep up and wrap around that image too. I could solve this by enclosing each post in a table, but I'm trying to stay with CSS. Any suggestions?

Thanks,
Jim

Changing the format of menu lists to integrate an accordion effect

Hello everybody,

I would like to integrate an accordion effect for my sidebar navigation using Jquery.
Therefore I tried to change the output of the function phptemplate_menu_tree.

But unfortunately I am not able to change the php code to get such a listing:

<ul>
    <li class="expanded"><a href="/">menu1</a></li>

    <ul class="menu">
        <li class="leaf"><a href="/">submenu1</a></li>
        <li class="leaf"><a href="/">submenu2</a></li>
    </ul>
</ul>
<ul>
    <li class="expanded"><a href="/">menu1</a></li>

    <ul class="menu">
        <li class="leaf"><a href="/">submenu1</a></li>
        <li class="leaf"><a href="/">submenu2</a></li>
    </ul>
</ul>

My template.php looks like this:

<?php

function phptemplate_menu_tree($pid = 1) {
$msm = variable_get('menu_secondary_menu', 0);
if ($tree = menu_tree($pid)) {
$output .= "

    ";
    $ul = $msm == $pid ? '
      ' : '

      ";
      return $output;
      }
      }

      function phptemplate_menu_item($mid, $children = '', $leaf = TRUE) {
      $msm = variable_get('menu_secondary_menu', 0);
      $menu = menu_get_menu();
      if (in_array($mid, $menu['visible'][$msm]['children'])) {
      return '

    • '. menu_item_link($mid) . $children ."
    • ";
      } else {

Beta testers

I need beta testers for a theme i just ported, it seems to work fine with firefox 2.1 so i really just need people to view it on IE. But feel free to check on firefox too for me. I would do it my self but run linux and dont have IE. As soon as i get feed back it will be available for download on drupal and my site.

newthread.org/beta

Reply if you find any bugs

Thanks

taxonomy hierarchy question

I'm currently trying to set up my categories to list skills. Each skill will have a level (expert, average, novice) but how do I get these levels to not be a multiple select? Is there a better way to set kind of hierarchy?

Can you attach a vocab item to another vocab item? Currently skills is the only vocab item and everything else is a term underneath that.

Skills

-- graphical
---- web design
------ expert
------ average
------ novice
---- print design
------ expert
------ average
------ novice

Adding a new CVS release

I added a new release of the Combustion theme with a 1.1 tag. It is not showing up underneath the official releases. Did I do something wrong?

Admin Pannel with icons

Hi, I created a CSS and some Icons to extend the Admin-Pannel with some Icons (near each menu)..

This is my Blog Post (I'm Italian, so it's in italian.. I'lltranslate it if I'll have time! )

Let me know... it uses CSS2 and PNG with Alpha Transparency adn wordk (I hope) over any theme for Drupal 5.x

this is the URL: http://my.opera.com/thePanz/blog/drupal-icone-nel-pann-di-amministrazione

Bye .. and let me know! :)

-thePanz-

Pages

Subscribe with RSS Subscribe to RSS - Theme development