Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8534603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:14:00+00:00 2026-06-11T10:14:00+00:00

I have the following in MODX revo 2.2: I defined 5 Template Variables which

  • 0

I have the following in MODX revo 2.2:

I defined 5 Template Variables which represent a pricing structure. One of the TV’s represents the base price and is maintained (in the manager) by the user while the others should be automatically calculated as a known percentage of the base price. So what I want is that when the user changes the base price the other 4 TV’s are automatically (re)calculated.

I tried implementing this by defining an @EVAL binding for the 4 TV’s and calling a snippet, however I was not successful with that approach. Even just a simple @EVAL return 100; would leave the TVs blank.

I also had a look at plugins to solve this and found various system events that fire when working with TV’s. This suggests that this would be a method to implement this.

Any ideas on how to deal with this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:14:01+00:00Added an answer on June 11, 2026 at 10:14 am

    Can we see some code? It sounds to me like your 4 other TV’s don’t need to be TV’s at all [unless they need to be modified on a per resource basis?] but may be better served as snippets in your template running a calculation from the one base price TV. Also – be careful with the system events, while there are quite a few there to work with, not all of them are actually implemented. [I found out the hard way] –

    Thanks Roger. I do spend a lot of time trying to find ways to NOT use TVs as they can become very expensive to process. If at anytime you look at a TV and think it will work as a snippet [or chunk or plugin] then that’s probably going to be the way to go. IMHO.

    Glad you got it worked out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following json data which I want to pass it to server using
I have following relation. A company has several employees. Each employee is defined by
I have following class which reads and writes an array of objects from/to a
have following directory structure src/com src/META-INF/MANIFEST.MF src/META-INF/spring src/META-INF/spring/context.xml now when i run the script,
I have following query: THis is my structure in some .h file typedef struct
i have following html structure. <p class=expandableContent ><span class=label>Computer and Laptop Repairs</span></p> <div style=clear:
I have following Drools rule to which I send map filled with element ,
I have following structure of an HTML document: <body> <div class=main> <div class=left></div> <div
I have following Structure in my Program. #define WIFI_DEVICE_NAME 100 #define WIFI_SERIAL_NO 13 #define
I have following Code Block Which I tried to optimize in the Optimized section

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.