Hi,

Thank you very much for helping me learn Drupal.

I could manage to customize a Drupal theme to fit for website.
Now I have templates with different layouts. Some have two columns, some have three. I'm figuring out how can i implementing these layouts in single theme? I mean how can i display these pages with different layouts using a single theme. Header & footer are same but main content layout differs based on page as follow:
Template 1:
[HEADER ]
[LEFT][MAIN]
[FOOTER ]
Template 2:
[HEADER ]
[LEFT][MAIN][RIGHT]
[FOOTER ]

also there are sub sections in main part of templates...

I think one way to do this is may be adding / resizing div panels and control them via CSS, separate for each page. but i am not 100% sure how to do it in Drupal.

Can you please suggest me how can i implement this?
thanks,
-Navi

Comments

pinky.evakoss’s picture

Hello,

you can create different template files for different pages based on the path
Check the link it might be useful for you.
http://drupal.org/node/104316.

Regards,
Pinky

tg_testdrupal’s picture

I had made a website using drupal that have different layout in single theme.. tht are:-

Template 1:
[HEADER ]
[LEFT SIDEBAR] [CONTENT] [RIGHT SIDEBAR]
[FOOTER ]

Template 2:
[HEADER ]
[LEFT SIDEBAR] [CONTENT]
[FOOTER ]

Template 3:
[HEADER ]
[CONTENT]
[FOOTER ]

Template 4:
[HEADER ]
[CONTENT] [RIGHT SIDEBAR]
[FOOTER ]

My problem is, when I click at Preview or Edit at Template 2 or 3 or 4.. it will go to First Template or Template 1.

How to make the node/page when I click at Preview or Edit stick in its template..
Wht I need is when I click Preview at Template 2 and its view still on Template 2. It should be like this..

Can I do that??

Can somebody help me?? I really stuck on this matter.. My boss keep pushing me to finish this job..

Please help me.. I really appriciate ur helps..

Thanks & regards
tg_testdrupal