Hello
I was wondering if it is possible to use the sidebar blocks on other places in your theme? What I mean by this is: Is it possible to call a sidebar block from my html code?
For example <?= $theme->tag_cloud ?>
I tried copying the code from the tag core module. You know, the part where tags are foreached and printed, but that did not work when I pasted the code into page.html.php
Anyone know how to do this correctly?
Best regards,
Thomas Holden
Posts: 27300
All sidebar blocks can be moved around the page:
http://gallery.menalto.com/node/99949
So with the carousel module the carousel_recent block can be:
<?= carousel_block::get("carousel_recent", $theme) ?>
Random:
<?= carousel_block::get("carousel_random", $theme) ?>
Here is the list available blocks for the carousel module:
Styling might be a issue so your on your own there.
With this Javascript type of block it is best not have more than one block of the same content on the page or they will conflict. You will have to use the sidebar appearance to move those blocks off the sidebar.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
Thank you for your fast replay
I will try this out.
Best regards,
Thomas Holden