J3 Issue ?
avatar apophis1982
apophis1982
15 Jan 2019

Steps to reproduce the issue

Go to Menus -> New or existing menu item -> every menu type except menu item alias

Expected result

template style selectbox is displayed

Actual result

template style selectbox is hidden

System information (as much as possible)

new install joomla 3.9.2 and update from 3.9.1 to 3.9.2 on linux ubuntu server, php 7.2

Additional comments

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

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar apophis1982 apophis1982 - open - 15 Jan 2019
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jan 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Jan 2019
avatar HLeithner
HLeithner - comment - 15 Jan 2019

I can confirm this problem, after update Template style is not visible any longer.

avatar jeckodevelopment jeckodevelopment - change - 15 Jan 2019
Status New Confirmed
avatar jeckodevelopment
jeckodevelopment - comment - 15 Jan 2019

Issue confirmed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23551.
avatar mbabker
mbabker - comment - 15 Jan 2019

Paging @csthomas

Side effect of #23278 ?

avatar infograf768
infograf768 - comment - 15 Jan 2019

Side effect of #23278 ?

Indeed here. Reverting it gets back the template style field.

avatar csthomas
csthomas - comment - 15 Jan 2019

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>
avatar Sandra97
Sandra97 - comment - 16 Jan 2019

Thanks @csthomas
Your fix works for me

avatar jeckodevelopment jeckodevelopment - change - 16 Jan 2019
Labels Added: J3 Issue
avatar jeckodevelopment jeckodevelopment - labeled - 16 Jan 2019
avatar wojsmol
wojsmol - comment - 16 Jan 2019

Please test PR #23556

avatar infograf768 infograf768 - change - 16 Jan 2019
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2019-01-16 10:56:26
Closed_By infograf768
avatar infograf768
infograf768 - comment - 16 Jan 2019

Closing as we have #23556

avatar infograf768 infograf768 - close - 16 Jan 2019
avatar Leen29
Leen29 - comment - 16 Jan 2019

Thanks @csthomas
Your fix works for me


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23551.

avatar infograf768
infograf768 - comment - 16 Jan 2019
avatar WebDud
WebDud - comment - 30 Jan 2019

@csthomas Thank you, works for me !


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23551.

avatar AlbrechtFrick
AlbrechtFrick - comment - 30 Jan 2019

@csthomas works fine for me . thanx!

Add a Comment

Login with GitHub to post a comment