1. Important notice about Cloudbleed - if your site uses the Cloudflare CDN, and you intend to follow the Joomla security team's advice to change your site "secret", you MUST READ THIS NOTICE.
  2. Fabrik 3.6 Released Remember to backup and test your backup before proceeding with this update. Please report any problems you might experience with this new version here on the forum. You are safe to upgrade to Joomla! 3.7 and PHP 7.x with this version of Fabrik. View the blog for more details on this release.

Fabrik Calc Plugin - Store value in DB?

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

  1. nbradshaw

    nbradshaw Member

    Level: Professional
    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

    cheesegrits Support Gopher Staff Member

    Level: Supporter
    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