12 'base_url' => sprintf(
13 '<div><p>%s</p><p>%s</p></div>',
14 'Enter the base URL that brings shoppers to your store (Ex. http://example.com/).',
15 'Leave empty for automatic detection (not recommended for production environment).' 17 'encrypt_key' => sprintf(
19 'Key to encrypt sensitive data such as passwords and personally identifiable customer information in the Magento database. The encryption key is stored in [your Magento install dir]/app/etc/env.php' 23 'A unique URL helps keep your store and customers safer. Use only letters, numbers, and underscore characters.' 28 <div
class=
"page-web-configuration">
30 <div
class=
"nav-bar-outer-actions">
31 <div
class=
"outer-actions-inner-wrap">
32 <div
class=
"btn-wrap btn-wrap-triangle-right btn-wrap-next">
33 <button type=
"button" class=
"btn btn-prime" ng-click=
"validateUrl()" dis>Next</button>
35 <div
class=
"btn-wrap btn-wrap-triangle-left btn-wrap-prev">
36 <button type=
"button" class=
"btn" ng-click=
"previousState()">Back</button>
41 <h2
class=
"page-sub-title">{{$state.current.header}}</h2>
44 class=
"message message-error" 45 ng-show=
"validateUrl.failed !== undefined" 47 <span
class=
"message-text">{{validateUrl.failed}}</span>
56 <fieldset
class=
"form-fieldset">
60 ng-
class=
"{'has-error': webconfig.base_url.$invalid && webconfig.submitted}" 63 <label
class=
"form-label" for=
"baseUrl">
73 ng-model=
"config.address.base_url" 74 ng-
class=
"{'invalid': webconfig.base_url.$invalid && webconfig.submitted}" 75 ng-init=
"config.address.auto_base_url = '<?= $this->autoBaseUrl ?>'; fillBaseURL();" 77 ng-change=
"populateHttps()" 78 ng-pattern=
"/^(https?:\/\/).*$/" 79 tooltip-placement=
"right" 80 tooltip-html-unsafe=
"<?= $hints['base_url'] ?>" 81 tooltip-trigger=
"focus" 82 tooltip-append-to-body=
"true" 84 <div
class=
"error-container">
85 <span ng-show=
"!webconfig.base_url.valid 86 || webconfig.base_url.$error.required 87 || webconfig.base_url.$error.url" 89 Please enter a valid base URL path. (ex: http:
97 ng-
class=
"{'has-error': webconfig.admin.$invalid && webconfig.submitted}" 100 <label
class=
"form-label required" for=
"admin">
104 <div
class=
"col-m-4">
105 <div
class=
"form-el-insider-wrap">
106 <div
class=
"form-el-insider">
107 {{config.address.actual_base_url}}
109 <div
class=
"form-el-insider-input">
112 class=
"form-el-input" 115 ng-pattern=
"/^[a-zA-Z0-9_]+$/" 116 ng-model=
"config.address.admin" 117 ng-
class=
"{'invalid' : webconfig.admin.$invalid && webconfig.submitted }" 118 ng-init=
"config.address.admin = '<?= $this->autoAdminPath ?>';" 120 tooltip-placement=
"right" 121 tooltip-html-unsafe=
"<?= $hints['admin'] ?>" 122 tooltip-trigger=
"focus" 123 tooltip-append-to-body=
"true" 125 <div
class=
"error-container">
126 <span ng-show=
"webconfig.admin.$error">
127 Please enter a valid admin URL path. Use only letters, numbers, and underscore characters.
137 <fieldset
class=
"form-fieldset">
140 class=
"form-legend-expand" 141 ng-click=
"updateOnExpand(config.advanced)" 142 ng-
class=
"{'expanded' : config.advanced.expanded}" 147 <div ng-show=
"config.advanced.expanded">
149 <div
class=
"row form-row">
150 <div
class=
"col-m-3">
151 <label
class=
"form-label">
155 <div
class=
"col-m-4">
156 <div
class=
"form-row">
159 class=
"form-el-checkbox" 161 ng-model=
"config.https.front" 162 ng-checked=
"config.https.front" 164 <label
class=
"form-label" for=
"httpsFront">
165 Use HTTPS
for Magento Storefront
168 <div
class=
"form-row">
171 class=
"form-el-checkbox" 173 ng-model=
"config.https.admin" 174 ng-checked=
"config.https.admin" 176 <label
class=
"form-label" for=
"httpsAdmin">
183 <div
class=
"row form-row" ng-show=
"showHttpsField()">
184 <div
class=
"col-m-3">
186 ng-show=
"config.https.front || config.https.admin" 190 Your HTTPS Store address:
193 <div
class=
"col-m-4">
196 class=
"form-el-input" 199 ng-model=
"config.https.text" 200 ng-
class=
"{'invalid': webconfig.https.$invalid && webconfig.submitted}" 201 ng-
if=
"config.https.front || config.https.admin" 203 ng-pattern=
"/^(https?:\/\/).*$/" 206 <div
class=
"error-container">
207 <span ng-show=
"!webconfig.https.$error.valid 208 || webconfig.https.$error.required 209 || webconfig.https.$error.url" 211 Please enter a valid HTTPS base URL path. (ex: https:
217 <div
class=
"row form-row">
218 <div
class=
"col-m-3">
219 <label
class=
"form-label">
223 <div
class=
"col-m-4">
226 class=
"form-el-checkbox" 228 ng-model=
"config.rewrites.allowed" 230 <label
class=
"form-label" for=
"apacheRewrites">
231 Use Apache Web Server Rewrites
236 <div
class=
"row form-row">
237 <div
class=
"col-m-3">
238 <label
class=
"form-label required">
242 <div
class=
"col-m-4">
244 <div
class=
"form-row">
247 class=
"form-el-radio" 249 ng-model=
"config.encrypt.type" 252 <label
class=
"form-label" for=
"encryptionKey">
253 I want to use a
Magento generated key
257 <div
class=
"form-row">
260 class=
"form-el-radio" 262 ng-model=
"config.encrypt.type" 265 <label
class=
"form-label" for=
"encryptionType">
266 I want to use my own encryption key
272 ng-
class=
"{'has-error': webconfig.key.$invalid && webconfig.submitted}" 273 ng-
if=
"showEncryptKey()" 276 class=
"form-el-input" 279 ng-model=
"config.encrypt.key" 280 ng-
class=
"{'invalid': webconfig.key.$invalid && webconfig.submitted}" 281 tooltip-placement=
"right" 282 tooltip-html-unsafe=
"<?= $hints['encrypt_key'] ?>" 283 tooltip-trigger=
"focus" 284 tooltip-append-to-body=
"true" 288 <div
class=
"error-container">
289 <span ng-show=
"webconfig.key.$error.required">
290 You must enter an encryption key.
292 <span ng-show=
"webconfig.key.$error.minlength">
293 Your encryption key must be longer and stronger.
301 <div
class=
"row form-row">
302 <div
class=
"col-m-3">
303 <label
class=
"form-label required">
307 <div
class=
"col-m-4">
310 class=
"form-el-select" 311 ng-model=
"config.sessionSave.type" 312 ng-
class=
"{'invalid': webconfig.session.$invalid && webconfig.submitted}" 313 tooltip-placement=
"right" 314 tooltip-html-unsafe=
"The location of session. You can change this later in Magento Admin." 315 tooltip-trigger=
"focus" 316 tooltip-append-to-body=
"true" 318 <?php
foreach ($this->sessionSave as
$value):?>
319 <?=
"<option value=\"" .
$value .
"\">" . ucfirst(
$value) .
"</option>" ?>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
jquery extjs ext tree mage adminhtml form