Templating library tags and their migration status to Magnolia CMS 4.5.
Taglib-cms table
Tag name | Working Status (in Compatibility Module) | Migration Status (for Magnolia 4.5.4) | Replacement Functionality/Comment |
---|---|---|---|
AdminOnly | Will not be migrated. | Use | |
Attribute |
| Will not be migrated. | Use contextAttributes parameter of cms of @cms.Component or @cms.Area instead. |
ButtonTag | Will not be migrated. | Currently there is no replacement for this function. In order to add custom buttons to the bars it is necessary to extend the | |
ContentNodeIterator | Will not be migrated. | Use [#list components as component ] [@cms.component content=component /] [/#list] instead. | |
EditBar | Will not be migrated. | Edit bar is rendered automatically for each component. Use | |
EditButton | will be supported |
| |
IfEmpty | Will not be migrated. | Use | |
IfExisting | Will not be migrated. | Use | |
IfFirstContentNode |
| Will not be migrated. | Use |
IfLastContentNode |
| Will not be migrated. | Use |
IfNotEmpty | Will not be migrated. | Use | |
IfNotExisting | Will not be migrated. | Use | |
IncludeTemplate | Will not be migrated. | use | |
LinkTag |
| Will not be migrated. | Use |
LoadPage |
| Will not be migrated. | Currently there is no replacement for this functionality. |
LoadPagePath |
| Will not be migrated. | Currently there is no replacement for this functionality. |
MainBar | Will not be migrated. | Main bar is rendered automatically. | |
NewBar | Will not be migrated. | Use | |
Out | Will not be migrated. | Page content is exposed as a content map so you can output all properties of page or component using | |
PageIterator |
| Will not be migrated. | Use |
PublicOnly | Will not be migrated. | Use | |
Query | Will not be migrated. | Added to templating functions, [#assign results = cmsfn.search("website" "select * from [mgnl:page] where title like '%News%'" "JCR-SQL2" "mgnl:page") /] [#list results as result] ${result!} [/#list] | |
Resource | Deprecated | Will not be migrated. | No replacement. |
Set | Will not be migrated. | Using Resources util class deprecated since 4.0. No replacement. | |
SetNode |
| Will not be migrated. | Use |
UnloadPage |
| Will not be migrated. | Currently there is no replacement for this functionality. |
UserTag | Will not be migrated. | Use |
Taglibs-util table
Tag name | Working Status (in Compatibility Module) | Migration Status (for Magnolia 4.5.4) | Replacement Functionality/Comment |
---|---|---|---|
AHref | Will not be migrated. | Use | |
BreadCrumb | will be migrated | fix issue: do not depend on Resource class | |
ConvertNewLine | will be migrated |
| |
Date | Deprecated | Will not be migrated. | This tag was deprecated in prior version already. Use Java or FM functions to convert dates. |
FileSrc | Deprecated | Will not be migrated. | This tag was deprecated in prior version already. File attributes such as name and path can be accessed directly from content map. |
ImgTag |
| Will not be migrated. | Use |
PoweredBy | will be migrated |
| |
Redirect | Will not be migrated. | Use redirect template, virtual URI mapping instead | |
ScaleImage | will be migrated |
| |
SearchResultSnippets | will be migrated |
| |
SimpleMail | Will not be migrated. | This tag was deprecated in prior version already. Use | |
SimpleNavigation | will be migrated |
| |
SimpleSearch | will be migrated | Added to templating functions, [#assign results = cmsfn.simpleSearch("website", "word1,word2...", "mgnl:page", "/path") /] [#list results as result] ${result!} [/#list] | |
Str2Obj | will not be migrated | Use JSP or FM functionality to split | |
TableTag | will not be migrated | Tag provided very limited functionality to construct tables. Use external tag libraries to construct tables or directly inlined script/macros instead. | |
Text2Image | will be migrated |
| |
Xmp | will not be migrated | The only functionality provided by this tag - escaping of html can be achieved better with built-in functions in JSP and FM. |
3 Comments
Boris Kraft
I thought there won't be a compatibility module? Insights on its status should be listed on this page.
Pascal Mangold
thought the same!
Tomas Brimor
AdminOnly
Will not be migrated.
Use
cmsfn.isAuthorInstance
instead.This is an incorrect replacement?
The AdminOnly tag tested both author instance and for non-preview mode. isAuthorInstance only checks if its on the author instance. Replacement should be info.magnolia.templating.functions.TemplatingFunctions#isEditMode which tests for both author instance and non-preview mode?