[support] New Region

Cory Gilliam imaaxa at gmail.com
Thu Dec 10 12:00:40 UTC 2009


1. Make a copy of the theme you are using and put it into a folder called
themes, this folder should be in the site/all/,
2. Open the theme_name.info inside notepad or notepad++ (not Word or a word
processor)
3. Add a line under the description line: regions[new_region] = New Region
4. Open page.tpl.php inside notepad or notepad++ (not Word or a word
processor)
5. Add the lines:

  <?php if ($new_region) { ?><div id="new_region"
class="new_region_class_name">
    <?php print $new_region ?>
  </div><?php ? ?>

6. Go to the blocks layout page and add blocks to your New Region

You might have to flush all of your caches depending upon how you have your
caching settings.

On Thu, Dec 10, 2009 at 3:14 AM, ram prasath <
ramprasath_explicit at yahoo.co.in> wrote:

> Hi Friends ,
>
>  Hi any one pleas say me how to create a new region in blocks like already
> we have leftbar rightbar..
>
>
> Thanks in advance
>
>
> Regards
> Ram Prasath
>
> ------------------------------
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage<http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/>
> .
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20091210/435b13e0/attachment.html 


More information about the support mailing list