Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
If so, you need to change your template manually, add a region on your them info file, then print the variable (same as your region name) in the page.tpl.php file, place it before the content variable.
that is OK
or you can change the template.php, hook in _preprocess_node hook, add data to your $content variable.
Comments
Hi jeff Its very simple, just
Hi jeff
Its very simple, just put the block in region which is above content part. I hope this will help you.
Cheers
Devender
Thanks
I dont have a section above it though.
Yes, in the most templates,
Yes, in the most templates, there is a content_top region, you can put a block you create on that region.
-
广州Drupal开发 - Drupal大学
no region
I dont have that region or any region above it.
If so, you need to change
If so, you need to change your template manually, add a region on your them info file, then print the variable (same as your region name) in the page.tpl.php file, place it before the content variable.
that is OK
or you can change the template.php, hook in _preprocess_node hook, add data to your $content variable.
-
广州Drupal开发 - Drupal大学