Page
contactForm
Parameters
Variable | Type | Default | Required |
form | FWKCoreFormForm | null | true |
Example
{% import macrosCore.page as pageMacros %}
{{ pageMacros.contactForm({
form: formProductContact
}) }}
Related
macros/modes/{{coreMode}}/page/contactForm.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/ContactForm.php
newsletterForm
Parameters
Variable | Type | Default | Required |
form | Form | null | true |
Example
{% import macrosCore.page as pageMacros %}
{{ pageMacros.contactForm({
form: form
}) }}
Related
macros/modes/{{coreMode}}/page/newsletterForm.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/NewsletterForm.php
pageContent
Parameters
Variable | Type | Default | Required |
page | Page | null | true |
data | array | [] | false |
Available values | |||
SDK/Enums/PageType::SITEMAP SDK/Enums/PageType::PRIVACY_POLICY SDK/Enums/PageType::TERMS_OF_USE(legalCheck) SDK/Enums/PageType::SUBPAGES SDK/Enums/PageType::NEWSLETTER SDK/Enums/PageType::CONTACT |
Example
{% import macrosCore.page as pageMacros %}
{{ pageMacros.pageContent({
page: page
data: arrData
}) }}
Related
macros/modes/{{coreMode}}/page/contactForm.html.twig
macros/modes/{{coreMode}}/page/newsletterForm.html.twig
macros/modes/{{coreMode}}/page/subpages.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/PageContent.php
subpages
Parameters
Variable | Type | Default | Required |
subpages | array | [] | true |
Example
{% import macrosCore.page as pageMacros %}
{{ pageMacros.subpages({
subpages: arrSubpages
}) }}
Related
macros/modes/{{coreMode}}/page/subpages.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/Subpages.php
sendMailForm
Parameters
Variable | Type | Default | Required |
form | FWKCoreFormForm | null | true |
Example
{% import macrosCore.page as pageMacros %}
{{ pageMacros.sendMailForm({
form: formProductContact
}) }}
Related
macros/modes/{{coreMode}}/page/sendMailForm.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/sendMailForm.php