?
avatar fgonc124
fgonc124
10 Jan 2019

I have a template that works fine in Joomla 3.9.1. and in Joomla 4 Alfa 1 to Alfa 3.

But stoped work in latest Joomla4 Alfa versions, Alfa 5 and Alfa 6

The template should show an horizontal menu like this screen shot 2019-01-10 at 21 48 50
Instead it shows a menu like this screen shot 2019-01-10 at 21 49 06
You can see the html generated by version J4 Alfa3
screen shot 2019-01-10 at 21 49 06
and by Alfa 6
screen shot 2019-01-10 at 21 49 06.
The problem is on last line. Alfa6 generates <ul class="menu"> instead of <ul class="lcp-hmenu"> .
After debuging the file lcp_template\html\mod_menu\default.php I found that the array $attribs['name'] is not set. Because of that the line
if (isset($attribs['name']) && $attribs['name'] == 'user3')
is never excuted.

Steps to reproduce the issue

install the attached template, lcp_template Make it the default template and assign position user3

Expected result

screen shot 2019-01-10 at 21 48 50

Actual result

screen shot 2019-01-10 at 21 49 06

System information (as much as possible)

Windows 10 with Apache 2.4 + PHP 7.1.2 + Mysql 5.7.17 + Mysqli driver ( the same happens with PDO driver)

Additional comments

I can't send the template so that you test it. How can I overcome the problem

avatar fgonc124 fgonc124 - open - 10 Jan 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Jan 2019
avatar Ninja-007
Ninja-007 - comment - 11 Jan 2019
avatar fgonc124 fgonc124 - change - 12 Jan 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-01-12 13:26:15
Closed_By fgonc124
avatar fgonc124
fgonc124 - comment - 12 Jan 2019

Where can I find documentation of Flow execution of templates.?
Its strange the same template works in J4 Alpha3 and not in Alpha 5/6.
Thanks in advance

avatar fgonc124 fgonc124 - close - 12 Jan 2019

Add a Comment

Login with GitHub to post a comment