Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 812 forks source link

No description showing for template configuration #9703

Closed Pinkeltje closed 2 months ago

Pinkeltje commented 3 months ago

Describe the bug https://www.kunena.org/forum/general-questions-and-how-tos/168498-change-entry-in-aurelia-bbcode#231689

To Reproduce Steps to reproduce the behavior:

  1. Go to Kunena - Templates - Aurelia
  2. Select Aurelia
  3. Open any tab
  4. Only field name and setting is displayed. No description.

Expected behavior Show description

Joomla version: 5.1.1 Kunena version: 6.3.2 and earlier Php version: 8.2

Add any other context about the problem here. Can be solved by changing "administrator\components\com_kunena\tmpl\template\edit.php" from line 126 to ` <?php if ($field->hidden) : ?>

label; ?> input; ?> description; ?>
                                                        <?php else :
                                                            ?>
                                                        <tr>
                                                            <td width="40%"
                                                                class="paramlist_key"><?php echo $field->label; ?></td>
                                                            <td class="paramlist_value"><?php echo $field->input; ?></td>
                                                             <td class="paramlist_key"><?php echo Text::_($field->description); ?></td>
                                                        </tr>
                                                        <?php endif; ?>`

2024-07-03 Screenshot 484

Gindi50 commented 2 months ago

I have tested it and it works perfectly

Gindi50 commented 2 months ago

I have solved it in a simpler way and used row 131

description; ?>

and then in row 139

description); ?>

inserted.