Contents
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.
- Choose minimal option.
- Database configuration:
- Database type:
- MySQL
- Database name & username:
[ascecong_year]
- Database password:
- (saved from when you created the database)
- Set up site information:
- site name:
- [ASCE Congress]
- site email address:
- [email protected]
- 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
- In Transmit, log in to conferencesuite.asce.org, and navigate to
/conferencesuite.asce.org/web/sites/[ascecongress].org/[year]/
. - Open the settings.php file for that site. Note: you may need to change file permissions.
- Locate the Trusted host configuration section. Add the following code below the section comment:
$settings['trusted_host_patterns'] = array( '^[ascecongress]\.org$', '^.+\.[ascecongress]\.org$', );
- 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
-
Enable the following themes:
- Seven
- Legacy (set as default)
- 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):
- chewie_base
- chewie_content
- chewie_page
- chewie_importantdates
- chewie_sessions
- chewie_venues
- chewie_supporters
Import any module updates using Features. Go to Configuration > Development > Features and pull in any changes necessary.
Basic Site Settings
- Create a new Page, named Home
- Provide a menu link with <Main navigation> parent item
- 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
- region: Header
- block: Site Branding
- region: Content
- block: Status Messages
- block: Hero (will be added by a Manager later)
- block: Page Title
- block: Main Page Content
- any other main blocks (Sessions, etc.)
- Tabs (core, disabled)
- region: Sidebar
- block: Venue: Legacy
- block: Important Date: Legacy
- any other sidebar blocks (Questions, Chairs, etc.)
- region: Supporters
- block: Supporter Level: Carousel
- block: Supporter Level: All Sponsor Levels
- block: Supporter Level: Non-Sponsor Levels
Seven theme block layout
- region: Header
- block: Page Title
- block: Primary Tabs
- region: Pre-Content
- block: Secondary Tabs
- region: Breadcrumb
- block: Breadcrumbs
- region: Highlighted
- block: Status Messages
- region: Content
- 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)