Giter VIP home page Giter VIP logo

drupal-cambridge-theme's Introduction

University of Cambridge Drupal 7 theme

This theme adds the University of Cambridge's house style to your Drupal 7 site.

Requirements

Using the theme

Adding navigation

Horizontal navigation

  • Go to admin/structure/block and click 'Add menu block'.
  • Set the 'Administrative title' to something descriptive (eg 'Horizontal menu').
  • Set 'Menu' to the menu.
  • Set the region to 'Horizontal Navigation' for the University of Cambridge theme.
  • Click 'Save block'.

Vertical navigation

  • Go to admin/structure/block and click 'Add menu block'.
  • Set the 'Administrative title' to something descriptive (eg 'Vertical menu').
  • Set 'Menu' to the menu.
  • Set the region to 'Left Navigation' for the University of Cambridge theme.
  • Add '<front>', 'user' and 'user/*' to the 'Show block on specific pages' settings (making sure that the 'All pages except those listed' option is selected).
  • Click 'Save block'.

Creating teasers, carousels etc

These can be created in Views using fields by setting it to output the right HTML tags and add classes as the right points. This is, however, difficult and repetitive. Node view modes should be used instead, but can't be provided as part of the theme. These are available in Features are instead (such as teasers and carousels).

Optional module integration

Context

By default the section title on the page is the site's name, to change this for a section you can set it through the Context module. To change the theme settings (eg the colour scheme) for a section you can use the Delta module.

Easy breadcrumb

You can replace Drupal's native breadcrumbs with the Easy breadcrumb module. Once enabled, place the 'Easy Breadcrumb' block in the 'Breadcrumb' region.

Menu Firstchild

Normally in Drupal all menu parent items have to be links, and as parent items aren't clickable in the horizontal navigation the theme will add in a child with the text of the parent plus 'overview' so that the user can get to the page. In cases where you don't want to have the parent item linking to a page, you can use the Menu Firstchild module to create a manual wrapper menu item.

Touch Icons

Drupal allows you to change the University's favicon natively, but to change the Web Clip icon for iOS devices install the Touch Icons module.

drupal-cambridge-theme's People

Contributors

thewilkybarkid avatar jeebsuk avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.