Footer Group¶
Use footer_group
to render a specific group of footer links
Configuration parameters¶
groupId¶
number
defines the id of the footer group to render
Module source code¶
{% from "@macros/footer_group.twig" import footer_group %}
{% if moduleConfig.groupId > 0 %}
{% set group = ObjectApi.getFooterGroup(moduleConfig.groupId) %}
{{ footer_group(group) }}
{% endif %}
Macros reference¶
Used Object Api methods¶
Module configuration schema¶
[
{
"state": "unfolded",
"label": "General settings",
"elements": [
{
"type": "infobox",
"name": "infobox",
"options": {
"type": "blank",
"message": "#### Related settings in the admin panel%s- [link settings in the footer](%s): adding and renaming groups and changing the position of links",
"placeholderValues": [
"\n",
"\/admin\/configSkins\/links"
]
}
},
{
"type": "footerGroupSelector",
"name": "groupId",
"label": "Displayed group of links"
}
]
}
]