Skip to content

News 3.0

x

Error message

  • Notice: Only variables should be passed by reference in include() (line 191 of sites/all/themes/UCMerced/templates/partials/_header.tpl.php).
  • Notice: Only variables should be passed by reference in include() (line 417 of sites/all/themes/UCMerced/templates/partials/_header.tpl.php).

Pinning/Sticky News Items

When Adding content:

  • Under Publishing Options
  • Click "Sticky at top of lists"
  • Save

Editing media contact information

Should the need arise to alter/add information to media contacts:

  1. Navigate to Media contacts taxonomy
    • admin/structure/taxonomy/media_contact
  2. Click Edit on the desired term
  3. Under Description make the edits necessary
  4. Save

News Views

Headlines (View Block)

  • Video
    • Note: Video is excluded by default, but acts as the "No Content" behavior for the Hero image
  • Hero Image
  • Title
  • Body
    • Note: Body is excluded by default, but acts as the "No Content" behavior for Summary

Sort Criteria

"Content: Sticky (desc)": necessary for pinning selected stories

Sub Headlines

  • News Tags
  • Hero Image
    • Note: Hero image is excluded by default, but acts as the "No Content" Behavior for Video
  • Video
  • Date
  • Title

Filter Criteria

  • Published
  • Type: (News)
  • News Tag
    • Note: All subcategories of "all news" excluding the term All News itself
  • Content: Sticky (No)
    • Note: This is important otherwise items will be duplicated in the Headline block

Externally linked Titles

Found under:

  • In the news (block)
  • Bobcat Athletics
  • External Links
    • Note: External link is used for the "Rewrite Results" for Title. It can be found under "output this field as new link"

News Archive views

Unless otherwise stated below the archive pages are handled by drupal's taxonomy term view (taxonomy term). Which has been modified with the necessary fields.

Composite Views

A different procedure was used in order to accumulate data for view pages because of the amount of taxonomy terms. This method however does not work with multiple tags. This is the need for the composite pages

All News, All research: composite pages

All news attachment, All Research Attachment: Responsible for displaying large single item found at the top of given archive page

Related News

View responsible for displaying related content on inside pages. Based off of contextual filter

Under Contextual Filters

Breakdown of how contextual filters function together:

First the block uses "content: Nid" to collect what page is currently being viewed. From there "content: has taxonomy term ID" will find what terms are available for the given NID and display content with those terms only

  • Content: Nid
    • "When the filter value is not available"
    • Provide default value = "Content ID from URL"
    • Note: Will search for content specific to the active page
  • Content: Has Taxonomy term ID
    • "When the filter value is not available"
    • "Provide default value"
    • Type = "Taxonomy term ID from URL"
    • click "load default filter from node page..."
    • Select "limit terms by vocabulary"
    • Select "news" vocabulary
    • Under multiple-value handling
    • select "filter to items that shar any term"