http://drupal.org/node/161595

When i reported the issue with tabbed block this was the response..it seemed to work...but the themeing look was not fine..and also the blocks didnt drop down or open properly..they were visible as two divisions inside the block..

i really want Collapsiblock to function..and i want it with Fancy theme..its working with other themes on my Drupal 5.1 installation..

can u pls help..

i am using the Stable (non dev version) of Fancy.. www.drupal.org/project/fancy

pls help..thanks

Comments

gurukripa’s picture

pls help..thanks

nedjo’s picture

Title: collapsiblock not working at all..nor is tabbed block..with FAncy theme..stable release » Non-standard IDs for blocks
Version: 5.x-0.6 » master
Category: support » bug

Fancy uses a table to lay out the block. I'm not sure if this will work with table layout. In any case, you would need to add a fancy.inc file to the /theme subdirectory of collapsiblock's directory. Something like the following:


function collapsiblock_theme_data() {
  return array(
    'titleSelector' => 'td.blocktitle',
  );
}

Please report back if adding this file fixes the issue.

gurukripa’s picture

"Fancy uses a table to lay out the block. I'm not sure if this will work with table layout. In any case, you would need to add a fancy.inc file to the /theme subdirectory of collapsiblock's directory."

there is no /theme subdir in collapsiblock dir in jstools..
pls help..

nedjo’s picture

there is no /theme subdir in collapsiblock dir in jstools.

This is the directory: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/jstools/col...

It exists in HEAD, in 5.x dev, and in in the current jstools release.

gurukripa’s picture

Version: master » 5.x-0.8

no luck :(

the collapsiblock didnt happen in Fancy even after i did what u said...
any other suggestions...

which other themes dont use tables for blocks..
can u point me to more themes other than those found on Drupal...and which kind of themes are best for SEO ?

too many questions :)

dman’s picture

Status: Active » Closed (won't fix)

Just a thought.... tables are obviously bad mojo, but I'd try using the almost-unknown 'tbody' element to wrap the content row, and giving it a class of 'content' ... so the jquery knows what to collapse. Or possibly just do that to the tr.Untested.