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,
I want to open my user login form in a lightbox but without all my page elements.
I want only the node content (without HEADER, SIDEBARS and FOOTER).
Here is my code:
<a href="/user" rel="lightmodal[search|width:400px; height:300px;]">LOGIN/REGISTER</a>
Must I create a new template like: node-page-lightbox.tpl.php?
Thanks
Comments
Comment #1
vulfox CreditAttribution: vulfox commentedDid you come up with a solution?
Comment #2
vthirteen CreditAttribution: vthirteen commentedi'm interested in the same thing for a contact form (in this case the standard default form).
Comment #3
As If CreditAttribution: As If commentedThis is not the cleanest solution, but it is an all-CSS solution... You can do something like this:
(Replace "#header" "#footer" etc with your own div ids)