Go to Menus -> New or existing menu item -> every menu type except menu item alias
template style selectbox is displayed
template style selectbox is hidden
new install joomla 3.9.2 and update from 3.9.1 to 3.9.2 on linux ubuntu server, php 7.2
In the xml file item.xml in administrator/components/com_menus/models/forms the field template_style_id changend. showon="params.alias_redirect:0" was added. Without this entry everything works fine
Labels |
Added:
?
|
Status | New | ⇒ | Confirmed |
Issue confirmed.
Below patch should fix the problem:
diff --git a/administrator/components/com_menus/models/forms/item.xml b/administrator/components/com_menus/models/forms/item.xml
index 66dd1bc4a5..fd9a057cbb 100644
--- a/administrator/components/com_menus/models/forms/item.xml
+++ b/administrator/components/com_menus/models/forms/item.xml
@@ -146,7 +146,7 @@
description="COM_MENUS_ITEM_FIELD_TEMPLATE_DESC"
client="site"
filter="int"
- showon="params.alias_redirect:0"
+ showon="type!:alias[OR]params.alias_redirect:0"
>
<option value="0">JOPTION_USE_DEFAULT</option>
</field>
Labels |
Added:
J3 Issue
|
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-01-16 10:56:26 |
Closed_By | ⇒ | infograf768 |
Thanks @csthomas
Your fix works for me
Inform your communities:
https://docs.joomla.org/J3.x:Template_Style_field_not_shown_in_Menu_Items
@csthomas Thank you, works for me !
I can confirm this problem, after update Template style is not visible any longer.