The CCI Alumni Profiles site has been refreshed to once again include the rotating profile feature and we’ve added options to sort the profiles by major and class year.
One of the most common Drupal issues we’ve seen is that files in Recycle Bins work normally if you’re an editor who is logged into the site and has permission to edit the file. This sometimes causes an editor to forward a link to that file, which others can’t access. Now, when viewing a file in a Recycle Bin there will be an extra message after you’ve logged in. The “recycle bin” link will take you to the bin with the file so you can Restore it, if you’re the editor, and the contact link will allow others to send an email to the editor letting them know they can’t access the file. We also recommend reviewing our documentation on working with files in Drupal.
We’ll be working with College Communications to feature search promotions on our Google Custom Search Engine. This will ensure that when, for example, you search for “inauguration” you receive the appropriate page at the top of the list. We had originally thought about doing this automatically using the list of “searchable” GO shortcuts that appear when you start typing in the search box, but decided to start with a few manual entries. ITS will be adding some for internal audiences and welcome your suggestions. Also, if you are an admin of one of the CSEs like the custom one for the Helpdesk, you can add these yourself through the CSE dashboard.
We believe we have resolved the issue with editing Drupal sites in Internet Explorer. If you continue to encounter issues with this, please let us know. We did discover a minor issue that occasionally occurs while editing Drupal sites in Microsoft Edge while testing this. You can review our Browser Support documentation for the latest information.
The “SITES DOT MIDDLEBURY” and “SITES DOT MIIS” bars on our WordPress instances are now responsive and won’t cause themes to appear extraordinarily small on mobile devices.
The FlatOn WordPress theme now supports the Co-Authors Plus plugin.
We’ve fixed a bug in the WordPress Sign-Up Sheets plugin that stopped the event date from being included in confirmation emails.
We’ve fixed a big in the Course Hub Moodle Resource that was causing the “visibility” setting of the Moodle site to not be reflected correctly when editing the resource.
Expose.co content embedded in Drupal can now have a custom title and author set via the shortcode.
We’ve added a[n admin-only] system for cleaning up deleted files (that are no longer referenced in content) from our Drupal file-upload directories to save space.
Last week we launched a “new” website for Sustainability. New is in quotes because, while much of the content was updated and it features a new, responsive design, it’s still in the same Drupal site that it used to be. We are very happy that we were able to do this “in-place” update of the site. Among its new features are a content type for events (which we’ll be rolling out to other areas of the site) and a custom tagging vocabulary with themed tag pages. The Sustainability tags can be added to any “Basic Content”, “News”, or “Event” node in the site, but only by one of the editors of the Sustainability site or the Communications department.
The Middlebury Drupal site’s WYSIWYG editor now has a button for the abbr element. Use this to add explanations for abbreviations you put in your text.
You can now enable the “Pinterest Board Shortcode” plugin on any WordPress site to embed Pinterest boards. Here are a few examples.
The “equalizer” or “waveform” bars will no longer open automatically on interior pages of the site when there is only one featured story.
The “wp.me shortlinks” feature of the Jetpack plugin is no longer available on our WordPress sites. This created an external dependency on getting to our sites and caused problems when site URLs were changed. All existing shortlinks will continue to work. If you need a shortlink for a particular post, consider creating a GO shortcut.
The “print” button has been removed from the WYSIWYG editor on the Middlebury Drupal site to make space for the “abbr” button.
Fixed an issue where the Drupal user-sync process in the Course Hub was not properly importing additional data about users (FirstName, LastName, etc) and in turn was preventing the Hub from properly creating new user-accounts.
Fixed an name-collision issue in Drupal where users who accidentally get a new identifier in Banner were not able to have accounts created in Drupal sites associated with their new ID.
The New England Review website was updated last Thursday with a new design, developed by College Communications. This is a child theme based on the Genesis Theme Framework, which we’ve done an extensive security review on. It will be used to produce other custom WordPress themes including (eventually) a refreshed set of Middlebury-branded themes for use on your sites.
We have set up an application we’re calling “BannerSelect” that creates a nightly cache of Banner data that is used in our Drupal and WordPress sites. For example, lists of donors for the Online Donor Roll or course descriptions shown in the Course Catalog. This removes Banner as a dependency for these applications (though the Course Catalog was already creating its own cache) and will speed them up as well as make managing the web servers a little easier as they will no longer need to know how to connect to Oracle. We’ll be working with areas that rely on these applications to ensure they’re tested and working with the new system.
When a piece of content on any of our Drupal sites appears on multiple pages, links to it will always go to the current page if you’re already on the current page. This mostly applied to pages with lists of profiles and lists of news stories. If you are viewing a list of faculty profiles on a department site and click on one of them, you should now always stay on that department site, rather than sometimes jumping to a different department in which that person also teaches.
We have disabled a redundant scheduled task that was causing slowness in the Course Hub application. This should slightly improve performance of all of our Drupal-based websites.
Information about commons association and advisors for students displayed in Course Hub Rosters is now stored in a local database (using the BannerSelect application mentioned above) and refreshed nightly from Banner, rather than being read directly from Banner.
The Study Abroad and Language Schools navigation elements will now appear properly as 36px high in all browsers.
Last week there were not as many changes usual. We’re working on some interesting projects that are nearly, but not quite, ready for the live site, as well as supporting people getting sites updated and created for the new academic year.
We’ll begin with a couple of notices about browser compatibility. First, while we try to support every major browser, a reminder that editing in Drupal with Internet Explorer (including version 11) is not supported at this time due to an issue with the pop-up window used to add images. If you notice any issues viewing the Drupal site in IE 11, or in any of our other systems, please let us know.
On pages with multiple Google Calendars you can now link to a specific calendar by adding “#1” to the end of the URL, using the number of the calendar in the dropdown list, starting with zero, that you want to select. For example, to get the Helpdesk Hours on the Library Hours page, you can go to http://www.middlebury.edu/academics/lib/visitors/hours#3 since “#0” is Davis Family Library, “#1” is Armstrong Library, “#2” is Special Collections, and “#3” is the Helpdesk.
There is a new version of Monster Menus available. We have not applied this to the live site yet, and likely won’t during September. We want to test to ensure that there aren’t any issues that would impact our live sites, especially the Course Hub during the first weeks of classes. There are some interesting features in this version:
Recycle bins have changed substantially, with regard to what happens when a single node is displayed on more than one page:
Nodes are removed (or moved to the recycle bin) only from the current page. If recycle bins are being used, there is a new option to remove the node from all pages at once. Emptying a bin containing a node that appears on other pages does not permanently delete the node from pages outside of the bin.
When a page is moved to the recycle bin, and a node from it also appears on a page not being deleted, it remains visible on the page outside the bin. If the page is permanently deleted, the node remains intact.
Automatically clear specific Drupal anonymous page cache entries whenever a page or node is updated, so that anonymous users don’t see stale content. It can also clear Varnish’s cache, if used, under the same circumstances. This eliminates the 5 minute wait after you update content, in most circumstances.
We fixed an issue with the “Site Banner” images on department and office sites. By default, the images in raw File Upload nodes link to the image file. For File Uploads placed in Site Banners, we overrode this so that they would link to the department homepage. However, if you entered a custom URL in the File Upload that the banner should go to instead of the department homepage, this did not get consistently applied. Your custom URL values will now override both built-in link URLs.
The Category Sticky Posts plugin in WordPress failed to load one of its dependencies, which caused other site features to break. There should no longer be any conflicts when using this plugin.
Some of the “Add User” links in the WordPress admin interface took you to the internal WordPress “Add User” page, rather than the custom one we set up to ensure that the user accounts are added from our directory so we can use our Central Authentication Service. any internal WordPress users created this way wouldn’t be able to log in. All of the links now go to the correct form.
Only the “front” and “back” attributes are required. The values shown in the example will be used for the default values if those attributes are not supplied.
If you are using the “subscribe2″ plugin in WordPress you may have noticed that you get copied several times on the emails that are sent out when you publish a new post. This is because the plugin will use the”FROM” email as the “TO” address when sending to a large “BCC” list of subscribers. You can now change the default “FROM” address to “no-reply@” the current site domain.
If you’ve ever wanted to get an RSS feed of a single node on the Middlebury Drupal site, you can now do that using this address: http://www.middlebury.edu/middlebury-node-rss/%/rss.xml and replacing the ‘%’ character with the numeric ID of the node.
When new course sites are created in Moodle via the Course Hub, we now set the start date of the course to the last Monday prior to the start date listed in Banner.
The Course Hub now handles any type of parsing error in the updates it gets from various resources and will not stop syncing updates after the first error. Additionally, the Course Hub’s sync process is now given sufficient time to complete.
The information shown in Middlebury Drupal profiles from the Online Directory was being cached “permanently” which meant it only got updated after we made a code change. It will now be updated every three hours, in line with our process to sync other user data from the Directory. Note that this means edits to your office hours may not show up right away, but will appear by the end of the day.
The “miis_alumni” view in Drupal, which is used on the MIIS website to display lists of stories related to alumni in various programs, can now be displayed with or without a pager element at the bottom of the list. This resolves a minor SEO issue where the view was included on pages with a lot of other content and the pager was creating a series of pages where most of the content was the same, in the eyes of search engine spiders.
The site slogan on the MIIS website was updated from “Be the Solution: Areas of Study” to “Professional Graduate Degrees for Global Action”.
When librarians save new versions of the Library Quick Search widget, the old version is now purged from the block, page, variable and theme caches in Drupal.
We have removed new visual styles applied to the President of the College site last month.
There’s a new version of the header graphic for the ArtsMail newsletter.
The image button for the List Manager subscription form in Drupal now uses the proper “alt” attribute to contain the text for the button, rather than the incorrect “value” attribute.
All instances of the “b” and “i” elements in Drupal theme code have been replaced with “strong” and “em”, respectively. In addition, any instances of those elements in user-supplied content will be replaced with “strong” or “em”.
If the image rollover for the links in the global Middlebury Drupal footer doesn’t load, the links will be underlined to visually indicate that they are links.
The HTML element in all of our Drupal sites will now include the “lang” attribute in addition to the “xml:lang” attribute. The latter is not recognized by all screenreader software.
The WordPress Next Page plugin has been added to provide shortcodes and template tags for next/previous navigation in pages. The plugin includes a shortcode and tag for the parent page, allowing Drupal-like book navigation.
A new Omeka plugin for displaying a login bar on the top of Omeka sites has been added and is available for use.
We reached a significant milestone this week. With the upgrade of the Middlebury Course Hub and the MIIS Course Hub to Drupal 7, we are no longer running any Drupal 6 sites. We started work on the Drupal 7 migration project on October 31, 2011 on Drupal version 7.9 and finished on August 20, 2015 on Drupal version 7.39. In that time we made over 3,000 changes to the code.
We’d like to thank everyone who helped out in this effort, especially those who helped test the site upgrades and our site editors for their patience during this process.
We have upgraded both of our WordPress servers to version 4.3, which allows you to set a custom site icon, provides markdown support in the editor, adds a way to customize your menus in the theme customizer interface, and turns comments off by default for new pages.
On the MIIS Drupal site, editors can now add social media sharing icons to Basic Content nodes by checking a box in the editing interface. The same icons and service links are used on all News nodes on the site.
We made many accessibility improvements to our Drupal sites this week, including:
The Quick Access content type now includes a submit button. Additionally, the selector for the Quick Access node on the Middlebury Office & Services page was updated so that the search will work again.
The Google Custom Search content type now has a proper field label for the search input.
In the Google Calendar content type you can list multiple calendars. If you choose not to overlay the calendars, a select box will appear above the first calendar allowing you to switch to other calendars. This select box now has an appropriate label.
If you set a page in Drupal to have an “Archive” a set of select boxes will appear at the bottom of the page allowing you to filter to a particular year, month, week, or day. We have updated these select boxes to have appropriate labels.
We have updated the four forms that let you search for Library resources from the Drupal site to have appropriate labels for their select and input elements.
Other fixes this week:
Profiles on the Middlebury Drupal site were not listing the office location. We have updated these so that the full mailing address will appear when viewing the full profile and the office building and number will appear when viewing a “teaser card” listing of profiles.
The WordPress NextGEN gallery will no longer overlap other page elements in Chrome.
Four forms that allow you to search Library resources were updated to use Drupal’s block system, rather than being embedded in content. This allowed us to remove the “Extended HTML” input filter that provided some editors with an extended set of allowed HTML tags, including form elements.
The WordPress WPML Translation Analytics and XLIFF plugins are now included in WPML Translation Management and were removed.
When embedding .mp3 audio files from MiddMedia, Firefox now uses the HTML5 <audio> tag for output.