Hi jmburnz,

I am using Genesis subtheme and have the Collapsiblock module installed. The Collapsiblock module is installed correctly and enabled, and I added the code to block.tpl.php according to http://drupal.org/node/472266. Still the block's output is not correct. I've been told that this may be an issue with my XHTML code? Would you mind taking a look to help me figure out the problem? I've asked around and on the forums and irc and still can't solve this issue.

Thanks for your help!

Comments

Jeff Burnz’s picture

Why don't you post the code of your block.tpl.php here or in the Collapsiblock issue queue, if nothing has changed in that module since the help page was written then you have done something wrong.

I don't use this module, in fact the only time I ever installed it was to help someone else with the same issue, but this time around I don't have time to support a contrib module.

mxer269’s picture

I understand. I appreciate all the input you've given me throughout this... it's been a huge help.

Here's the code for my block.tpl.php file:


print $block_id; " class=" print $classes; ">

if ($block->subject):

print $block->subject;

endif;

print $block->content

print $edit_links;

Jeff Burnz’s picture

Well that doesnt show me the HTML, I need to see the HTML - the whole shebang:)

Dude, use code tags to wrap blocks of code.

mxer269’s picture

Sorry I'll make sure I use code tags. Mind if I send you the HTML file?

Jeff Burnz’s picture

Yes I do mind, please stick to the issue queues.

Jeff Burnz’s picture

You only have to post the relevant line of code, the HTML around the <?php print $block->content ?>

mxer269’s picture

Hi jmburnz,

Here's the code around it:

<div id="sidebar-left" class="section sidebar region"><div class="sidebar-inner">
          <div id="block-block-21" class="block block-block">
  <div class="block-inner">

          <h2 class="block-title">Current Areas Covered</h2>
    
    <div class="block-content content"><strong>San Francisco</strong>
<li>SFSU</li>
<li>USF/Panhandle</li>
<li>Haight Street</li>
<li>Outer Sunset</li>
<li>Union Square</li></div>

    <div class="block-edit"><div class="item-list"><ul><li class="first last"><a href="/?q=admin/build/block/configure/block/21&amp;destination=node%2F1" class="block-edit">Edit Block</a></li>
</ul></div></div>
  </div>
</div> <!-- /block -->
Jeff Burnz’s picture

Should be working, ask the Collapsiblock people what gives.