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.
Hi guys,
I manage to display a node in the lightbox however this is showing the whole site node (blocks, title,...) but in a lightbox which is not really what ai was looking for.
i just wanna show the contents of this node not the sidebars, title, ...
i tried the method described in the documentation (adding /lightbox2 ) but still the same:
"node/xxx/lightbox2" rel="lightframe[group|width:400px;][caption]">click here to see node content
any ideas how to fix this issue?
thanks
Comments
Comment #1
trante CreditAttribution: trante commentedDuplicate of
http://drupal.org/node/1378438
Comment #2
lgammo CreditAttribution: lgammo commentedThis is not a duplicate of http://drupal.org/node/1378438.
This issue is about removing the scrollbars and title, etc. The answer in this case has multiple steps:
- removing the title is done in the lightbox2 ui. I think the "Show image caption" option should be unset.
- The scrollbars is done by setting scrolling:no on the rel text. E.g.,
rel="lightframe[|width:625px; height:525px; scrolling:no; overflow:none;]"
- The original author of this issue may also be planning to remove other fields from the node from display, then he would need to use a view or display suite or something to select what show up on the node.
Enjoy.
Comment #3
semei CreditAttribution: semei commentedHi narcisgirona, may I ask how you managed to show the node (or the content type in general) in a lightbox? I've been trying to accomplish this but failed.
Comment #3.0
semei CreditAttribution: semei commentedcorrection