I consider myself as a newbie on CMSs, particularly Drupal. In other words, I am in a middle of the high slope part of Drupal’s steep-learning curve. Based on my personal experience, the best way of learning a new thing is by doing and getting through it. So, I set up Drupal environment which consists of Apache HTTP server 2.2.17, MySQL 5.1.53, PHP 5.3.4, phpMyAdmin 3.3.8.1, and Drupal 6.19 with Acquia Marina 6.x-3.1, Fusion 6.x-1.0 themes and Skinr 6.x-1.6. My goal is to customize Acquia Marina from its default installation to be similar to its live demo. In other words, change from Figure 1 to Figure 2.
Notes: For people who are looking for a way to have texts wrapping around the Recent comment block, I still cannot figure out how to do it.
- Set up necessary themes and modules.
- Install Drupal into
$Apache_Home/htdocsdirectory, where the$Apache_Homeis the installation directory of the HTTP Server. - Rename the drupal installation directory to
$Apache_Home/htdocs/drupal6. This directory will be known as$Drupal_Home. - Create a new directory named “
themes" in the$Drupal_Home/sites/allfolder, resulting in$Drupal_Home/sites/all/themes - Create a new directory named “
modules" in the$Drupal_Home/sites/all folder, resulting in$Drupal_Home/sites/all/modules - Install
Acquia MarinaandFusion themes in your$Drupal_Home/sites/all/themes. - Install
Skinrmodule in your$Drupal_Home/sites/all/modules
- Install Drupal into
- Set up a subtheme of Acquia Marina called Sub Acquia Marina. (Note: The subtheming approach described here is definitely NOT the correct way.)
- Create a directory named
sub_acquia_marinain the$Drupal_Home/sites/all/themesfolder, which is the same directory level as the originalacquia_marina - Copy and paste everything in the original
acquia_marinadirectory into yoursub_acquia_marinafolder. - Rename the
acquia_marina.infofile in thesub_acquia_marinafolder tosub_acquia_marina.info - Edit the
sub_acquia_marina.infoby replacingname = Acquia Marinawithname = Sub Acquia Marina
- Create a directory named
- Access your Drupal homepage.
- Start HTTP server.
- Start MySQL server. (Assume that you already create a new database for your Drupal web site, and run the installation script.)
- Open a web browser and point to the address:
http://localhost/drupal6/. (Note: “drupal6” is your Drupal installation directory.)
- Change the default theme to your Sub Acquia Marina, and activate all necessary themes and modules.
- On your Drupal homepage, log in as administrator.
- Administer -> Site building -> Themes
- Check the
Enabledcheckbox forAcquia Marinatheme. - Check the
Enabledcheckbox forFusion Coretheme. - Check the
Enabledcheckbox anddefaultradio button forSub Acquia Marinatheme. - Click on the “
Save Configuration” button. - Administer -> Site building -> Modules
- Check the
Enabledcheckbox in front of theSkinrmodule.
- Activate the Site Slogan and Search form box.
- Administer -> Themes -> Configure -> Check the checkboxes for Site slogan and Search box
- Click on the “Save Configuration” button.
- Enter the Site slogan.
- Administer -> Site configuration -> Site information
- Enter your slogan in the Slogan textfield.
- Click on the “Save Configuration” button
- Put the Search form, Who’s new, and Navigator blocks in the Sidebar first region, and put the Recent comments block in the Sidebar last region.
- Administer -> Site building -> Blocks
- Move the Search form, Who’s new and Navigator to the Sidebar first region by putting the Search above the Who’s new and Who’s new above the Navigator blocks, respectively.
- Click on the “Save Configuration” button
- Configure the Search box
- On your drupal homepage, move your mouse over the Search box. A configuration icon, a gear icon, will be visible or shown up.
- Click on the gear icon to go to the configuration page for the Search box.
- Acquia Marina — General theme styles:
Rounded corners - Acquia Marina — Block title styles:
Green rounded title background with white text - Acquia Marina — Block title icon styles:
Search
- Configure the Who’s New block
- Similar to the Search box, move mouse over the Who’s new area, and click on the gear icon to go to the configuration page for the Search box.
- Acquia Marina — General theme styles:
Rounded corners - Acquia Marina — Block title styles:
Green rounded title background with white text - Acquia Marina — Block title icon styles:
Star
- Configure the Navigator block
- Use the same configuration as the Who’s new block.
- Configure the Recent comments block
- Similar to the Search box, move mouse over the Recent comments block, and click on the gear icon to go to the configuration page for the Search box.
- Acquia Marina — General theme styles:
Rounded corners - Acquia Marina — Block title styles:
Green rounded title background with white text - Acquia Marina — Block title icon styles:
Bubble
- Add primary and secondary links
- Administer -> Site building -> Menus -> Primary links.
- ADD ITEM, Path:
<front>, Menu link title:Home, Enabled:Checked, Expanded:Unchecked, Parent item:<Primary links>, and Weight:0 - ADD ITEM, Path:
<front>, Menu link title:About Us, Enabled:Checked, Expanded:Unchecked, Parent item:<Primary links>, and Weight:1 - ADD ITEM, Path:
<front>, Menu link title:Our Services, Enabled:Checked, Expanded:Checked, Parent item:<Primary links>, and Weight:2 - ADD ITEM, Path:
<front>, Menu link title:Drupal theming, Enabled:Checked, Expanded:Unchecked, Parent item:Our Services, and Weight:0 - ADD ITEM, Path:
<front>, Menu link title:Web design, Enabled:Checked, Expanded:Unchecked, Parent item:Our Services, and Weight:1
- Remove an underline from each secondary link
- Edit the
fusion-acquia-marina-style.cssfile in yoursub_acquia_marinafolder. - Search for the following definition in the file
#primary-menu ul.menu li ul.menu li a.active {
text-decoration: underline;
}
- Replace the word “
underline” with “none“.
- Edit the
- Divide the
Preface Topregion intoPreface Top Leftregion andPreface Top Rightregion.- Edit your
sub_acquia_marina.infofile, and replace
regions[preface_top] = preface top
with
regions[preface_top_left] = preface top left
regions[preface_top_right] = preface top right
- Edit your
- Define the Preface Top Left and Preface Top Right regions in the front page.
- Copy and paste the
page.tpl.phpfile into the same directory. - Rename the pasted file into
page-front.tpl.php. This file will be served as a template for your front page. - Find the following line in the
page-front.tpl.phpfile:
<div id="preface-top-inner" class="preface-top-inner inner clearfix">
- Insert the following section of code right below the above line.
<div id="mypreface" class="mypreface">
<?php if ($preface_top_left): ?>
<div id="preface-top-left">
<?php print $preface_top_left; ?>
</div> <?php endif; ?>
<?php if ($preface_top_right): ?>
<div id="preface-top-right">
<?php print $preface_top_right; ?>
</div>
<?php endif; ?>
</div>
- Copy and paste the
- Define styles for Preface Top Left and Preface Top Right regions.
- Edit the
fusion-acquia-marina-style.cssin yoursub_acquia_marina/cssfolder - Add the following section of code right after the definition of
.preface-top-wrapper{...}.
#mypreface{
margin: 0 auto;
}
#preface-top-left {
width: 50%; float: left;
}
#preface-top-right {
width: 50%; margin-left: 50%;
}
- Edit the
- Add a new custom blocks into the Preface Top Left region.
- On your Drupal homepage, Administer -> Site building -> Blocks
- ADD BLOCK
- Acquia Marina — List styles:
Large text list with green checkmarks (for Preface Top region) - Acquia Marina – Block title styles:
Green title - Block description:
my_left_block - Block title:
UNORDERED LIST - Block body:
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
<li>List Item 4</li>
</ul>
- Add another custom block to the Preface Top Right region.
- On your Drupal homepage, Administer -> Site building -> Blocks
- ADD BLOCK
- Acquia Marina — List styles:
<none> - Acquia Marina – Block title styles:
Green title - Block description:
my_right_block - Block title:
This part is for a text paragraph - Block body:
<font size="3" face="'Myriad Pro', 'Myriad Web Pro Regular', 'Lucida Grande', Geneva, Trebuchet MS, sans-serif">Put whatever text that you'd like to in the Block body.</font>
- The font face inside the <font> tag is derived from the font-family definition of
Marina - List - Green arrowin thefusion-acquia-marina-style.cssfile. - To incorporate the <font> tag, set the Input format to:
Full HTML.
- Decrease the font size of list items for Acquia Marina — List styles.
- Search the following definition in the
fusion-acquia-marina-style.cssfile of yoursub_acquia_marinafolder.
/* Marina - List - Green arrow */
.marina-list-arrow-green ul li {
background: url(../images/green-checkmark.png) no-repeat 0 5px;
font-family: "Myriad Pro", "Myriad Web Pro Regular", "Lucida Grande", Geneva, Trebuchet MS, sans-serif; font-size: 120%; /* 18px/12px */
line-height: 100%;
list-style-image: none;
list-style-type: none;
padding: 10px 0 15px 40px; }
- Change the font-size from
150%to120%.
- Search the following definition in the
- Add a new content node.
- On your Drupal homepage, click on “Create content” -> Story
- Put your own text in the Title and Body.
- Click on the “Save” button and add some comments to the story.


Pingback: Drupal 7 (RC2): How to create a customized front page. | MrTextminer’s Weblog
Thx for the info. I was looking for how to set the icon in the block but I overlooked the page
However I would do step 14 a bit different. I don’t think it is needed to create Preface Top Left and Preface Top Right. The `unordered list` block should have a size of 4 units and the `dummy text block` should have a size of 6 units and floated to the right.
Luv you! Thanks for this man. I was getting crazy trying to make the downlaoded acquia to be like the screenshot. I thought I was missing something, or having permissions issues or whatever… thanks!