From d6635c4499e1a99540a6a9b9f752c8a63b4c73b2 Mon Sep 17 00:00:00 2001 From: Wojtek Date: Thu, 15 Oct 2026 16:57:29 +0200 Subject: [PATCH] Show subject field in set form --- README.md | 2 +- .../components/com_testquestions/sql/updates/mysql/1.10.2.sql | 1 + administrator/components/com_testquestions/tmpl/set/edit.php | 1 + com_testquestions.xml | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 administrator/components/com_testquestions/sql/updates/mysql/1.10.2.sql diff --git a/README.md b/README.md index 1014b11..6266c98 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,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.10.1). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.10.2). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.10.2.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.10.2.sql new file mode 100644 index 0000000..55a59dc --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.10.2.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.10.2. diff --git a/administrator/components/com_testquestions/tmpl/set/edit.php b/administrator/components/com_testquestions/tmpl/set/edit.php index 3888362..9bc693b 100644 --- a/administrator/components/com_testquestions/tmpl/set/edit.php +++ b/administrator/components/com_testquestions/tmpl/set/edit.php @@ -10,6 +10,7 @@ HTMLHelper::_('behavior.formvalidator');
form->renderField('title'); ?> + form->renderField('subject_id'); ?> form->renderField('description'); ?> form->renderField('published'); ?>
diff --git a/com_testquestions.xml b/com_testquestions.xml index f88f100..ebfc8db 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.10.1 + 1.10.2 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions