Lifetime Entertainment

Interactive Quiz Hub

Lifetime is a popular television network that features programming geared towards women.

Lifetime Entertainment Quiz Hub

 

Lifetime is a popular television network that features programming geared towards women. Its website, MyLifetime.com, is a source for videos, blog posts, advice, and information about Lifetime’s shows. It also includes interactive games and quizzes which help attract the millions of visitors that the site receives each month. MyLifetime.com is one of the most successful enterprise-level Drupal deployments to date, with a complex architecture supporting high levels of traffic.

Evolving Web was brought in to redesign the MyLifetime.com online quiz hub, an interactive portal where users can test their knowledge of popular culture by taking scored quizzes and compare their opinions with other users by taking surveys and polls. We were responsible for implementing the quiz listing pages, javascript-based quiz-taking UI, and a customized administrative interface for creating quizzes.

The challenge was to integrate the quiz hub into the existing MyLifetime.com website as seamlessly as possible. MyLifetime.com already had its own set of custom and contributed modules, custom theme, and configuration settings. Our task was to incorporate a new set of content types, settings, and custom code into this large Drupal installation without disrupting the existing architecture.

We used and extended the Features module to export the database-level configuration into code. This simplified the deployment of the site to a multitude of environments (evolvingweb-dev, evolvingweb-test, evolvingweb-integration, lifetime-dev, lifetime-qa, and production) and was essential to the project’s success. We tested our work on each environment to ensure that modules, configuration settings, and theme changes didn’t conflict.

We also wrote a build script, which enabled the custom modules and their dependencies, imported legacy and sample content, and prepared the site for deployment.

To control the growing complexity of the site, we decided against creating a sub-theme specific to the quiz hub. All our front-end code (CSS, javascript, template overrides) was either implemented as assets of custom modules, or enabled through Context. We used MyLifetime.com’s theme, keeping quiz-specific stylesheets and templates in the module layer.

A customized admin UI was created to facilitate efficient creation of quizzes and their associated content types (questions, answers, results). Building on the excellent Modal Frame API and Node Relationships modules, we replaced the node-reference autocomplete widgets with ones showing a preview of the referenced content. In the future, we hope to release these immensely helpful customizations as a Node Relationships submodule.

About Lifetime Networks

Lifetime Networks is a diverse, multi-media company, committed to offering the highest quality entertainment and information programming, and advocating a wide range of issues affecting women and their families. Lifetime Television®, Lifetime Movie Network®, Lifetime Real Women® and Lifetime Digital™ (which includes myLifetime.com, LMN.tv, Lifetime Games, Roiworld.com, DressUpChallenge.com, MothersClick.com and LifetimeMoms.com) are part of Lifetime Entertainment Services, LLC, a subsidiary of A&E Television Networks, LLC. A&E Television Networks is a joint venture of the Disney-ABC Television Group, Hearst Corporation and NBC Universal.