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?

Comments

robert castelo’s picture

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!

jasonwhat’s picture

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.

robert castelo’s picture

Status: Active » Closed (won't fix)

This will be possible in Drupal 4.7.