hey,

thanks for this nice module but i cant figure out what to do to implement this into the fblike theme...
maybe someone can help me?

thanks in advice!

here the themelink: http://drupal.org/project/fblike

Comments

nedjo’s picture

I've updated the module's README to include help on creating theme .inc files. See:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/jstools/col...

ThriLLz’s picture

thanks for your fast answer ill have a look at that!

dorian

EDIT:// done it but doesn't work.

example says search =>

print $block->subject

found in the fblike them: =>

if ($block->subject!=""):

print $block->subject

endif;

print $block->content

so ive choosen h3 and made the fblike.inc with=>

<?php

function collapsiblock_theme_data() {
return array(
'titleSelector' => 'h3',
);
}

when i go over the block it shows me the "hand" so it seems to be correct, but the blocks don't collapse.
it works perfectly in garland for example.

_____
www.kukljica.org

ThriLLz’s picture

anyone a idea?

najibx’s picture

Hi ThriLLzadar ,
Yes, the step mentioned is not working in fblike.

Try Replace this in block.tpl.php and ignore the fblike.inc

print $block->module .'-'. $block->delta; " class="clear-block block block- print $block->module ">
if ($block->subject):

print $block->subject

endif;

print $block->content

at least got the collapsible there. The title bg is now gone and my main problem is I can't simply change this to H3 or H4 !

najibx’s picture

Status: Active » Fixed

Ok got it.

The mythme.inc must be placed in something like ...

/sites/all/module/jstools/collapsible/theme

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.