Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By rbritan on
Hi to all.
I'am on a constrution on new drupal based web site, so I installed Thickbox along with image module to do this: http://terabytehotel.com/blablamts/?q=image/tid/3&page=1
The main question is: How can I remove the link below image thumbnail, I would like to let thickbox working but want also to remove the links wich open the :Preview an Thumbnail blabla, just want the main thumbnail on photo gallery with the name and the Thickbox
Sorry I'am kinda new with drupal an perhaps this is a basic question
many many many tks
Comments
mmm
Yeah, I wish there was better control of what links show up.
Quick, and not-hacky fix is
- copy your template node.tpl.php to a new file called
node-image.tpl.php
- delete the row that says
<div class="links"><?php print $links; ?></div>
(or something like that)You can also customize your image pages now...
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
This sounds very useful,
This sounds very useful, Dan. Where do you tell the Image Module to use node-image.tpl.php?
Power-user thing to know.
Scan through the pages about PHPtemplate theming (node types)
It's auto-detected using the naming convention. (!)
Many many other phptemplate snippets can also be made to magically just start working once you figure out what the appropriate filename for the override would be.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards