From 4492097b5a8d494ec60de90b88327ba4d2fa30d7 Mon Sep 17 00:00:00 2001 From: Wojtek Date: Thu, 15 Oct 2026 17:24:26 +0200 Subject: [PATCH] Render test set fields in form --- README.md | 2 +- .../components/com_testquestions/sql/updates/mysql/1.12.1.sql | 1 + administrator/components/com_testquestions/tmpl/set/edit.php | 3 +++ com_testquestions.xml | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 administrator/components/com_testquestions/sql/updates/mysql/1.12.1.sql diff --git a/README.md b/README.md index 5b5a0f0..4c09f8f 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych. ## Instalacja -W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.12.0). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.12.1). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.12.1.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.12.1.sql new file mode 100644 index 0000000..0569a3e --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.12.1.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.12.1. diff --git a/administrator/components/com_testquestions/tmpl/set/edit.php b/administrator/components/com_testquestions/tmpl/set/edit.php index a391e02..b946969 100644 --- a/administrator/components/com_testquestions/tmpl/set/edit.php +++ b/administrator/components/com_testquestions/tmpl/set/edit.php @@ -11,6 +11,9 @@ HTMLHelper::_('behavior.formvalidator');
form->renderField('title'); ?> form->renderField('subject_id'); ?> + form->renderField('duration'); ?> + form->renderField('test_content'); ?> + form->renderField('image'); ?> form->renderField('description'); ?> form->renderField('published'); ?>
diff --git a/com_testquestions.xml b/com_testquestions.xml index dc64fc8..d3931c5 100644 --- a/com_testquestions.xml +++ b/com_testquestions.xml @@ -4,7 +4,7 @@ 2026-10-14 Komponent GNU General Public License version 2 or later - 1.12.0 + 1.12.1 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions