Skip to main content

Layout: Cost Calculator Results

ContentCost CardCalculator LandscapeResults


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


ContentCost cardcalculator landscaperesults layout is availableintended to usebe used on a resource that the Cost Calculator Field points to. The results from the form submission appear within a nestedthis layout. You can add content such as rich text, tooltip, lists and images within the content card.

content-card-landscape.pngcost-calculator-results.png

 

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

content-card-settings.pngcost-calculator-result-setting.png

figure 2

Settings

Setting Description Default
HeadingForm Resource ID TitleThe headingreturning forURL the contentuser cardgoes to this page without submitting the form. This should be the ID of the resource where the form sits on the context.  
RightAdmin HeadingTooltip SupportingTooltip rightcontent headingfor "showing" admin calculations  
SVGAdmin Icon SVG icon selector. Icon appearsthat nextdisplays tobeside headingthe whenadmin selected.title block in the results. none

 

 

SVGStorage Icon ColourTooltip ColourTooltip ofcontent thefor SVG"showing" storage calculations
  Storage Icon BlueIcon Lightthat 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:

 

 

 

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:

content-card-example.pngcost-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