Block title same as node title

pyrello - July 7, 2006 - 15:44
Project:Node Image Block
Version:4.7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:budda
Status:active
Description

Hello,
First, would it be possible somehow to have the block title be the same as the node?

Second, is it possible to have someway to control the layout, so that the images could be side by side (to fit in the content area as opposed to on the sidebar).

Thanks.

#1

budda - July 7, 2006 - 15:48
Title:A couple features» Block title same as node title
Assigned to:Anonymous» budda

The node image block can be placed in any theme block region - so you just need to use the 'content' region or define one in your template.php file in the theme folder.

I will consider the block title being the node title - or maybe make it editable in the block configuration page.

#2

pyrello - July 7, 2006 - 22:00

The problem I'm having is that when I place the node image block in the content, header, or footer sections, the images naturally stack themselves into a column. This makes for a not very asthetically pleasing look. It would be nice to have the images lay themselves out in a row, wrapping at the end. I don't know. Just a suggestion

#3

budda - July 8, 2006 - 00:34

The module includes themable layout functions AND CSS to achieve what you want. Just sprinkle some CSS magic to get your wish. No code modification needed to the module.

#4

marcoBauli - July 8, 2006 - 09:02

+1 about make the block title editable in the block configuration page.

OR, even better, having also a %node variable to be used to integrate node title into block title

(ex: "Images for %node" would render: Images for yournodetitle)

@budda: if you happen to put your hands on the code, please don't forget about the thumbnail issue ;)

 
 

Drupal is a registered trademark of Dries Buytaert.