Custom pdf template

jlee

Member
Hello,

i would like to create a custom pdf template in order to print the elements in fixed positions.
I successfully did it in the previous versions of Fabrik. But now i need some help!

I only had to change the defauld_group.php in order to call groups and elements.

But in the latest version of Fabrik this has changed.

Is there any tutorial on how to create custom pdf templates?
I will try to play with default.php file but any advice would be very helpful!

Thanks in advance!
 
Hello again! I found a solution.
This post has the solution:
http://fabrikar.com/forums/index.ph...layout-group-layout-solved.40201/#post-202689

In components/com_fabrik/views/details/tmpl and i duplicated a template.
I have edited the default.php file.
After the:

Code:
echo $this->loadTemplate('buttons');
echo $this->loadTemplate('relateddata');

I called the group elements with this:
Code:
$group_name = $this->groups['PUT_GROUP_NAME_HERE'];
$elements = $group_name->elements;

and i called the element explicitly like this:
Code:
<?php    echo $elements ['lastname']->element;    ?>

The Fabrik community is the best in the world!
Thanks
 
so, can I accomplish the following?

I have a questionnaire (scan) with 4 sections and in each section 4 - 5 questions.
I have made the sections Groups in Fabrik so a List (form) has multiple Groups.
When you view the form it is all displaying great with all the sections (Groups).
However, when I try to create the Visualizations I can't seem to have it show the graphs / charts for each of the sections in one view on the site.

I want the user who completed the form to see the result of their scan (questionnaire) after they submitted it, including the visualizations of each section. (also see my post here: http://fabrikar.com/forums/index.php?threads/visualization-and-rapporting.45191/)

any ideas?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top