1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

is possible show when you export -- total records

Discussion in 'Community' started by javier94, Jul 13, 2019.

  1. javier94

    javier94 Member

    Level: Community
    i would like when i make a export show the "total Records" for this list..

    i can see that i can activate in data/navigation --> to see in list view

    whats-17.PNG
    how can activate in export archive or in .pdf options ?

    pdf --- view -- i would need in pdf and excel view

    whats-18.PNG

    Thanks in advance!

    Javier
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    For CSV export:
    I think you can enable the "Count" calculation for one of your elements and export with "Include calculations"=Yes
    http://fabrikar.com/forums/index.php?wiki/elements/#count

    PDF:
    Output the total in your custom PDF template in default.php with
    $this->navigation->total
     
  3. javier94

    javier94 Member

    Level: Community
    Yes.. works.. i have do the following.

    for CSV..

    1.- in one element --> i have activated.... in list view settings / calculations --> "count" to "yes" --> and "count access" to registered
    2.- in list --> Publishing/ CSV --> i have activate "include calculations" to yes..

    My doubt is. why if only.. "count" is activated in element calculations.. in CSV exports archive also appears other calculations as -- sums, Avgs, medians -- but is ok.. for me -- as i have to clean the csv.. it works

    For PDF:

    you have to make the same than for CSV archive
    and in :
    i have check in components/com_fabrik /pdf

    but not exists -> " default.php" archive .. only a pdf.php..
    i thought that would be the same
    i added to the end of archive
    $this->navigation->total
    and is working..

    Many thanks!
    javier
     
    Last edited: Jul 15, 2019
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    Not components/com_fabrik /pdf (these are core files, don't touch).
    Create a custom list template for your PDF.
     
  5. javier94

    javier94 Member

    Level: Community

Share This Page