Different footer depending on the data shown
Hello,
I'm facing a problem to show the footer depending on the data shown in the body.
For example, I've a query that returns the information of people and for each person the data of each one is shown.
I want to show a footer, to be visible on each page, but I want it to be different for each person (a different text and image depending on the person).
I've done a test and I've an error saying that the element of the footer can't reference data of the query.
Is there a way to achieve this? Or the footer has to be the same for each page?