Layout: Cost Calculator Results

Cost Calculator Results


Category: Waterlogic Layouts.
Content Blocks Documentation: https://docs.modmore.com/en/ContentBlocks/v1.x/Layouts.html


Cost calculator results layout is intended to be used on a resource that the Cost Calculator Field points to. The results from the form submission appear within this layout.

cost-calculator-results.png

figure 1

Settings are available by hovering over the field and clicking the cog in the top right

cost-calculator-result-setting.png

figure 2

Settings

Setting Description Default
Form Resource ID The returning URL the user goes to this page without submitting the form. This should be the ID of the resource where the form sits on the context.  
Admin Tooltip Tooltip content for "showing" admin calculations  
Admin Icon Icon that displays beside the admin title block in the results.

 

 

Storage Tooltip Tooltip content for "showing" storage calculations  
Storage Icon Icon that displays beside the storage title block in the results.  
Security Tooltip Tooltip content for "showing" security calculations  
Security Icon Icon that displays beside the security title block in the results.  
Productivity Tooltip Tooltip content for "showing" productivity calculations  
Productivity Icon Icon that displays beside the productivity title block in the results.  

 

Example Output:

cost-calculator-example1.png

 

Global Settings for the calculator (context based and lexicons)

This is a preconfigured form and uses settings and variables in:

Website Settings (found on the Modx dashboard, see figure 3)

website-settings.png

figure 3

Under website settings go to Cost Calculator:

cost-calcultor-config.png

figure 4

To manage settings for other contexts, select context under the Choose Context dropdown. (seen in image above).

Lexicons 

Tooltips, placeholders and general content for this form and the results fully use lexicons. To access lexicons go to the "cog" icon at the top right of the Modx dashboard and select Lexicons.

lexicons.png

figure 5

To find lexicon values for cost calculator, select Waterlogic -> cost_calculator -> en (namespace -> topic -> language) where "en" is the language to are going to edit.

lexicons-namespace-topic.png

figure 6

 

 

 

 

 

 

 


Revision #3
Created Fri, Dec 18, 2020 3:47 PM by Jamie Haines
Updated Mon, Dec 21, 2020 10:58 AM by Jamie Haines