Using Drupal 7 I am customizing the front page on a web site I am developing for my own (commercial) use. I used the Zen theme as a base, created a subtheme etc. which went well. After creating a tpl.php file just for the front page, I have now added a custom region (between the main content and the footer) and added three blocks to this custom region using the Block Administration page of the theme. Using weights I can arrange the order of the three blocks I have, provided I want them one below the other.
However, I want them side-by-side and I want each block to have some custom formatting. After Googling the drupal site I found this link http://drupal.org/node/1151704 which seems to address my problem.
Since I am new to Drupal I thought I would see if there are any other solutions beside the one in the link? I should also add that before adding the custom region I had added custom PHP code (and corresponding statements in a CSS file) to place the three blocks approximately where I wanted them on the page. However, while they were separated from the main content region, no matter what I did the Footer got intermixed with my block content, hence the Googling described above.
Suggestions greatly appreciated! Thanks.
Not knowing what your code is, I would have to say you need to look for broken html if sections are bleeding into each other, as far as the other alternatives, you can create 2 regions side by side that you populate also. But I am curious why is the suggested solutions not usable?
On Sun, Apr 15, 2012 at 12:12 PM, Hakan agents@meddatainc.com wrote:
Using Drupal 7 I am customizing the front page on a web site I am developing for my own (commercial) use. I used the Zen theme as a base, created a subtheme etc. which went well. After creating a tpl.php file just for the front page, I have now added a custom region (between the main content and the footer) and added three blocks to this custom region using the Block Administration page of the theme. Using weights I can arrange the order of the three blocks I have, provided I want them one below the other.
However, I want them side-by-side and I want each block to have some custom formatting. After Googling the drupal site I found this link http://drupal.org/node/1151704 which seems to address my problem.
Since I am new to Drupal I thought I would see if there are any other solutions beside the one in the link? I should also add that before adding the custom region I had added custom PHP code (and corresponding statements in a CSS file) to place the three blocks approximately where I wanted them on the page. However, while they were separated from the main content region, no matter what I did the Footer got intermixed with my block content, hence the Googling described above.
Suggestions greatly appreciated! Thanks.
-- [ Drupal support list | http://lists.drupal.org/ ]
I did not say that the solution described in the link I supplied is not usable but merely wondered whether there were other solutions. As for broken HTML, that is most certainly a possibility but I have not found it. As for 2 regions side-by-side, that is not what I had in mind, nor what I described.
On Sun, 15 Apr 2012 12:26:09 -0500, Gerald Klein wrote:
Not knowing what your code is, I would have to say you need to look for broken html if sections are bleeding into each other, as far as the other alternatives, you can create 2 regions side by side that you populate also. But I am curious why is the suggested solutions not usable?
On Sun, Apr 15, 2012 at 12:12 PM, Hakan agents@meddatainc.com wrote:
Using Drupal 7 I am customizing the front page on a web site I am developing for my own (commercial) use. I used the Zen theme as a base, created a subtheme etc. which went well. After creating a tpl.php file just for the front page, I have now added a custom region (between the main content and the footer) and added three blocks to this custom region using the Block Administration page of the theme. Using weights I can arrange the order of the three blocks I have, provided I want them one below the other.
However, I want them side-by-side and I want each block to have some custom formatting. After Googling the drupal site I found this link http://drupal.org/node/1151704 which seems to address my problem.
Since I am new to Drupal I thought I would see if there are any other solutions beside the one in the link? I should also add that before adding the custom region I had added custom PHP code (and corresponding statements in a CSS file) to place the three blocks approximately where I wanted them on the page. However, while they were separated from the main content region, no matter what I did the Footer got intermixed with my block content, hence the Googling described above.
Suggestions greatly appreciated! Thanks.
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Gerald Klein DBA****
ContactMe@geraldklein.com
www.geraldklein.com http://geraldklein.com/****
jk@zognet.com****
708-599-0352****
Linux registered user #548580
U said u wanted three blocks next to each other in 1 region. Why not define 3 regions next to each other and put 1 block in each was, I think, the thought that Gerald had. Tony
PS another alternative would be to use a grid system to position these blocks in the region. But that is not worth it at this point in ur development.
tony mac is building web sites.
-----Original Message----- From: "Hakan" agents@meddatainc.com Sender: support-bounces@drupal.org Date: Sun, 15 Apr 2012 13:42:44 To: support@drupal.orgsupport@drupal.org Reply-To: support@drupal.org, Hakan agents@meddatainc.com Subject: Re: [support] Arranging multiple blocks in custom region
I did not say that the solution described in the link I supplied is not usable but merely wondered whether there were other solutions. As for broken HTML, that is most certainly a possibility but I have not found it. As for 2 regions side-by-side, that is not what I had in mind, nor what I described.
On Sun, 15 Apr 2012 12:26:09 -0500, Gerald Klein wrote:
Not knowing what your code is, I would have to say you need to look for broken html if sections are bleeding into each other, as far as the other alternatives, you can create 2 regions side by side that you populate also. But I am curious why is the suggested solutions not usable?
On Sun, Apr 15, 2012 at 12:12 PM, Hakan agents@meddatainc.com wrote:
Using Drupal 7 I am customizing the front page on a web site I am developing for my own (commercial) use. I used the Zen theme as a base, created a subtheme etc. which went well. After creating a tpl.php file just for the front page, I have now added a custom region (between the main content and the footer) and added three blocks to this custom region using the Block Administration page of the theme. Using weights I can arrange the order of the three blocks I have, provided I want them one below the other.
However, I want them side-by-side and I want each block to have some custom formatting. After Googling the drupal site I found this link http://drupal.org/node/1151704 which seems to address my problem.
Since I am new to Drupal I thought I would see if there are any other solutions beside the one in the link? I should also add that before adding the custom region I had added custom PHP code (and corresponding statements in a CSS file) to place the three blocks approximately where I wanted them on the page. However, while they were separated from the main content region, no matter what I did the Footer got intermixed with my block content, hence the Googling described above.
Suggestions greatly appreciated! Thanks.
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Gerald Klein DBA****
ContactMe@geraldklein.com
www.geraldklein.com http://geraldklein.com/****
jk@zognet.com****
708-599-0352****
Linux registered user #548580
ok then three regions next to each other, but that won't stop the bleeding of sections togeather. That could be either broken html or if you used floats perhaps you didn't clear them, there is a nice clearfix class in the drupal css implemented as a 'after' pseudo class that does a great job. You can create a class instance with the after class on your containers that can solve a lot of css placement problems.
On Sun, Apr 15, 2012 at 12:42 PM, Hakan agents@meddatainc.com wrote:
I did not say that the solution described in the link I supplied is not usable but merely wondered whether there were other solutions. As for broken HTML, that is most certainly a possibility but I have not found it. As for 2 regions side-by-side, that is not what I had in mind, nor what I described.
On Sun, 15 Apr 2012 12:26:09 -0500, Gerald Klein wrote:
Not knowing what your code is, I would have to say you need to look for broken html if sections are bleeding into each other, as far as the other alternatives, you can create 2 regions side by side that you populate
also.
But I am curious why is the suggested solutions not usable?
On Sun, Apr 15, 2012 at 12:12 PM, Hakan agents@meddatainc.com wrote:
Using Drupal 7 I am customizing the front page on a web site I am developing for my own (commercial) use. I used the Zen theme as a base, created a subtheme etc. which went well. After creating a tpl.php file just for the front page, I have now added a custom region (between the main content and the footer) and added three blocks to this custom region using the Block Administration page of the theme. Using weights I can arrange the order of the three blocks I have, provided I want them one below the other.
However, I want them side-by-side and I want each block to have some custom formatting. After Googling the drupal site I found this link http://drupal.org/node/1151704 which seems to address my problem.
Since I am new to Drupal I thought I would see if there are any other solutions beside the one in the link? I should also add that before adding the custom region I had added custom PHP code (and corresponding statements in a CSS file) to place the three blocks approximately where I wanted them on the page. However, while they were separated from the main content region, no matter what I did the Footer got intermixed with my block content, hence the Googling described above.
Suggestions greatly appreciated! Thanks.
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Gerald Klein DBA****
ContactMe@geraldklein.com
www.geraldklein.com http://geraldklein.com/****
jk@zognet.com****
708-599-0352****
Linux registered user #548580
-- [ Drupal support list | http://lists.drupal.org/ ]
Clearfix resolved the issue. Thanks.
On Sun, 15 Apr 2012 13:18:03 -0500, Gerald Klein wrote:
ok then three regions next to each other, but that won't stop the bleeding of sections togeather. That could be either broken html or if you used floats perhaps you didn't clear them, there is a nice clearfix class in the drupal css implemented as a 'after' pseudo class that does a great job. You can create a class instance with the after class on your containers that can solve a lot of css placement problems.
On Sun, Apr 15, 2012 at 12:42 PM, Hakan agents@meddatainc.com wrote:
I did not say that the solution described in the link I supplied is not usable but merely wondered whether there were other solutions. As for broken HTML, that is most certainly a possibility but I have not found it. As for 2 regions side-by-side, that is not what I had in mind, nor what I described.
On Sun, 15 Apr 2012 12:26:09 -0500, Gerald Klein wrote:
Not knowing what your code is, I would have to say you need to look for broken html if sections are bleeding into each other, as far as the other alternatives, you can create 2 regions side by side that you populate
also.
But I am curious why is the suggested solutions not usable?
On Sun, Apr 15, 2012 at 12:12 PM, Hakan agents@meddatainc.com wrote:
Using Drupal 7 I am customizing the front page on a web site I am developing for my own (commercial) use. I used the Zen theme as a base, created a subtheme etc. which went well. After creating a tpl.php file just for the front page, I have now added a custom region (between the main content and the footer) and added three blocks to this custom region using the Block Administration page of the theme. Using weights I can arrange the order of the three blocks I have, provided I want them one below the other.
However, I want them side-by-side and I want each block to have some custom formatting. After Googling the drupal site I found this link http://drupal.org/node/1151704 which seems to address my problem.
Since I am new to Drupal I thought I would see if there are any other solutions beside the one in the link? I should also add that before adding the custom region I had added custom PHP code (and corresponding statements in a CSS file) to place the three blocks approximately where I wanted them on the page. However, while they were separated from the main content region, no matter what I did the Footer got intermixed with my block content, hence the Googling described above.
Suggestions greatly appreciated! Thanks.
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Gerald Klein DBA****
ContactMe@geraldklein.com
www.geraldklein.com http://geraldklein.com/****
jk@zognet.com****
708-599-0352****
Linux registered user #548580
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Gerald Klein DBA****
ContactMe@geraldklein.com
www.geraldklein.com http://geraldklein.com/****
jk@zognet.com****
708-599-0352****
Linux registered user #548580
Just adding blocks on the front page only does not require a special template. That's standard block settings. "Show on only..." and "<front>.
I can't recall whether the "content bottom" region is standard in D7. But I did exactly what you want (D6) on http://www.bostonpublicschools.org
I simply floated the blocks in the content bottom region and gave them a width of 30% with a bit of right margin. No special template. Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Hakan
Using Drupal 7 ... Zen theme as a base, created a subtheme etc. which went well. After creating a tpl.php file just for the front page, I have now added a custom region (between the main content and the footer) and added three blocks to this custom region using the Block Administration page of the theme. Using weights I can arrange the order of the three blocks I have, provided I want them one below the other.
However, I want them side-by-side and I want each block to have some custom formatting. After Googling the drupal site I found this link http://drupal.org/node/1151704 which seems to address my problem.
Clearfix resolved the problem. I did look at your site and yes, it is similar. In the absence of the clearfix fix, I was interested in the other solution also as a learning tool.
On Sun, 15 Apr 2012 11:52:34 -0700 (PDT), Ms. Nancy Wichmann wrote:
Just adding blocks on the front page only does not require a special template. That's standard block settings. "Show on only..." and "<front>.
I can't recall whether the "content bottom" region is standard in D7. But I did exactly what you want (D6) on http://www.bostonpublicschools.org
I simply floated the blocks in the content bottom region and gave them a width of 30% with a bit of right margin. No special template. Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Hakan
Using Drupal 7 ... Zen theme as a base, created a subtheme etc. which went well. After creating a tpl.php file just for the front page, I have now added a custom region (between the main content and the footer) and added three blocks to this custom region using the Block Administration page of the theme. Using weights I can arrange the order of the three blocks I have, provided I want them one below the other.
However, I want them side-by-side and I want each block to have some custom formatting. After Googling the drupal site I found this link http://drupal.org/node/1151704 which seems to address my problem.