Skip to content

cnm-web/cnm.responsive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Responsive Plone theme for CNM based on Twitter Bootstrap 2.0

Installation

Install the cnm.responsive product using the Add-on Control Panel. This will activate the theme.

Dependencies

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

Initial Install at CNM

The following steps are necessary only for the first install at CNM.

  1. Go into ZMI and reinstall “Diazo theme support” in portal_quickinstaller
  2. 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.
  3. Reinstall “CNM website” in portal_quickinstaller
  4. Install “cnm.responsive” in portal_quickinstaller
  5. If you don’t see the theme take hold on the site, you’ll need to active it in Site Setup > Theming.
  6. 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.
  7. Set depth of dropdowns to 1 in Site Setup > Dropdown menu configuration.
  8. 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>

About

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.

About

A responsive diazo theme for Plone.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published