This is the documentation for an older version of Scroll Viewport. Here you can view the most up-to-date version of the Scroll Viewport documentation.

Scroll Viewport 2.1 Release Notes

March 2015

We are proud to announce Scroll Viewport 2.1. Scroll Viewport 2.1 comes with the new web-based theme editor and various other improvements for theme developers.

Feature Highlights & Noteworthy Changes

More Info

Features

Web-based Theme Editor

We are proud to finally provide a kick-ass, web-based theme editor with syntax highlighting, code-completion and more.

(warning) We plan to remove FTP-based editing from Scroll Viewport 2.2. Please do let us know, if you rely on the FTP-based editing.

Improved Placeholder Documentation

The placeholder documentation for theme developers is now generated dynamically. That way the documentation will reflect which placeholders with which properties are available.

Velocity Macros (a.k.a. Velocimacros)

Velocimacros allow theme developers to define a re-usable function (Note: Velocimacros are completely different from Confluence Macros!).

<!DOCTYPE html>
<html>
<head>
    <title>Index</title>
</head>
<body>
  
  <h1>
    Index
  </h1>
  
  #macro( navigation $parent )     <--- Re-usable Velocity Macro
  <ul>
    #foreach($child in $parent.children)
    <li>
      <a href="$child.link">$child.title</a>
      #navigation($child)
    </li>
    #end
  </ul>
  #end
  
  #navigation($home)
</body>
</html>

Please note that recursion is allowed but is limited to 20 steps.

Support for Comments in Viewports

Theme developers can now display comments from pages and blogposts in a viewport. And, even better, they can also create forms to create comments from the viewport.

Various Improvements

  • Space-admins can now edit themes. The themes are then scoped to the space, so that space-admins cannot edit themes from other spaces or global spaces.
  • (a.k.a. Velocimaros) are now reloaded when they are updated.
  • Paging of BlogPosts

Updates and Fixes in this Release

New Features and Improvements

T Key Summary Status Resolution
Loading...
Refresh

Bugs Fixed

T Key Summary Status Resolution
Loading...
Refresh

The Scroll Viewport 2.1 Team

Jens Rutschmann
Mario Erazo
Maximilian Hilbert
Nils Bier
Simon Kusterer
Stefan Kleineikenscheidt
Sven Walter