Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-newsletter
view
frontend
templates
subscribe.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
11
?>
12
<div
class
=
"block newsletter"
>
13
<div
class
=
"title"
><strong><?=
$block
->escapeHtml(
__
(
'Newsletter'
)) ?></strong></div>
14
<div
class
=
"content"
>
15
<
form
class
=
"form subscribe"
16
novalidate
17
action=
"<?= $block->escapeUrl($block->getFormActionUrl()) ?>"
18
method=
"post"
19
data-
mage
-init=
'{"validation": {"errorClass": "mage-error"}}'
20
id
=
"newsletter-validate-detail"
>
21
<div
class
=
"field newsletter"
>
22
<label
class
=
"label"
for
=
"newsletter"
><span><?=
$block
->escapeHtml(
__
(
'Sign Up for Our Newsletter:'
)) ?></span></label>
23
<div
class
=
"control"
>
24
<input
name
=
"email"
type=
"email"
id
=
"newsletter"
25
placeholder=
"<?= $block->escapeHtml(__('Enter your email address')) ?>"
26
data-
mage
-init=
'{"mage/trim-input":{}}'
27
data-validate=
"{required:true, 'validate-email':true}"
/>
28
</div>
29
</div>
30
<div
class
=
"actions"
>
31
<button
class
=
"action subscribe primary"
title=
"<?= $block->escapeHtmlAttr(__('Subscribe')) ?>"
type=
"submit"
>
32
<span><?=
$block
->escapeHtml(
__
(
'Subscribe'
)) ?></span>
33
</button>
34
</div>
35
</
form
>
36
</div>
37
</div>
mage
if( $form)() ?>< script > require(['jquery' mage mage
Definition:
save.phtml:15
__
__()
Definition:
__.php:13
form
jquery extjs ext tree mage adminhtml form
Definition:
tree.phtml:41
$block
$block
Definition:
block.php:8
name