Posted by Bivek on June 8, 2010 at 10:15am
Hi there,
I'm creating a drupal module. In one page of the module i need to remove the left sidebar and header just need a separate template file for a page.
Please suggest how can i do that.
Thank you in advance.
Comments
That sounds like something
That sounds like something that should not be done in the module. The idea is that you separate functionality (modules) from appearance (theme, block configuration). IMHO, the cleanest way is to make your module produce the page and adjust your theme and block settings to hide the left sidebar where needed.
I just need a link after
I just need a link after clicking in that link will open a modal window. Upto opening new window is done. Now in this new window we need to remove the header, footer, left navigation section. Is this possible?
Thank you.
Best Regards
Bivek
if you need modal dialogs,
if you need modal dialogs, you could consider to use the modal frame api (drupal.org/project/modalframe).
hi marcvangend, Thank you
hi marcvangend, Thank you i'll look at it...
Best Regards
Bivek
It would be best to adjust
It would be best to adjust your header/sidebar blocks' visibility settings to hide them on that one page. An alternative is creating a new page-template (in the theme) for that specific page. Have a look at this tutorial: http://yubastudios.com/blog/extending-drupal-templating
---
Yuriy Babenko
http://yuriybabenko.com
My Drupal tutorials: http://yuriybabenko.com/blog/tag/tutorials
Hi Yuriy.babenko, I don't
Hi Yuriy.babenko,
I don't have access to the theme i just need to create a separate module.
Thank you.
Best Regards
Bivek
How are you loading the data
How are you loading the data for your modal?
Full-time freelancer, always looking for work.
jaypan.com (my portfolio)