Dynamic fields not propagating

Plus d'informations
il y a 8 mois 3 semaines #109 par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 mois 3 semaines #110 par yberges
Réponse de yberges sur le sujet Dynamic fields not propagating
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
 

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 mois 3 semaines - il y a 8 mois 3 semaines #111 par sarahhayesuk
Réponse de sarahhayesuk sur le sujet Dynamic fields not propagating
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.
Dernière édition: il y a 8 mois 3 semaines par sarahhayesuk. Raison: UPDATE

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 mois 3 semaines #112 par sarahhayesuk
Réponse de sarahhayesuk sur le sujet Dynamic fields not propagating
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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 mois 3 semaines #113 par yberges
Réponse de yberges sur le sujet Dynamic fields not propagating
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

Connexion ou Créer un compte pour participer à la conversation.