display only the content of a page in lightbox2 in drupal
I am using drupal.I have to display the content of a page in lightbox2.(only the content not header,footer,menubar,sidebar etc).The url of that content node is http://mysite.com/node/1. I have included the lightbox2 module and used the below code <li>click here to see node content</li> But the lightbox displays the whole page not only the content.i need only the text content.
One more option in that you can pass a parameter in get method for lightbox2 content. Based on the parameter add condition in page.tpl.php
Not the best of the solution, but achievable. Create a new page.tpl for node/1 and print only $content in this. this way you will make sure you only get content and nothing else
I Agree with Vaibhav Jain, you can create a theme for the page without the header, left and right, footer. only the content and call that page inside the lightbox
drupal ubercart product kit and views
how can i see object data returned by node_load() method in Drupal?
drupal_get_form : Manual call to render a form isn't working
Query in Override of node.tpl
Design a site in drupal: General Overview
use drupal hook_nodeapi
Creating a CCK record in a MySQL database
Aggregate various feeds and display them as blog entries?
hook_menu giving 404
Drupal 6 backport of Drupal 7 admin-bar and overlay?
Adding extra multiple fields in Drupal(6.19) comment form
How to modify the HTML tag in Drupal 6?
working with forms and ajax in drupal 6
How to do form validation in drupal?
Drupal: Problem with installing Drupal6
How to conditionally hide a field in a drupal view?