? ?
avatar ReLater
ReLater
27 Apr 2019

Several sidebars and logic have been removed already in J4 backend. Because I fiddle a bit about custom backend templates just a question which code concerning sidebars will be removed in Joomla 4 (I don't want to start a new discussion here).

As example: Removal of com_templates sidebar (#24092)

Now I would like to know if codes like
https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_templates/View/Templates/HtmlView.php#L113
and
https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_templates/Helper/TemplatesHelper.php#L34-L46
will also be removed without replacement from all Joomla extensions.

And if the class JHtmlSidebar will be removed, too?

@brianteeman Do you have detailed informations yet?

avatar ReLater ReLater - open - 27 Apr 2019
avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Apr 2019
avatar ReLater ReLater - change - 27 Apr 2019
Title
[4.0] Atumn. Question concerning sidebar removal
[4.0] Atum. Question concerning sidebar removal
avatar ReLater ReLater - edited - 27 Apr 2019
avatar ReLater ReLater - change - 27 Apr 2019
Title
[4.0] Atum. Question concerning sidebar removal
[4.0] Back-end. Question concerning sidebar removal
avatar ReLater ReLater - edited - 27 Apr 2019
avatar infograf768
infograf768 - comment - 28 Apr 2019

And if the class JHtmlSidebar will be removed, too?

I hope not. Some 3rd party components use it.

avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Apr 2019
Labels Added: ?
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 28 Apr 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Apr 2019

@coolcat-creations should know more.

avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Apr 2019
Status New Discussion
avatar coolcat-creations
coolcat-creations - comment - 28 Apr 2019

As far as I understood there is no real sidebar position. If Component creators use it they create their own sidebar thing. The removal of the sidebar in Joomla is because we have a sidemenu and the items go into that one. At least I guess so. Maybe @bembelimen can confirm or clarify.

avatar brianteeman
brianteeman - comment - 28 Apr 2019

Not sure why you tagged me in this

avatar bembelimen
bembelimen - comment - 28 Apr 2019

The Sidebar (and its JHtmlSidebar classes) will not be removed, but the core will not use them anymore (at least tries it). Because with the left menu you'll lose a lot of space, when using the sidebar.

Probably the layout position will change in some way, but the functionality will still exists.

avatar ReLater
ReLater - comment - 28 Apr 2019

@brianteeman

Not sure why you tagged me in this

Because it's your pr but didn't remove the lines that I've linked to in #24742 (comment) When I look into the codes for articles view public static function addSubmenu($vName) is an empty method now. Thus I thought you know more about the next steps.

Others:

My question is not concerning Atum. I understood the decision is incontrovertible for that template.

I'm talking about custom backend templates. When the code lines that I've linked to in #24742 (comment) remain untouched in core I just have to add a sidebar position in my custom template and the sidebar can be populated easily in overrides.

If lines and methods like https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_templates/Helper/TemplatesHelper.php#L34-L46 are removed or cleaned out completely I have to build my own classes and methods inside the template codes/overrides.

That's all I'm asking ;-) "I hate redundant code in my extensions."

avatar ReLater
ReLater - comment - 28 Apr 2019

The Sidebar (and its JHtmlSidebar classes) will not be removed

Good news for me. Thanks.

avatar ReLater ReLater - change - 30 Apr 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-04-30 11:54:00
Closed_By ReLater
avatar ReLater ReLater - close - 30 Apr 2019

Add a Comment

Login with GitHub to post a comment