1. Hugh (cheesegrits) here. Thank you for all the good wishes. My back surgery was a success, post-op recovery is going well, and I'm getting stronger and feeling better every day. I hope to be getting back in the saddle and working support again over the next few days.
  2. IMPORTANT NOTE - we have made some changes in our github branch naming. The 'master' branch no longer exists, and is now called 'joomla25' (which is Fabrik 3.0). The 'joomla3' branch (which is Fabrik 3.2) remains unchanged. We have also removed all the other testing branches which had accuulated over the last few years. I have posted a thread in the Community forum for 3.0 with some more information, feel free to as questions there.

Fabrik Calc Plugin - Store value in DB?

Discussion in 'Plugins' started by nbradshaw, Jun 4, 2009.

  1. nbradshaw Member

    Level: Standard
    I am using the Fabrik Calc plugin to calculate two other elements:

    $totalucount = ({DC_Inventory_Tool_Main___HighRU} - {DC_Inventory_Tool_Main___LowRU} + 1); return $totalucount;

    This works great - however - I would really like it to store the value in the DB, so that I can do my own reporting on these values.

    Is there another way to accomplish this?

    Also - I enabled the SUM for this element (fabrik calc) and it is not calculating (only showing "SUM: ") - possibly because the values are not in the db as well?

    Many thanks!
  2. cheesegrits Support Gopher

    Level: Community
    I'll have a look.

    It *should* store the result of the calc regardless of 'only calc on save' setting, when the form is saved.

    What version of Fabrik are you running? You sig says 2.0.3b, which was about a thousand SVN revisions ago ...

    -- hugh

Share This Page