Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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)