These steps are here primarily for Eric to use in the creation and updating of this theme. Knowing what has been removed from the "standard" page will also assist in bug tracking.
- Go to: http://ericjohnpc.nmu.edu/node/294
- Run:
drush vset preprocess_css 0 --yes; drush vset preprocess_js 0 --yes
- Copy source
- Run:
drush vset preprocess_css 1 --yes; drush vset preprocess_js 1 --yes
- Paste the source into BBEdit. Do: Markup > Utilities > Format... > Pretty Print. This should result in 377 lines.
- Find and replace:
src="/sites
>>src="//www.nmu.edu/sites
- Find and replace (grep):
@import url\("(.*?)\?xxxxxx"\);
>><link type="text/css" rel="stylesheet" href="\1" media="all" />
where xxxxxx is the cache salt - Find and replace:
<a href="/
>><a href="//www.nmu.edu/
- Find and replace:
http://www.nmu.edu
>>//www.nmu.edu
- Find and replace (grep):
<style type="text/css" media="all">|</style>
>>[nothing]
- Find (grep):
<style type="text/css" media=".*?">
Manually replace the media property for child elements of the style tag found above. Remove those media elements when done. - Find and replace:
?xxxxxx
>>[nothing]
where xxxxxx is the cache salt - Find and replace:
src="http://
>>src="//
- Remove the jquery.extend settings
- Remove omega-mediaqueries.js
- Remove panels.js
- Remove google_analytics_reports.js
- Remove drupal.js
- Remove jquery.once.js
- Remove all /system/ and /modules/ CSS files
- Remove shortlink tag
- Remove mega generator tag
- Remove canonical tag
- Remove skip-link div
- Add Comments for easy finding: page title, page branding, top navigation and page content.
- Add google analytics tracking code from profile UA-27629684-6.