Dynamic fields not propagating

More
8 months 3 weeks ago #109 by sarahhayesuk
Hi,
I have PDF Generator Pro. I'm trying to configure it so that you can download a PDF of the article in specific categories.
  • I've created the PDF template
  • I've created a File where I have given it a title and selected the template, but I've left the Article/Item blank
  • I've created an Automation selecting the article category and template, and set "(Re)generate File" to yes.

When I click the download button, the pdf displays

title
introtext
fulltext
image_fulltext

Rather than the content of the article fields.

What am I doing wrong?

Thank you
Sarah

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #110 by yberges
hello
You need to understand the file concept : an joomla item can generate many files in order to create many pdf with different template that why :
- when you create a file "manualy" you need to link file to a joomla content that necessary (in edit file select an item in article/item)

-> i add a schedull task to generate all files in your "latest category" at once (in manual mode) => that create a file for each item
-> in your template you can add field via a specific block :  open dynamic accodion, put field block and ddouble click on it

Regards
 

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago - 8 months 3 weeks ago #111 by sarahhayesuk
Thank you.

I have an automation set up to regenerate the PDF on "After Saving" and "Create or Update File", but when I make a change and save the article, the PDF doesn't update.

When editing the article, I click the PDF Generator button and receive the following message "PDF Generator - Automation "Latest News" executed successfully", but the PDF doesn't update.

Going to Files > Regenerate PDF doesn't update the PDF either.

What am I doing wrong?

As I explained in my email, the people creating and editing the articles won't have access to the PDF Generator component, so we need to regenerate the PDF automatically.

**** UPDATE ****
I went back to the site and the PDF has now updated. Is there a time delay in it being generated, or caching? This site doesn't have caching enabled.
Last edit: 8 months 3 weeks ago by sarahhayesuk. Reason: UPDATE

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #112 by sarahhayesuk
When I edit and save the article, the PDF doesn't appear to be updated. Downloading the PDF is previewed in the browser (Firefox, Chrome & Safari). If I reload the PDF in the browser, it updates, and subsequent changes appear to regenerate the PDF instantly, but if you don't reload the PDF initially, the PDFs don't appear to be regenerated, or the latest version isn't downloaded. Reloading once, results in subsequent versions updating.

This is consistent behaviour across browsers.

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #113 by yberges
Hello i think a conflict between serveur cache and browser cache its not a component behavior.
The process to regenerate pdf is only on save item or on schedull task.
Maybe send me a complet explain with links for testing
Regards

Please Log in or Create an account to join the conversation.