? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
26 May 2016

Summary of Changes

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

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

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

Testing Instructions

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

    • component popup (add ?tmpl=component&print=1 to an existent page)
    • error pages (test one non existent URL)
    • offline (set the site to offline and check the login page)
  • 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: ?
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 (site)
avatar RonakParmar RonakParmar - test_item - 1 Jul 2016 - Tested unsuccessfully
avatar RonakParmar
RonakParmar - comment - 1 Jul 2016

I have tested this item ? unsuccessfully on e4834ef


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

avatar RonakParmar
RonakParmar - comment - 1 Jul 2016

screen shot 2016-07-01 at 07 47 54


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

avatar mbabker
mbabker - comment - 1 Jul 2016

What's the issue? The system templates don't really have any of their own styling for general use. Here you're mainly focused on the actual HTML output and that there aren't any errors versus the visual aesthetics.

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Jul 2016

@RonakParmar that is not a problem. it works like that.

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.
screen shot 2016-07-08 at 06 44 40screen shot 2016-07-08 at 06 44 45


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

avatar RonakParmar
RonakParmar - comment - 8 Jul 2016

First screen-shot is after PR applied and code added.
Second screen-shot is before PR apply.


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

avatar mbabker
mbabker - comment - 8 Jul 2016

Without hacking core, you can't use the system template for general use (except the error.php layout because of a hardcoded fallback). So the fact your before screenshot is using Protostar tells me you don't have a hack in place to force the system template.

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 - comment - 8 Jul 2016

@andrepereiradasilva So, After adding that code my site is not working properly, Is it successful test?

avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jul 2016

yes, remove the custom code added and you will see it's working correctly with the patch applied.

avatar RonakParmar
RonakParmar - comment - 8 Jul 2016

Okay, testing. Thanks for the update.

avatar RonakParmar
RonakParmar - comment - 8 Jul 2016

Yes, without the code added, this PR works fine.


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

avatar RonakParmar
RonakParmar - comment - 8 Jul 2016

Please mention that, after removing the code front-end will work fine, in testing instruction, so people like me get idea and otherwise they perform same thing that I have done. :)


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

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

I have tested this item successfully on e4834ef


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

avatar andrepereiradasilva andrepereiradasilva - change - 8 Jul 2016
The description was changed
avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jul 2016

added to test instructions, thanks

avatar AnishaVora AnishaVora - test_item - 9 Jul 2016 - Tested successfully
avatar AnishaVora
AnishaVora - comment - 9 Jul 2016

I have tested this item successfully on e4834ef


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

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/10641.

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

Merged with 51a23f8

avatar wilsonge wilsonge - change - 3 Sep 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-09-03 11:35:44
Closed_By wilsonge
avatar wilsonge wilsonge - close - 3 Sep 2016
avatar joomla-cms-bot joomla-cms-bot - close - 3 Sep 2016
avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2016
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2016
Category Templates (site) Templates (site) Front End

Add a Comment

Login with GitHub to post a comment