magic tabs as block

endupok - December 15, 2008 - 16:23
Project:Magic Tabs
Version:6.x-1.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:yhager
Status:closed
Description

I've defined my MT callback array in the template.php file of a custom module. Is there a way to print the tabs into a block so I can assign it to a region?

Thanks for your time. Great module.

#1

yhager - December 15, 2008 - 16:29
Assigned to:Anonymous» yhager
Status:active» closed

Sure, just define a block and set the content as:

<?php
print magic_tabs_get('my_callback');
?>

and make sure you set the input filter to PHP code.

Closing. Please reopen if this does not work or you need more info.

Thanks for the good words :)

 
 

Drupal is a registered trademark of Dries Buytaert.