Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

SQL-Statements im Header/Footer in PDF-Templates

More
10 months 14 hours ago - 9 months 4 weeks ago #9490 by MaliRaj
SQL-Statements im Header/Footer in PDF-Templates, die im Dokument funktionieren, führen bei mir zu einem Fehler
Code:
<p id="sum" class="sql">Teilnehmer gesamt: ${sum:teilnehmer} / Gesamtsumme: ${sum:sum}</p> array_column(): Argument #1 ($array) must be of type array, null given

Kann ich keine SQL-Statements im Header/Footer nutzen oder ist meine Syntax falsch? Ich möchte gerne für die PDF-Listenansicht SQL-Platzhalter im Header nutzen, die oben auf jeder Seite platziert sind.
 

Freundliche Grüße aus PM
Heinz
Last edit: 9 months 4 weeks ago by MaliRaj. Reason: Themensymbol geändert [gelöst]

More
9 months 4 weeks ago #9494 by Administrator IV
Replied by Administrator IV on topic SQL-Statements im Header/Footer in PDF-Templates
Hallo Heinz,

ich kann den Fehler mit einem sehr kleinen PDF-Beispiel mit deinem Header/Footer Text bei mir reproduzieren.

Es handelt sich um einen Bug in Visforms und wir werden das Verhalten anpassen.
Ich habe dazu einen Issue zur Entwicklung für die Bug-Liste angelegt:
Issue [VF-850] Forum: PDF: error on using placeholder SQL-statements in header and footer

Wenn wir den Bug-Fix releasen, wirst du explizit über das Release hier im Thema informiert.
Vielen Dank nochmal für deinen Hinweis!

Liebe Grüße, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: MaliRaj

More
9 months 4 weeks ago #9496 by Administrator IV
Replied by Administrator IV on topic SQL-Statements im Header/Footer in PDF-Templates
Hallo Heinz,

es gibt einen Bug-Fix zur Behebung des Fehlers.

Die folgende(n) Datei(en) herunterladen:
- vi-solutions.de/forum-bugfixes/RenderPdfViewBase_v4.3.1.txt

Die heruntergeladene(n) Datei(en) umbenennen in
- RenderPdfViewBase.php

Mit ihnen auf dem Server die folgende(n) Datei(en) überschreiben:
- administrator/components/com_visforms/src/View/RenderPdfViewBase.php

Nach dem manuellen einspielen der Datei funktionieren die SQL-Platzhalter in Header und Footer wieder:

SQL-Statement:
vi-solutions.de/forum-uploads/sql-statem...s_sql-statements.png
Header:
vi-solutions.de/forum-uploads/sql-statem...templates_header.png
Vorschau:
vi-solutions.de/forum-uploads/sql-statem...in-pdf-templates.png

Liebe Grüße, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: MaliRaj

More
9 months 4 weeks ago #9498 by MaliRaj
funktioniert auch bei mir tadellos! Dankeschön :-)

Freundliche Grüße aus PM
Heinz
The following user(s) said Thank You: Administrator IV

More
6 months 2 weeks ago #9755 by Administrator IV
Replied by Administrator IV on topic SQL-Statements im Header/Footer in PDF-Templates
Hallo Heinz,

der Fehler ist behoben im neusten Release vom 12.10.2023 für Joomla 4:
Visforms 4.3.1
docs.joomla-4.visforms.vi-solutions.de/updates/version-4-3-1/
Visforms Subscription 4.3.1
docs.joomla-4.visforms.vi-solutions.de/u...s/sub-version-4-3-1/

Liebe Grüße, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: MaliRaj

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum