User tests: Successful: Unsuccessful:
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:
$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):
?tmpl=component&print=1
to an existent page)Remove the code added in 2. and check all is again ok and with style.
Check also the code changes.
All pages should now start with this code:
<!DOCTYPE html>
<html lang="en-gb" dir="ltr">
<head>
[...]
<meta charset="utf-8" />
[...]
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Templates (site) |
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.
@RonakParmar that is not a problem. it works like that.
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 after PR applied and code added.
Second screen-shot is before PR apply.
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.
@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.
@andrepereiradasilva So, After adding that code my site is not working properly, Is it successful test?
yes, remove the custom code added and you will see it's working correctly with the patch applied.
Okay, testing. Thanks for the update.
Yes, without the code added, this PR works fine.
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. :)
I have tested this item
added to test instructions, thanks
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Milestone |
Added: |
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-03 11:35:44 |
Closed_By | ⇒ | wilsonge |
Labels |
Removed:
?
|
Category | Templates (site) | ⇒ | Templates (site) Front End |
I have tested this item? unsuccessfully on e4834ef
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10641.