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

Create Letter in PDF (or ODF) from data entered in the table

Discussion in 'Community' started by enrb, May 16, 2019.

  1. enrb

    enrb New Member

    Level: Community
    Hello,
    I created a form in fabrik to insert various data regarding the customer master data,
    now I need to create, starting from these data, letters to send to customers ...
    For example:


    Dear Customer
    (Record_Name) (Record_Surname)
    (Record_Address)
    ....
    etc.


    Is it possible to do this with fabrik? or even with another component ...
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
  3. enrb

    enrb New Member

    Level: Community
    I want to create a pdf and then print it ...

    the pdf I want to create must be specially formatted,

    How can I create a template that prints only a few records from a table?

    I can't find anything ...

    If anyone can help me
     
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    "Specially formatted": create a custom template (details or list, depending on what you want to do)
    "Few records from a table":
    Create a custom list template (use the div template as starting point), select this template in list PDF settings.
    Filter your list and click PDF

    Edit:
    2nd possibility:
    Create a custom details template, select it in form PDF settings.
    Add the "download" plugin to your list, enable "download PDFs"
    Then you can select several records, click the Download icon in your list header, this will give you a zip with PDFs
     
    Last edited: May 16, 2019
  5. enrb

    enrb New Member

    Level: Community
    I'm trying to make a custom fabrik template (PDF), how do I go about having a single record in the master table for example?


    I tried this:


    <? php echo $ element = $ this-> groups ['registry'] -> elements ['client_name']; ?>




    but unfortunately it gives me an error, most likely I'm wrong ...
     

Share This Page