Page
contactForm
Parametros
Variable | Tipo | Por defecto | Requerido |
form | FWKCoreFormForm | null | true |
Ejemplo
{% import macrosCore.page as pageMacros %}
{{ pageMacros.contactForm({
form: formProductContact
}) }}
Relacionados
macros/modes/{{coreMode}}/page/contactForm.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/ContactForm.php
newsletterForm
Parametros
Variable | Tipo | Por defecto | Requerido |
form | Form | null | true |
Ejemplo
{% import macrosCore.page as pageMacros %}
{{ pageMacros.contactForm({
form: form
}) }}
Relacionados
macros/modes/{{coreMode}}/page/newsletterForm.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/NewsletterForm.php
pageContent
Parametros
Variable | Tipo | Por defecto | Requerido |
page | Page | null | true |
data | array | [] | false |
Valores disponibles | |||
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 |
Ejemplo
{% import macrosCore.page as pageMacros %}
{{ pageMacros.pageContent({
page: page
data: arrData
}) }}
Relacionados
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
Parametros
Variable | Tipo | Por defecto | Requerido |
subpages | array | [] | true |
Ejemplo
{% import macrosCore.page as pageMacros %}
{{ pageMacros.subpages({
subpages: arrSubpages
}) }}
Relacionados
macros/modes/{{coreMode}}/page/subpages.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/Subpages.php
sendMailForm
Parametros
Variable | Tipo | Por defecto | Requerido |
form | FWKCoreFormForm | null | true |
Ejemplo
{% import macrosCore.page as pageMacros %}
{{ pageMacros.sendMailForm({
form: formProductContact
}) }}
Relacionados
macros/modes/{{coreMode}}/page/sendMailForm.html.twig
View Helper
FWK/ViewHelpers/Page/Macro/sendMailForm.php