cyber-elx 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DEV_DOC/ThemeDev.md +6 -0
- package/package.json +1 -1
- package/src/index.js +4 -2
package/DEV_DOC/ThemeDev.md
CHANGED
|
@@ -476,6 +476,12 @@ Note: Available in All pages, and configurable from the website administration,
|
|
|
476
476
|
- Page template key:
|
|
477
477
|
+ Name: `template`
|
|
478
478
|
+ Value: key that includes the string `contact_page`
|
|
479
|
+
- To Post contact info, you should send a `POST /p/contact-post-message` request with:
|
|
480
|
+
+ `name`
|
|
481
|
+
+ `email`
|
|
482
|
+
+ `subject`
|
|
483
|
+
+ `message`
|
|
484
|
+
+ It accepts dynamic fields (Add as many as you want, like `phone`, `address`, etc.)
|
|
479
485
|
|
|
480
486
|
**About Page Available vairables:**
|
|
481
487
|
- Page template key:
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -12,8 +12,10 @@ const { compileComponentTemplates, componentObjectToJsCode, parseComponentJsCode
|
|
|
12
12
|
|
|
13
13
|
program
|
|
14
14
|
.name('cyber-elx')
|
|
15
|
-
.description('CLI tool to upload/download ELX custom pages')
|
|
16
|
-
|
|
15
|
+
.description('CLI tool to upload/download ELX custom pages');
|
|
16
|
+
|
|
17
|
+
program
|
|
18
|
+
.version(packageJson.version, '-v, --version', 'Output the version number');
|
|
17
19
|
|
|
18
20
|
program
|
|
19
21
|
.command('init')
|