? ? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
26 May 2016

Summary of Changes

This is a redo of #9842 for system admin only.

This PR does a basic conversion of system admin template to HTML5.
Also made some minor corrections:

  • Use scriptVersion for template js in all files
  • Use the API in inline css/js (except error page)
  • Use ie9 or lower html5.js in all files.

Testing Instructions

 $this->template = new stdClass;
 $this->template->template = 'system';
 $this->template->params   = new Registry;
  • Go to admin and check if the the following pages are working properly (they don't have style):

    • normal/component (test any existent page)
    • error pages (test one non existent URL)
  • Remove the code added in 2. and check all is again ok and with style.

Check also the code changes.

Observations

All pages should now start with this code:

<!DOCTYPE html>
<html lang="en-gb" dir="ltr">
<head>
[...]
    <meta charset="utf-8" />
[...]
avatar andrepereiradasilva andrepereiradasilva - open - 26 May 2016
avatar andrepereiradasilva andrepereiradasilva - change - 26 May 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 May 2016
Labels Added: ?
b38d113 26 May 2016 avatar andrepereiradasilva ::
avatar andrepereiradasilva andrepereiradasilva - change - 26 May 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - change - 26 May 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - change - 26 May 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - change - 26 May 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - change - 26 May 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - change - 26 May 2016
The description was changed
avatar brianteeman brianteeman - change - 26 May 2016
Category Templates (admin)
avatar RonakParmar RonakParmar - test_item - 1 Jul 2016 - Tested unsuccessfully
avatar RonakParmar
RonakParmar - comment - 1 Jul 2016

I have tested this item ? unsuccessfully on bebe3dc

After adding below code before JPATH_ROOT . /libraries/cms/application/administrator.php line number 185 my site is not working.

$this->template = new stdClass;
$this->template->template = 'system';
$this->template->params = new Registry;


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

avatar RonakParmar
RonakParmar - comment - 8 Jul 2016

I have applied this PR and added above code in given path file and line number.
Here is the screen-shots of my site before PR apply and after PR and above code applied.
First screen-shot is before PR apply.

screen shot 2016-07-08 at 06 52 51
Second screen-shot is after PR applied and code added.
screen shot 2016-07-08 at 06 52 51


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

avatar mbabker
mbabker - comment - 8 Jul 2016

Again, intended result. To properly test this, you HAVE to first apply the code hack to force the system template, then make a request so the system template displays pre-patch, then apply the patch and make another request. You can't compare pre-patch with a 100% unpatched install against post-patch with a code hack in place. Otherwise based on the steps you're presumably taking there is no way to ever test this patch successfully because it will appear as though the styling has gone AWOL.

avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jul 2016

@RonakParmar the code in the test instructions is exactly to force the system template (you can't select the system template in templates so we need to do this).

so for me it seems your test (first print screen) is a success.

avatar RonakParmar RonakParmar - test_item - 8 Jul 2016 - Tested successfully
avatar RonakParmar
RonakParmar - comment - 8 Jul 2016

I have tested this item successfully on bebe3dc

Without adding the given code to given file path PR works fine.


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

avatar andrepereiradasilva andrepereiradasilva - change - 8 Jul 2016
The description was changed
avatar AnishaVora AnishaVora - test_item - 9 Jul 2016 - Tested successfully
avatar AnishaVora
AnishaVora - comment - 9 Jul 2016

I have tested this item successfully on bebe3dc


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

avatar gunjanpatel gunjanpatel - change - 11 Jul 2016
Status Pending Ready to Commit
avatar gunjanpatel
gunjanpatel - comment - 11 Jul 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 11 Jul 2016
Labels Added: ?
avatar roland-d roland-d - change - 16 Jul 2016
Milestone Added:
avatar wilsonge
wilsonge - comment - 3 Sep 2016

Can you rebase this please?

avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2016
Category Templates (admin) Templates (admin) Administration Installation Language & Strings
avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Sep 2016

fixed conflicts @wilsonge
i don't have a clue why github added the he-IL.ini in this PR is not changed and i didn't do anything there.
probably a github glitch.

avatar wilsonge
wilsonge - comment - 3 Sep 2016

Line endings?

avatar wilsonge
wilsonge - comment - 3 Sep 2016

Good job!

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Sep 2016

ok it's that thanks, strange this file must have an issue added to revert line endings to unix format in this particular file.

Is ok now

hint: use https://github.com/joomla/joomla-cms/pull/10638/files?w=1 if you want to check code diff after conflicts fix without whitespace changes

avatar wilsonge
wilsonge - comment - 3 Sep 2016

Merged with 133e4b6

avatar wilsonge wilsonge - change - 3 Sep 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-09-03 12:07:15
Closed_By wilsonge
avatar brianteeman brianteeman - change - 3 Sep 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment