? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
10 Jan 2021

Summary of Changes

remove code smell and correctly load the form for frontend template config
$form was created twice, directly overwriting itself as soon as it was loaded.

Testing Instructions

Install testing data on Joomla 4
login to FRONTEND
click "Template Settings" in the right hand side menu

Actual result BEFORE applying this Pull Request

Page loads

Expected result AFTER applying this Pull Request

Page loads - but with less code to power it

Screenshot 2021-01-10 at 19 38 00

Documentation Changes Required

none - code review only

avatar PhilETaylor PhilETaylor - open - 10 Jan 2021
avatar PhilETaylor PhilETaylor - change - 10 Jan 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jan 2021
Category Front End com_config
avatar PhilETaylor PhilETaylor - change - 10 Jan 2021
Title
[4] remove redundant code
[4] remove redundant code in frontend template manager
avatar PhilETaylor PhilETaylor - edited - 10 Jan 2021
avatar toivo
toivo - comment - 10 Jan 2021

@PhilETaylor where is the testing data with the right hand side menu available from?


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

avatar PhilETaylor
PhilETaylor - comment - 10 Jan 2021

Go to Joomla 4 Admin
Home Dashboard

Look for

Screenshot 2021-01-10 at 19 55 21

Press the first blue Install button.

avatar toivo
toivo - comment - 10 Jan 2021

My Beta7-dev does not have it, just Blog Sample Data and Multilingual Sample Data. Discover did not find that module either.


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

avatar brianteeman
brianteeman - comment - 10 Jan 2021

The testing data plugin is only available on github. It is never included in a joomla release. It is very very broken

avatar PhilETaylor
PhilETaylor - comment - 10 Jan 2021

This resolved issue in this PR is totally unrelated to the testing data.

The mention of the testing data plugin in this PR is purely a quick way to get a link to Template Settings on the frontend, instead of explaining how to create a new menu item of kind template settings.

avatar toivo
toivo - comment - 10 Jan 2021

Simples! Done.


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

avatar toivo
toivo - comment - 10 Jan 2021

I have tested this item successfully on 8b655f7

Tested successfully in Beta7-dev of 10 January.


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

avatar toivo toivo - test_item - 10 Jan 2021 - Tested successfully
avatar wilsonge wilsonge - change - 10 Jan 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-01-10 22:14:39
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 10 Jan 2021
avatar wilsonge wilsonge - merge - 10 Jan 2021
avatar wilsonge
wilsonge - comment - 10 Jan 2021

Thanks!

Add a Comment

Login with GitHub to post a comment