Hello everyone.I am working on a news website.It's my first drupal project.I am using and customizing admire grunge theme for this site.
I have created a new region and displayed it below left sidebar.(where test it test it test it line is displayed.). Now my problem is that i want to create a belowleft.tpl.php file so that i can change the display settings of the region (like block.tpl.php or block-right-dark.tpl.php). Because this is only showing the simple text. but i don't know from where these .tpl.php files are called and which functions are using this.

website : www.offshoreopensourcedevelopment.com/news
(my website is in developing phase so this is not looking so good).

Please help me

Comments

nevets’s picture

Regions do not have templates. The HTML for regions comes from page.tpl.php (any wrapper div(s)) and templates used for the content (typically block.tpl.php). You can apply css to the region if it has wrapper div(s).

prnv_mtl’s picture

Thanx Nevest for giving your valuable suggestion.
But i hv done all the basic things i.e adding region in .info file and printing region in Paqge.tpl.php file.
But this only displays text in simple form no blocks are displayed like left sidebar ,right sidebar or right_dark sidebar
and in admire grunge theme there are different .tpl.php files for right block, left block and right dark block . I just want to make a .tpl.php file for my new region like the left and right regions.

nevets’s picture

What does the section of your page.tpl.php that outputs the region look like?

Where does "this only displays text in simple form" come from.

If your region is constructed properly, and you add blocks from the block admin page to your new region they should show there.

SweeneyTodd’s picture

First define the new region in the theme's .info file and then add the code to the .tpl.php file where you want the new region inserted.