Active
Project:
Content Glider
Version:
6.x-1.7
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 May 2010 at 11:32 UTC
Updated:
3 Sep 2010 at 18:49 UTC
is it possible to display a content_glider (2) block that is not enabled within a node ? for example, I want it on my front page as a sticky at top. I have a page node that is php/sticky at top/promote to front page. I tried this, but it does not seem to work:
<?php
$block = module_invoke('content_glider', 'block', 'view', 2);
print $block['content'];
?>
(nothing is output)
Comments
Comment #1
john.axiak commentedI managed to do it with the code snippet you posted.. One comment though... this code referrs to Content Glider number 3. For Content Glider number 1, you should place '0' instead of 2 =D
Comment #2
Omnikron commentedCould you please explain how you did this? I'm not sure where to put that code...