Skip to content

Render the sidebar when it is not empty#10720

Merged
wilsonge merged 3 commits intojoomla:stagingfrom
Digital-Peak:sidebar
Jun 15, 2016
Merged

Render the sidebar when it is not empty#10720
wilsonge merged 3 commits intojoomla:stagingfrom
Digital-Peak:sidebar

Conversation

@laoneo
Copy link
Copy Markdown
Member

@laoneo laoneo commented Jun 3, 2016

Summary of Changes

When a plugin adds some sidebar entries for com_modules, then render it.

Testing Instructions

Expected result

You should see on the left side a list of links (Modules, Fields, Field Categories). After DPFields is uninstalled, the view Extensions -> Modules should be shown without a sidebar.

Actual Result

The sidebar is not shown.

@mbabker
Copy link
Copy Markdown
Contributor

mbabker commented Jun 3, 2016

@laoneo
Copy link
Copy Markdown
Member Author

laoneo commented Jun 3, 2016

I tested it and it showed then the sidebar with an empty list.

@mbabker
Copy link
Copy Markdown
Contributor

mbabker commented Jun 3, 2016

*sigh* I guess this is one of those views where it might be an optional thing.

@laoneo
Copy link
Copy Markdown
Member Author

laoneo commented Jun 3, 2016

Means?

@mbabker
Copy link
Copy Markdown
Contributor

mbabker commented Jun 3, 2016

Just as you pointed out, the sidebar here can be empty. On most other views that have the sidebar conditional, it's usually not unless someone used a malicious plugin to remove the component's defined sidebar so that conditional is just bloated logic.

@andrepereiradasilva
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 98aca2d

works as described


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

@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 98aca2d

(side note not related to this PR. uninstalling dpfields package gives error - i expected it to remove all of dpfields)


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

@brianteeman
Copy link
Copy Markdown
Contributor

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jun 10, 2016
@wilsonge wilsonge merged commit 8e26730 into joomla:staging Jun 15, 2016
@wilsonge wilsonge added this to the Joomla 3.6.0 milestone Jun 15, 2016
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jun 15, 2016
@laoneo laoneo deleted the sidebar branch August 9, 2016 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants