User tests: Successful: Unsuccessful:
This PR removes the useless Sidebar for Tags and fixes some mirror CS
Bevor the change
After the change
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Title |
|
Easy | No | ⇒ | Yes |
Category | ⇒ | Administration UI/UX |
I got the following errors when applying the patch:
Warning: require_once(C:\MAMP\htdocs\joomla-cms\administrator/components/com_tags/helpers/tags.php): failed to open stream: No such file or directory in C:\MAMP\htdocs\joomla-cms\administrator\components\com_tags\controller.php on line 31
Fatal error: require_once(): Failed opening required 'C:\MAMP\htdocs\joomla-cms\administrator/components/com_tags/helpers/tags.php' (include_path='.;C:\php\pear') in C:\MAMP\htdocs\joomla-cms\administrator\components\com_tags\controller.php on line 31
Nearly fixed, do the same for the views/tag/view.html.php
. Now you get the same error over there
Yes I can do this tomorrow.
Ouch. The line to remove is https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_tags/views/tag/view.html.php#L78
That line doesn't make any sense at all. TagsHelper
isn't used anywhere there.
I haven't found any other occurance of it. Hopefully it really is the last one.
Fixed: zero-24@409218f
BTW: Why tags always load the language file? Any reason for this?
https://github.com/zero-24/joomla-cms/blob/remoaveTagsSidebar/administrator/components/com_tags/views/tag/view.html.php#L71-L74
I doubt that makes sense. The language will already be loaded by the system anyway. I never had to load the component language file manually for my extension.
A fair majority of the tags code was copied from com_categories, to include all of its extra quirks.
Milestone |
Added: |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-10-17 11:38:05 |
Closed_By | ⇒ | roland-d |
Thanks everybody, merged.
Looks fine, allthough I will miss that funny helper class