Skip to content

4 XHTML block changes

Rob Knight edited this page Mar 8, 2018 · 1 revision

1. Adjust the campus-links block

There is no need to maintain two of sets of these blocks. They appear on every page of every site and should be shared across all WCMS sites.

  • Move/Rename _library/dept-division/blocks/xhtml/common/campus-links to _library/global/blocks/uniform-campus-links
  • In www templates, assign this block to the UNIFORM CAMPUS HOME LINKS region.
  • Replace the existing code with:
<ul id="topNav">
  <li><a href="https://my.ucsc.edu" title="Go to the MyUCSC portal">MyUCSC</a></li>
  <li><a href="tools/people.html" title="Campus directory">People</a></li>
  <li><a href="tools/calendars.html" title="Upcoming events, academic, and administrative calendars">Calendars</a></li>
  <li><a href="visit/maps-directions.html">Maps &amp; Directions</a></li>
  <li><a href="tools/azindex.html" title="A to Z index of UCSC websites">A-Z Index</a></li>
</ul>

2. Adjust the campus-footer block

  • Rename and move to _library/global/blocks/uniform-campus-footer
  • In www templates, assign this block to the UNIFORM CAMPUS FOOTER region.
  • Replace content with this:
<img src="/render/file.act?path=site://static/_responsive/images/logos/uc-seal.svg" alt="University of California" width="84" height="84" class="seal" />
<div class="address home">
<div class="location">UC Santa Cruz, 1156 High Street, Santa Cruz, Ca 95064</div>
<div class="copyright">&#169;<!--#config timefmt="%Y" --><!--#echo var="DATE_LOCAL" --> Regents of the University of California. All Rights Reserved.</div>
</div>

Clone this wiki locally