Hi,
I'm testing node_gallery and tried to fill one such node with some pictures and text. But the text is placed below all the pictures where it is virtually invisible if the gallery has more than say 7 pictures. Is there a way to configure Gallery nodes to have their text content placed at the top of the page above the pictures?
Thanks
Comments
Comment #1
Rik commentedHi charmer,
See:
http://drupal.org/node/639220
Comment #2
charmer commentedI figured that "hacking" the code would always be an option but I'm using package manager to automatically update my modules and if possible, I'd rather maintain less module-specific patches than more.
So I'm turning this issue into a feature request. Honestly, I'd even expect the text appearing above the the pictures as a default option, what's the point having it all the way down?
Thanks again.
Comment #3
AlexanderPop commentedSo is it possible to do without hacking module?
Comment #4
dbeall commented@AlexanderPop, I don't think you can do it without changing the weight in the node_gallery.module
639220: How to move description above the gallery? (#1)
Comment #5
RedTop commentedThis is easily done on the theme level, you've just got to break up $content into it's various parts:
copy node.tpl.php to your theme's templates directory and rename it to node-node_gallery_gallery.tpl.php
In the template replace
with something like:
I'm not sure whether this is entirely accurate but it should point you in the right direction. :)
See:
http://drupal.org/node/509234#comment-2404728
Comment #6
justintime commentedRedTop's right, theming is exactly how to go about this. Closing due to inactivity.
Comment #8
parasox commentedUsing the DisplaySuite module and Node Gallery 3.x, you can now easily move your description above the images, and display any other custom fields too.
See: http://drupal.org/node/786136#comment-3763340