Sections and Pages

Links

Syntax

<a href="URL" target="_XXX" style="AAA:BBB; CCC:DDD;" class="YYY" >link text</a>

For example:
<a href="/Help/section/Terminology/_gSBuh" target="_self" style="color:black; font-size:0.8em; padding:20px;" class="button03">Go to the terminology page</a>

 

Go to the terminology page

 

Note: Your site styles have been set to provide a consistent visual identity, with colour contrasts pre- tested for accessiblity. Customisation of links and text should be done very sparingly.

Parameters

Style parameters

font-size
0.5em, 1.5em 

color
red, grey, #bbd143

word-break
normal 

padding
20px, 5px

Target parameters

_self
opens in the same tab or popup 

_parent
opens in the same tab, but when linking from a popup, it will close the popup first 

_blank
opens in a new tab (or page depending on browser settings) 

href protocols

http://, https://
Link to external website 

mailto:
Link to email address

/
(e.g. /section/Managing-Sections/page/Text-editor/_4Eadx)
Relative link to another page on the intranet

Customising

Create article with related section

A 'create article' button must specifythe ID of the article type, and if required, the article's related section. For content which has to be approved, the related section is critical.

Create article with related section

 <a class="button06" href="/sites/common/Private/Contentobject_Edit.aspx?contentobjecttypeid=100&communities=394" target="_blank">Create article with section</a>

Where
100 = ID of article template
394 = ID of section (can be replaced with "@ ID @" - without spaces - to automatically relate article to existing section)

Create article with attribute(s)

Submit news

<a class="button06" href="/sites/common/Private/Contentobject_Edit.aspx?contentobjecttypeid=100&communities=394&attributevalues=2648" target="_blank">Submit news</a>

Where
2648 = ID of custom attribute