Part 2: Set up the Website

Submitted by charvey on Mon, 04/09/2018 - 16:06

Contents

  1. Set up site settings
  2. Site Build Checklist

Set up site settings

These steps will edit the newly-created settings.php file. Log into the new drupal site, at http://[year].[ascecongress].org, and follow the setup wizard.

  1. Choose minimal option.
  2. Database configuration:
    Database type:
    MySQL
    Database name & username:
    [ascecong_year]
    Database password:
    (saved from when you created the database)
  3. Set up site information:
    site name:
    [ASCE Congress]
    site email address:
    [email protected]
  4. Set up superadmin account:
    username:
    Azrael
    email:
    [email protected]
    password:
     
    default country:
    United States
    default timezone:
    New York
    check for updates automatically
    unchecked

Note: Regional settings may be changed after installation, at Configuration > Regional and Language > Regional Settings.

Update Trusted Host Configuration

  1. In Transmit, log in to conferencesuite.asce.org, and navigate to /conferencesuite.asce.org/web/sites/[ascecongress].org/[year]/.
  2. Open the settings.php file for that site. Note: you may need to change file permissions.
  3. Locate the Trusted host configuration section. Add the following code below the section comment:
    $settings['trusted_host_patterns'] = array(
      '^[ascecongress]\.org$',
      '^.+\.[ascecongress]\.org$',
    );
      
  4. At the end of the file, add the following line to configure the LDAP password:
    // LDAP SERVER CONFIG
    $config['ldap_servers.server.windows_dc01']['bindpw'] = [password];
        
    (Replace [password] with the actual LDAP server password.)

Site Build Checklist (superadmin role only)

These steps prepare the site for content entry only. They should be done only once.

Appearance

  1. Enable the following themes:

    • Seven
    • Legacy (set as default)
  2. Disable the Stark theme.

Administration Theme Settings

  • Choose Seven as the admin theme.
  • Check Use the administration theme when editing or creating content.

Extend

Install the following modules (should take about a minute):

  1. chewie_base
  2. chewie_content
  3. chewie_page
  4. chewie_importantdates
  5. chewie_sessions
  6. chewie_venues
  7. chewie_supporters

Import any module updates using Features. Go to Configuration > Development > Features and pull in any changes necessary.

Basic Site Settings

  1. Create a new Page, named Home
  2. Provide a menu link with <Main navigation> parent item
  3. Configuration > System > Basic Site Settings > Front Page : /home

Roles & Permissions

Under People > Permissions, enable Use the administration toolbar for the Authenticated User role.

Block Layouts

Arrange the blocks in each theme as described below.

Legacy theme block layout

  1. region: Header
    1. block: Site Branding
  2. region: Content
    1. block: Status Messages
    2. block: Hero (will be added by a Manager later)
    3. block: Page Title
    4. block: Main Page Content
    5. any other main blocks (Sessions, etc.)
    6. Tabs (core, disabled)
  3. region: Sidebar
    1. block: Venue: Legacy
    2. block: Important Date: Legacy
    3. any other sidebar blocks (Questions, Chairs, etc.)
  4. region: Supporters
    1. block: Supporter Level: Carousel
    2. block: Supporter Level: All Sponsor Levels
    3. block: Supporter Level: Non-Sponsor Levels

Seven theme block layout

  1. region: Header
    1. block: Page Title
    2. block: Primary Tabs
  2. region: Pre-Content
    1. block: Secondary Tabs
  3. region: Breadcrumb
    1. block: Breadcrumbs
  4. region: Highlighted
    1. block: Status Messages
  5. region: Content
    1. block: Primary admin actions

Configuration > Media > File System

Temporary directory
/tmp

Configuration > Development > Performance

Caching
1 day
Aggregate CSS files
checked
Aggregate JS files
checked

Appearance > Settings > Legacy

Body classes:
[ascecongress]
Style Repository Channel:
Production
conference info, colors, images:
Managers will edit

Blocks

Place Menu Code blocks (copy code from sample twig files in Google Drive)