Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#19471] - [4.0] Lateral menu overlaps debug panel on backend #20061

Merged
merged 7 commits into from
Apr 9, 2018

Conversation

amone4
Copy link
Contributor

@amone4 amone4 commented Apr 2, 2018

Pull Request for Issue #19471 .

Summary of Changes

Changed the markup to include the debug panel in the same wrapper as the normal content

Testing Instructions

Activate the debug panel by going into Global Configuration > System tab

Expected result

See the complete debug panel at the end of each page

Actual result

Part of the debug panel is hidden by Joomla's lateral menu administrative pages

Documentation Changes Required

None, I guess

@laoneo laoneo added this to the Joomla 4.0 milestone Apr 9, 2018
@laoneo laoneo merged commit b5c05ba into joomla:4.0-dev Apr 9, 2018
@anuragteapot
Copy link
Contributor

anuragteapot commented Apr 9, 2018

@laoneo we have some problem with this PR
Debug panel works fine in back-end but in front end it seems like this

screenshot from 2018-04-09 18-16-59

@dgrammatiko
Copy link
Contributor

@ciar4n can you take a look at the debug console in the front end?

@anuragteapot
Copy link
Contributor

And one more thing debug console in admin login is not showing.

@laoneo
Copy link
Member

laoneo commented Apr 9, 2018

Thanks @Anu1601CS. Does reverting this line help https://github.com/joomla/joomla-cms/pull/20061/files#diff-78d82eb8bd4c1f14a8e99e82ada1daf9R355 ?

@anuragteapot
Copy link
Contributor

@laoneo

Does reverting this line help https://github.com/joomla/joomla-cms/pull/20061/files#diff-78d82eb8bd4c1f14a8e99e82ada1daf9R355 ?

No, this make debug console more messy then before this PR.
screenshot from 2018-04-09 18-44-42

I think this is not a proper fix for this.

@dgrammatiko
Copy link
Contributor

@amone4 @laoneo this PR was wrong. What we need actually is to move the debug module inside the wrapper:
screen shot 2018-04-09 at 15 27 45

@laoneo
Copy link
Member

laoneo commented Apr 9, 2018

Can you make a new pr for it?

@anuragteapot
Copy link
Contributor

anuragteapot commented Apr 9, 2018

Can you make a new pr for it?

Me ?

@dgrammatiko
Copy link
Contributor

Here is what I'm thinking:
in the template:

<joomla-debug><jdoc:include type="modules" name="debug" style="none" /></joomla-debug>

in the plugin:

		echo str_replace('<joomla-debug></joomla-debug>', '<joomla-debug>' . implode('', $html) . '</joomla-debug>', $contents);

That will decouple the markup form the body tag, but it's also a minor B/C break (?)

Let me know if it's ok and then will push the changes in a PR

@laoneo
Copy link
Member

laoneo commented Apr 9, 2018

If you can, would be great. Guess you need to revert this one as well then.

@laoneo
Copy link
Member

laoneo commented Apr 9, 2018

You want to make a CE out of it?

@dgrammatiko
Copy link
Contributor

nah, I just wanted to increase specificity without adding id or some weird class...

@anuragteapot
Copy link
Contributor

@laoneo I can but tomorrow and day after tomorrow is my university exam.
After the exam, I take a look on it. :)

@laoneo
Copy link
Member

laoneo commented Apr 9, 2018

@dgrammatiko yes, please make a new pr if you have time. I'm going to revert this one anyway.

laoneo added a commit that referenced this pull request Apr 9, 2018
@dgrammatiko
Copy link
Contributor

Ok will do. By the way I just saw #11840 due to comment in another issue, so maybe will be a good idea to introduce <jdoc:include type="debug" /> and totally decouple the debug from the modules? (not to be done in the comming PR though.. 😃)

@dgrammatiko
Copy link
Contributor

@laoneo there you go: #20120

@laoneo laoneo mentioned this pull request Apr 9, 2018
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.

None yet

6 participants