I have the following question:
How can I put the Couloir Slideshow block on the top of the front page (like a sticky block), before all sticky pages? It is possible?
I know that this question is not quite related to this module but please give me a hint.
Thanks in advance for your help.

Comments

ComputerWolf’s picture

Assigned: Unassigned » ComputerWolf
Status: Active » Closed (fixed)

The best way to do this would be to add a custom region to the template you wish to use, and then put the slideshow block in that region. Depending on which version of drupal you are using, there are different ways of adding regions.

5.x:
http://drupal.org/node/29139

6.x:
http://drupal.org/node/171224

ionuts71’s picture

OK. Thank you for your support. I am using Drupal 6.x.
I created the new region by editing the theme_name.info file and adding:

regions[left] = Left sidebar
regions[right] = Right sidebar
regions[stickyblocks] = Sticky Blocks
regions[content] = Content
regions[header] = Header
regions[footer] = Footer

The new region appear but if I try to assign a block to it nothing appear.
So, I'm sure that is something more to be done... :-)
I must manually assigning the Couloir Slideshow block to this region? How? Or I must modify the page.tpl.php file?
Please give me another helpful hint.

ionuts71’s picture

Priority: Normal » Minor
Status: Closed (fixed) » Postponed (maintainer needs more info)

I search where $content variable appear in page.tpl.php template file:

          <div class="clear-block">
            <?php print $content ?>
          </div>

I duplicated div that contain $content and I replaced this variable with $stickyblocks. For example in Garland theme now I have:

          <div class="clear-block">
            <?php print $stickyblocks ?>
          </div>
          <div class="clear-block">
            <?php print $content ?>
          </div>

The assigned block in Sticky Blocks region is shown. That is all?