Blog
bloggerInformation
Parametros
Variable | Tipo | Por defecto | Requerido |
blogger | SDKDtosBlogBlogger | null | true |
showLabel | bool | true | false |
showName | bool | true | false |
showDescription | bool | true | false |
Ejemplo
{% import macrosCore.blog as blogMacros %}
{{ blogMacros.tagsCloud({
blogger: blogger,
showLabel: false,
}) }}
Relacionados
macros/modes/{{coreMode}}/blog/bloggerInformation.html.twig
View Helper
FWK/ViewHelpers/Blog/Macro/BloggerInformation.php
comments
Parametros
Variable | Tipo | Por defecto | Requerido |
comments | array | [] | true |
Ejemplo
{% import macrosCore.blog as blogMacros %}
{{- blogMacros.comments({
comments: comments.items
}) -}}
Relacionados
macros/modes/{{coreMode}}/blog/comments.html.twig
View Helper
FWK/ViewHelpers/Blog/Macro/Comments.php
commentsForm
Parametros
Variable | Tipo | Por defecto | Requerido |
blogSettings | FWKCoreThemeDtosFormComments | null | true |
form | FWKCoreFormForm | null | true |
showTitle | FWKCoreFormForm | true | false |
Ejemplo
{% import macrosCore.blog as blogMacros %}
{{- blogMacros.commentsForm({
form: formComment,
configuration: themeConfiguration.forms.comments
}) -}}
Relacionados
macros/modes/{{coreMode}}/blog/commentsForm.html.twig
View Helper
FWK/ViewHelpers/Blog/Macro/CommentsForm.php
subscribeForm
Parametros
Variable | Tipo | Por defecto | Requerido |
form | FWKCoreFormForm | null | true |
showLabel | bool | true | false |
showPlaceholder | bool | false | false |
disableValidationMessages | bool | true | false |
Ejemplo
{% import macrosCore.blog as blogMacros %}
{{ blogMacros.subscribeForm({
showLabel: false,
showPlaceholder: true,
form: subscribeForm
}) }}
Relacionados
macros/modes/{{coreMode}}/blog/subscribeForm.html.twig
View Helper
FWK/ViewHelpers/Blog/Macro/SubscribeForm.php
tagsCloud
Parametros
Variable | Tipo | Por defecto | Requerido |
tags | array | [] | true |
showLabel | bool | true | false |
Ejemplo
{% import macrosCore.blog as blogMacros %}
{{ blogMacros.tagsCloud({
tags: tags,
showLabel: false,
}) }}
Relacionados
macros/modes/{{coreMode}}/blog/tagsCloud.html.twig
View Helper
FWK/ViewHelpers/Blog/Macro/TagsCloud.php