1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice
  2. If you update to Joomla 3.9.16, you will have to update Fabrik from the latest GitHub version, to fix a bug introduced in Joomla, which makes it impossible to list front end folder locations in backend JForms. This affects things like template selection.
    Dismiss Notice

Is it possible to show a result of a query in a heading or article?

Discussion in 'Standard Support' started by uktran, Dec 10, 2015.

  1. uktran

    uktran Member

    Level: Community
    Is it possible to show a result of a query in a heading or article? For instance, if I want to write a sentence either at the top of a list, or in an article, something like:

    the total sales for blue jumpers is 26 and the total sales for red jumpers is 65.

    the total sales for blue jumpers is {select sum(blue) from jumper_sales} and the total sales for red jumpers is {select sum(red) from jumper_sales}
     
  2. rackem

    rackem Well-Known Member

    Level: Community
  3. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    Yes, that would have been my suggestion, and is how I include any custom code I need in intro text or articles.

    -- hugh
     

Share This Page