Events Publisher

Back 2nd ACIX workshop

## ## Velocity Transform Template ## ## All dynamic elements in a structure can be accessed as a Velocity variable. ## ## The given structure: ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## The dynamic element "main-text" can be accessed in the following ways: ## ## $main-text.getName() - The name "main-text" ## $main-text.getData() - The data in the article for main-text ## $main-text.getType() - The type "text-area" ## $main-text.getChildren() - A collection with two nodes (sub-image and ## sub-text) that can be used in the #foreach clause ## $main-text.getSiblings() - A collection of elements with the name ## "main-text". This will only return more than one ## element if this element is repeatable. ## ## One special accessor exists for elements of type "multi-list": ## ## $ms-list.getOptions() - A collection with up to three string entries ## (chocolate, strawberry, or vanilla) that can be used ## in the #foreach clause ## ## Another special accessor exists for elements of type "link_to_layout": ## ## $linkToPage.getUrl() - The URL that links to the selected page in the current ## site. ## ## The variable $journalTemplatesPath can be used to include another Journal ## template, e.g. #parse ("$journalTemplatesPath/LAYOUT-PARENT") ## ## The variable $viewMode specifies which mode the article is being viewed in. ## For example, if $viewMode evaluates to "print", that means the user clicked ## the print icon to view this article. ##

Event: $event.getData()

Dates: $dates.getData()

Location: $location.getData()

URL: $URL.getData()

Important Dates: $important_dates.getData()

Description: $description.getData()

 

Keywords: $keywords.getData()