Blog

bloggerInformation

Parameters

Variable Type Default Required
blogger SDKDtosBlogBlogger null true
showLabel bool true false
showName bool true false
showDescription bool true false

Example


{% import macrosCore.blog as blogMacros %}
{{ blogMacros.tagsCloud({
blogger: blogger,
showLabel: false,
}) }}

Related

macros/modes/{{coreMode}}/blog/bloggerInformation.html.twig

View Helper

FWK/ViewHelpers/Blog/Macro/BloggerInformation.php

comments

Parameters

Variable Type Default Required
comments array [] true

Example


{% import macrosCore.blog as blogMacros %}
{{- blogMacros.comments({
comments: comments.items
}) -}}

Related

macros/modes/{{coreMode}}/blog/comments.html.twig

View Helper

FWK/ViewHelpers/Blog/Macro/Comments.php

commentsForm

Parameters

Variable Type Default Required
blogSettings FWKCoreThemeDtosFormComments null true
form FWKCoreFormForm null true
showTitle FWKCoreFormForm true false

Example


{% import macrosCore.blog as blogMacros %}
{{- blogMacros.commentsForm({
form: formComment,
configuration: themeConfiguration.forms.comments
}) -}}

Related

macros/modes/{{coreMode}}/blog/commentsForm.html.twig

View Helper

FWK/ViewHelpers/Blog/Macro/CommentsForm.php

subscribeForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
showLabel bool true false
showPlaceholder bool false false
disableValidationMessages bool true false

Example


{% import macrosCore.blog as blogMacros %}
{{ blogMacros.subscribeForm({
showLabel: false,
showPlaceholder: true,
form: subscribeForm
}) }}

Related

macros/modes/{{coreMode}}/blog/subscribeForm.html.twig

View Helper

FWK/ViewHelpers/Blog/Macro/SubscribeForm.php

tagsCloud

Parameters

Variable Type Default Required
tags array [] true
showLabel bool true false

Example


{% import macrosCore.blog as blogMacros %}
{{ blogMacros.tagsCloud({
tags: tags,
showLabel: false,
}) }}

Related

macros/modes/{{coreMode}}/blog/tagsCloud.html.twig

View Helper

FWK/ViewHelpers/Blog/Macro/TagsCloud.php