The key features of this release include:
- A less distracting inline link interface
- Formatting shortcuts for horizontal lines and
- Live responsive previews when customizing themes
- Custom logo support
- Smart image resizing; images now load up to 50% faster
Fixes and Tweaks
- An excess memory usage problem caused by excessive fetching of revisions within Jetpack’s custom CSS module has been resolved.
- PIDM and 8-digit ID’s have been exposed via CAS and CAS_Directory for use in the Course Hub.
- Guests can now be granted the ability to log into some Drupal sites [Course Hub] without requiring that all guests have their accounts auto-created.
- The CAS user sync now works when users’ languages are greater than five characters.
The WordPress video embed plugin now supports streaming videos from archive.org.
Fixes and Tweaks
- The link to class rosters in the MIIS version of the Course Hub now matches the rest of the site styles, making it easier to see.
- The ListManager subscription plugin for WordPress now allows lists with hyphens in their names.
- The interest form on the School of the Environment site now has a field to indicate how you heard about the program.
- Configured our Canvas pilot installation to prevent users from accidentally creating accounts that would never be able to log in.
New School of the Environment Homepage
Designed by College Communications and coded collaboratively between our two offices, the Middlebury School of the Environment has a new homepage. The header and footer designs also carry through to the interior pages.
Fixes and Tweaks
We have added the TwentyTwenty plugin to WordPress, which can be used to show before and after images with a slider to compare.
Fixes and Tweaks
- When you look at course information on the Course Catalog, the instructors will now be listed with the “primary” instructor, according to Banner, listed first, followed by additional instructors in alphabetical order.
- We have re-enabled multi-file uploads in Drupal webforms that are behind authentication. There is an error that affects multi-file uploads in unauthenticated forms, but works when you’re logged in. This will allow files to be replaced in webform submission drafts for authenticated forms.
- The MediaWiki API URL is now required when setting up Scripto in Omeka and there is better messaging on the form to indicate this and avoid error messages when creating new sites.
- Fixed the GO shortcut dropdown for quick search results on the Middlebury Drupal site.
- You should no longer see an SSL error when viewing a site using the responsive theme over HTTPS. Paths to the logo image file and the blue gradient background are now protocol agnostic.
- If you add a page on the Middlebury website to your home screen on an iOS device you’ll now see the shield icon, rather than a styled blue “M”.
Middlebury WordPress Sites Now Resize Images After Upload
We have Network Enabled the Resize Images After Upload plugin on the Middlebury WordPress sites (sites.middlebury.edu). This plugin does not affect any images you have previously uploaded to WordPress, however, it will resize new images larger than 1200×1200 pixels so that they have a maximum of those dimensions. Smaller images will not be affected.
We find that people often upload very large original images from devices like their phone, but then only show them at the width of a WordPress post, which is usually less than 800px. This causes them to run out of space on their site quickly for images they’re not showing at full size. This plugin will help keep your site under the default storage quota.
If your site needs to store very large images at their original dimensions, you can change the plugin settings by going to your WordPress site dashboard, clicking on Settings, clicking on Resize Image Upload and changing “Enable re-sizing” to “NO – do not resize images”. You can also change the maximum dimension settings.
Drupal Taxonomy Field Permissions Update
In several places on our sites we have fields that allow you to add tags to content and, if you enter a tag that doesn’t exist yet, your new tag will be added to the list of available tags. We have changed this behavior so that only people in the Communications groups at Middlebury and MIIS can add new tags to the “New MiddTags” taxonomy on the Middlebury Drupal site and the “MIIS Tags” taxonomy on the MIIS site.
If you are not in that group, you can still tag your content with one of the tags they’ve made available, but if you try to add a new one, you will get an error message. This does not affect the “MiddTags” taxonomy, which can still be used to add whatever tags you like. The “New MiddTags” vocabulary appears on the News and Story content types in the Middlebury Drupal site. The “MIIS Tags” taxonomy appears on the Story, Profile, Gallery, File Upload, and Ten Questions content types on the MIIS Drupal site.
Fixes and Tweaks
- Added a link to the MIIS Emergency information site to the Quick Links portion of the site header in Drupal, the Course Catalog, the Directory, GO, and the m.miis.edu site.
- Fixed an issue with the “title” attribute of Vimeo embeds in Drupal.
- The style of the Site Editor Log On link in the center page region of our Drupal site was updated to ensure that the link is readable when you hover over it and aligned with its bullet point.
- If you are viewing content that embeds an image that’s in a Drupal Recycle Bin as an editor, the link to the Recycle Bin is now clickable.
- The WordPress admin bar, with the Log In link is now set to appear above most other theme elements, ensuring that the links are clickable on themes with transparent headers.
- The “featurednews” element, which showed out-of-date blog posts, was removed from the Current Students page.
- Link paths to the submission form on the Non-College Housing site are now fully qualified as relative paths weren’t working on one person’s local network.
- When we first set up the Davis UWC Scholars site we created a user account for everyone at Middlebury, but we really only need a few such accounts for the site editors. Accounts that aren’t associated with any content on the site have been removed to ease that site’s migration to Drupal 8.
- Table cell padding in our responsive theme for the Middlebury site was decreased by 5px for mobile.
The login page for CAS, our single-sign on service, now uses a responsive theme. This should make it easier for you log in to our services on your mobile device, particularly useful for responsive-enabled services like WordPress.
We have added the CommentPress plugin to WordPress, which allows line-by-line commenting on a document.
Similarly, we added the Scripto plugin for Omeka, which enabled crowd-sourced document transcription.
iFrames from SensusAccess can now be embedded in Drupal using the iframe shortcode.
When our front-end caching service, Varnish, is unable to fetch a new page from the Drupal servers and has no cached copy of the page it used to show a gray error page that said “503 Guru Meditation”. We’ve improved this so that it looks like a regular Middlebury page, has a human-readable error message, and a link to Web Helpdesk.
School of Hebrew classes are now searchable in the Course Catalog and can provision curricular resources through the Course Hub.
Tweaks and Fixes
- The MIIS Drupal site now uses the Institute’s shield for its favicon and the Middlebury and MIIS WordPress sites will now use their shield favicons by default. Individual sites can override this using the WordPress Customizer in the dashboard under Appearance.
- We’ve improved the performance of the query that the Drupal Monster Menus module uses to apply permissions to multiple pages so that it’s optimized for our database software. This operation should run somewhat faster.
- The homepages of our Drupal sites had titles ending with ” |” when the “site slogan” wasn’t set. These extra characters are now removed so that the title of the Middlebury site is now “Middlebury”, not “Middlebury |”.
- We have resolved an error that was preventing some custom splash images from being used on MiddMedia embeds in WordPress.
- The WRMC site was fetching and stores new cover art URLs on every page load, whether it already had them in its local database or not. It now only fetches cover art it doesn’t know about yet, reducing somewhat the 9,000,000,000 records stored previously.
- The Pinterest sharing button on the MIIS Drupal site stories now uses the custom icon that matches the other share buttons.
- Added 10px of padding between the main content region and the content sidebar on the MIIS site to ensure that the text doesn’t run directly against the sidebar, which now has a different background color.
- Resolved a display issue with the Log In / Log Off links in the Course Hubs.
- We added maps for Congo, Ghana, Mexico, and Palestine to the Davis Projects for Peace site.
- We have removed a number of Drupal modules from our sites that were not actively used. These include accessibility, addressfield, bundle_copy, cf, config_perms, content_taxonomy, data, elements, expire, feeds, feeds_oai_pmh, feeds_tamper, geocoder, geofield, geophp, git_deploy, jquery_countdown, kml, middlebury_mobile_detection, middlebury_subjectsplus, migrate, node_accessibility, node_accessibility_statistics, oauth, openlayers, phplot_api, proj4js, quail_api, rules, twitter, twitter_pull, and views_rss. Additionally, the zen theme was removed.
- MIIS Language and Professional Programs are now searchable again in the Course Catalog.
You No Longer Need to Wait Five Minutes to See Your Drupal Changes (Most of the Time)
When you save content, save page settings, or create new content, that change will now immediately appear for everyone browsing the site, whether they are logged in or not. We use a caching service named Varnish that takes the rendered output from Drupal and keeps it in memory for five minutes. Everyone who is not logged in visiting the site (if you’re logged in you will always get an un-cached copy) will get the copy of the page from Varnish within that five minute window, meaning Drupal doesn’t need to use resources recreating the page for each visitor. After five minutes, the next person to request that page will get it from Drupal and Varnish will update its cache with the new copy.
Now, when you update or create new content on many of our Drupal sites, Varnish will be notified in the background that it should clear its cache and get the new copy of the page. So even if it’s only been a minute since the page was requested when you click the save button, the next visitor will get a fresh copy of the page from Drupal with your latest changes.
Unfortunately, this does not work for content displayed in page regions other than the main content area. If you update a sidebar item on a department homepage, the cache will only clear for that homepage, not all of the sub-pages on which the sidebar item might also appear. You’ll still need to wait the five minutes for that to happen.
We have only made this change to the Drupal sites where we run Monster Menus. Right now, that includes:
We will roll out a similar change to our other Drupal sites soon.
Fixes & Tweaks
- The Audio Player plugin for MediaWiki now works as intended.
- Drupal webform radio and checkbox lists that are marked as required will now correctly show the red asterisk next to their field label when the field allows “Other…” as an option. It was missing, previously.
- The Site Editor Log In link on the Middlebury Drupal site now appears in bright green on blue backgrounds, making it visible.
- We have removed the WordPress Simple Footnotes Editor Button plugin, which no longer works.
- We have removed the Pinterest link from the MIIS site footer.
- The Varnish 503 Error page has been re-themed to provide better messaging during an error or widespread downtime.