Printing content in node

jasonwhat - June 3, 2005 - 17:50
Project:Side Content
Version:4.5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

I'd like to move my side content so that it displays within the node. Any tips on what code I could place in the node.tpl.php file to print the blocks in nodes when there is content?

#1

Robert Castelo - June 3, 2005 - 18:25

I need something similar at the moment - I want to add a graphic in the content section but above the node title.

So I've been working on a new module based on Sidecontent (working title 'Customcontent'), which I'll add to cvs in the near future.

Stay tuned!

#2

jasonwhat - June 3, 2005 - 18:31

In the meantime any code ideas to pull the sidecontent output and place it wherever I want in my theme? I was shown this example of code:
$content = module_invoke($module, 'block', 'display', $delta);
and these instructions:

Where $module is a module name (such as event, book, etc) and delta is valid block 'index' for that module.
You can look at the table 'blocks' for the list of enable blocks and the correct deltas.

I haven't quite got this working though.

#3

Robert Castelo - December 24, 2005 - 18:09
Status:active» won't fix

This will be possible in Drupal 4.7.

 
 

Drupal is a registered trademark of Dries Buytaert.