Responsive Plone theme for CNM based on Twitter Bootstrap 2.0
Install the cnm.responsive
product using the Add-on Control Panel.
This will activate the theme.
This theme depends on the following packages:
- plonetheme.sunburst => 1.4.3
- plone.app.theming => 1.1.1
- diazo => 1.0.3
- webcouturier.dropdownmenu => 2.3.1
The following steps are necessary only for the first install at CNM.
- Go into ZMI and reinstall “Diazo theme support” in portal_quickinstaller
- In ZMI go to portal_setup, select the “Import” tab, select “Sunburst Theme” from the dropdown, and click “Import all steps” at the bottom of the long list. This will fix display issues since we updated Sunburst but it doesn’t have an entry in portal_quickinstaller. This only needs to be done once and does things with skin layers that I did not want to automate.
- Reinstall “CNM website” in portal_quickinstaller
- Install “cnm.responsive” in portal_quickinstaller
- If you don’t see the theme take hold on the site, you’ll need to active it in Site Setup > Theming.
- Make sure “Automatically Generate Tabs” is checked in Site Setup > Navigation. This seems to get set to off by cnm.website. Easy to change, but didn’t want to without checking first.
- Set depth of dropdowns to 1 in Site Setup > Dropdown menu configuration.
- Add steps portlet at the root of the site. The header needs to be titled "Steps" and here is the HTML that needs to be in the body.
<ul><li><a href="/registration">
<h3>1</h3>
Apply to CNM</a></li>
<li><a href="/depts/financial-aid">
<h3>2</h3>
Financial Aid</a></li>
<li><a href="/depts/advisement">
<h3>3</h3>
See an Advisor</a></li>
<li><a href="/registration/registration-application-at-cnm#Register">
<h3>4</h3>
Register for Class</a></li>
<li><a href="/registration/your-first-day">
<h3>5</h3>
Your First Day</a></li>
</ul>
This theme integrated Bootstrap. To use Bootstrap components, wrap your code in a container with a class of bootstrapStyles. This is required because without this namespacing Bootstrap interferes with Plone code.
Switch to mobile happens at 767px width.