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
Comment | File | Size | Author |
---|---|---|---|
#3 | page.tpl_.php_.txt | 6.44 KB | Florian |
#2 | Schermata.png | 235.65 KB | hopfrog |
Comments
Comment #1
Florian CreditAttribution: Florian commentedI 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:
Comment #2
hopfrog CreditAttribution: hopfrog commentedAs 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
Comment #3
Florian CreditAttribution: Florian commentedUse the file attached.
Comment #4
hopfrog CreditAttribution: hopfrog commentedI 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
Comment #5
hopfrog CreditAttribution: hopfrog commentedI have resolved eliminating the following lines. Now works!
if ($top_left) or ($top_right) {
.
.
.
}
Thanks
Comment #6
rport CreditAttribution: rport commentedPerhaps this link might help;
http://groups.drupal.org/node/9307
Russ