University at Buffalo - The State University of New York
Skip to Content
UB Web Management

Transforming UB’s digital communications through process and tools

Anchors Misbehave in Author

In the author environment, anchors may behave unexpectedly, and not always load the browser at the right part of the page.

Published April 4, 2016

The Issue

Several components (e.g. Title, Body Text) allow embedding of anchors, linkable targets on a page.  Links can then be created that should open the browser at that specific part of the page.  In the author environment, these anchors do not always function as expected, and the page may load displaying another part of the page instead.

Workaround

There is no direct workaround.This is essentially 'normal' behavior for the UBCMS, and the problem appears to be generated by other programming, such as loading the Sidekick.  The published page should function as expected.  

You can also disable a lot of the additional behavior by the author environment by adding '?wcmmode=disabled' to the browser  location bar (NOT to an actual link on your page); e.g. https://ubcms-author.buffalo.edu/content/www/some-page.html?wcmmode=disabled#your-anchor .