Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Dashboard
TIM Professional
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>To include an SSI variable you need to replace the type of data you want to display with the variable's name. The example below shows how to implement the inbuilt <span class="keyword">#SSI_DATELONG</span> variable to display the current date every time a page is requested.</p><p>We start with a very basic HTML page:</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre><HTML> <BODY> <H2>Welcome to my page. The date is 1 January 2012.</H2> </BODY> </HTML></pre></td></tr></table><p>For the data to change dynamically, substitute the data with SSI variable name, in our case <span class="keyword">#SSI_DATELONG</span>.</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre><HTML> <BODY> <H2>Welcome to my page. The date is #SSI_DATELONG.</H2> </BODY> </HTML> </pre></td></tr></table><p>When the page is requested, it will display as below:</p><p><img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3NjcmVlbnNob3RtYWNybzpCb3JkZXI9ZmFsc2V8U2hhZG93PWZhbHNlfFVSTD0vZG93bmxvYWQvYXR0YWNobWVudHMvNzI0MjE0MS9zZXJ2ZXJfc2lkZV9leGFtcGxlLnBuZ30&locale=en_GB&version=2" data-macro-name="screenshotmacro" data-macro-parameters="Border=false|Shadow=false|URL=/download/attachments/7242141/server_side_example.png"></p><p> </p>
Attachments
Labels
Location
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced