I would want to have two regions, top-left and top-right but I do not
succeed to obtain them.
1. I have modified template.php in this way:
'header' => t('Header'),
'user1' => t('User 1'),
'user2' => t('User 2'),
'user3' => t('User 3'),
'sidebar_left' => t('Left sidebar'),
'sidebar_right' => t('Right sidebar'),
'content_top' => t('Top content'),
'top_left' => t('Top Left'),
'top_right' => t('Top Right')
'content_bottom' => t('Bottom content'),
'user4' => t('User 4'),
'user5' => t('User 5'),
'user6' => t('User 6'),
'footer' => t('Footer')
2. In Style.css:
#top_left ul, #top_right ul {

padding-left: 40px;

}
3. Until creed it goes here well (or NOT?). The problem is: where and what to insert in page.tpl.php

Please, a small aid. I just do not succeed to continue after several
attempted to you useless

CommentFileSizeAuthor
#3 page.tpl_.php_.txt6.44 KBFlorian
#2 Schermata.png235.65 KBhopfrog
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Florian’s picture

I am not sure I understand what you mean. Please send me a message here or using the contact form ... http://drupal.org/user/35316/contact and, if possible, attach a small drawing showing where do you want top_left and top_right to appear.

Anyway, to show your new regions you should use this code in page.tpl.php:

<?php if ($top_left'): ?> 
  <?php print $top_left'; ?>
<?php endif; ?>
hopfrog’s picture

FileSize
235.65 KB

As you have been able to notice my English is very bad! Then use theimages (attached).
I indeed hope of to be + clear and many thanks

Florian’s picture

FileSize
6.44 KB

Use the file attached.

hopfrog’s picture

I see always this error. Why?

Parse error: syntax error, unexpected T_LOGICAL_OR in /web/htdocs/www.hopfrog.it/home/themes/salamander/page.tpl.php on line 147

hopfrog’s picture

I have resolved eliminating the following lines. Now works!

if ($top_left) or ($top_right) {
.
.
.
}

Thanks

rport’s picture

Perhaps this link might help;

http://groups.drupal.org/node/9307

Russ