Hello guys.Im new on the site and with a question I need answered.
I have jus designed some tabs for my web page.Something like Drupal has on top(Support, Handbooks, etc).So, i need something that work similar to that.I do not want to open another page everytime I click on the tab.I jus need the middle or the far right of the page to change and the left to stay the same.Im thinking frames would do that.But don knw how to go about doing that.Im more an aspx developer and not an asp.

Please help guys.Thanx in advance

Comments

tdimg’s picture

First of all, you should never use frames (exceptions apply of course but these are rare).
Secondly, Drupal is php not asp, guess you wanted to say this anyway but I just wanted to clarify this nevertheless.

Most importantly, the behaviour you are looking for is already available out of the box. You have templates, page.tpl.php being the overall template, that is populated with data. The data is divided into regions, you have one "content" region that gets populated with the specific content of the page you are viewing, e.g. in this case this would be your topic. You have node.tpl.php to style this data. Then you have other regions that are populated with different data, data that can be the same over different pages, i.e. the header and footer, left- and right sidebar. You can create blocks, some blocks are provided by the system and other modules out of the box, that you can plug into these regions, block.tpl.php is the template for these.

Additionally, you have themable functions that you can use to change some hardcoded layout using template.php

I suggest you read the handbooks here on Drupal.org to get a better feeling for how Drupal works,

hansrossel’s picture

You could also try the following modules:

http://drupal.org/project/cck_fieldgroup_tabs
http://drupal.org/project/views_tabs
http://drupal.org/project/profiletabs

These tabs use javascript/ajax so the whole page does not need to refresh.

Good luck!

Hans
KOBA - Webdesign with Drupal