The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Problem on SUM printing in a F View
I use the DK PDF to print a View
I add some css in the plugin and i can say that we have a good result
The problem is that, when i add the SUM_XXX in the "Before Content"
I can see the total of the XXX field, but i cannot print it.
It don t come in pdf ???
Can someone imagine what kind of issue is this???
October 22, 2018 at 10:22 am
Hi Chris,
We also use the DK PDF plugin and the sum_xxx shortcode in the same view and it works fine.
We have the sum_xxx field in After Content section of the view and the [dkpdf-button] shortcode just under it and that all seems to work fine.
Have you got anything else in your view (like the [dkpdf-remove] shortcode) that may be causing issues?
Thanks
Chris
October 22, 2018 at 1:22 pm
When I put the sum_xxx in after content section is not working
I get Sum_xxx instead a number (as you can see in the picture)
I put the [dkpdf-button] in the page where i have put the shortcode of the view
I don't put the [dkpdf-button] in the view
Attachment:

October 22, 2018 at 1:29 pm
The sum_xxx shortcode won't work in the after content section unless you update the code in the snippet but that's not an issue.
But the [dkpdf-button] shortcode should load in the after content section.
Do other shortcodes work if you put them in the before or after content section?
October 22, 2018 at 1:48 pm
Dear Ronoi
I update the code in the (function.php) file
and yes everything works fine
thank you very much for your help
Discussion closed.