? Success

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
2 Nov 2016

Pull Request for Issue # .

Summary of Changes

Use the new features of JHtml::script to set IE conditional scripts and versioned scripts.
Also, set meta data on the document object rather than writing it directly in the template.
Basically this PR removes direct writing of some tags to the document head and lets the the head renderer take care of those things instead.
This does not fix any known bug or make anything noticeably better to the end user but Joomla's included templates should serve as examples to template developers so I think it's a good idea for them to make use of features like this as much as possible.

Testing Instructions

Compare the output html source in the head tag before and after applying this patch. A few tags may have moved around in some inconsequential manner and the uncompressed versions of some scripts may be used which weren't before (applies to debug mode only) but everything should still be there and continue to work exactly as before.

Documentation Changes Required

Nope

avatar okonomiyaki3000 okonomiyaki3000 - open - 2 Nov 2016
avatar okonomiyaki3000 okonomiyaki3000 - change - 2 Nov 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Nov 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 Nov 2016
Category Administration Templates (admin) Installation Front End Templates (site)
avatar andrepereiradasilva
andrepereiradasilva - comment - 2 Nov 2016

This is already done in #12373 that just needs one more tester ....

Update: the metadata part is not done in that pr just the scripts

avatar jeckodevelopment
jeckodevelopment - comment - 3 Nov 2016

@okonomiyaki3000 please review conflicts with this PR.

avatar okonomiyaki3000
okonomiyaki3000 - comment - 4 Nov 2016

Withdrawn in favor of #12373

avatar okonomiyaki3000 okonomiyaki3000 - change - 4 Nov 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-11-04 00:49:49
Closed_By okonomiyaki3000
avatar okonomiyaki3000 okonomiyaki3000 - close - 4 Nov 2016

Add a Comment

Login with GitHub to post a comment