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

Display Age of a row

Discussion in 'Standard Support' started by ichimonban, Oct 22, 2015.

  1. ichimonban

    ichimonban Custom Title

    Level: Community
    How do I display the age of a row instead of the create or modified on date itself.

    ie "28 days" instead of "05/21/2014" ...

    I found this php but am not clear how to implement it in the date element to get the result I need.


  2. rob

    rob Administrator Staff Member

    Level: Community
  3. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    Or, if you don't want to modify the start_date element's display, the PHP code you quoted would go in a calc element, with "Calc on save only" set to No. Replace 'table___element' with the full name of the date element you are basing the age on.

    -- hugh

Share This Page