Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, this is look like a nice module but there are few fixes i felt that need to be done here:
1. Menu - the link for the ref debug page settings should under development but now it's just standing as it own menu item.
2. The setting 'Display debug info above page for entities' isn't working. I think it's redundant since people used to output like the devel page but it's not working any way.
3. I remove un-used variable, and minor code fixes.
Comment | File | Size | Author |
---|---|---|---|
ref-debug-minor-fixes.patch | 2.06 KB | RoySegall |
Comments
Comment #1
RoySegall CreditAttribution: RoySegall commentedComment #2
MiSc CreditAttribution: MiSc commentedThanks for testing, but I'm not sure of any of your three issues, could you attach screen dumps with your problems?
Comment #3
RoySegall CreditAttribution: RoySegall commentedYeah, i'll make some screen shots.
Comment #4
MiSc CreditAttribution: MiSc commentedComment #5
dbazuin CreditAttribution: dbazuin commentedThe display info above setting is not working for me either.
If it is redundant then the whole admin settings ar not necessary.
Adding package info would be a small improvement.
package = Development
Comment #6
MiSc CreditAttribution: MiSc commenteddbazuin - could you please add info about your setup?
Comment #7
dbazuin CreditAttribution: dbazuin commentedMiSc what would you like to know?
It does not seems to matter if I check or uncheck "The Display debug info above page for entities", the output is always above the page.
When I put a r($some_thing) in a module file en load a page I do get the output above.
The function "ref_debug_load" is only used in hook_menu().
I am not sure what your idea is with that construction.
Somehow it seems I get a output from ref_debug even if "ref_debug_load" is not used.
When I remove that function the result is exactly the same.
Comment #8
MiSc CreditAttribution: MiSc commentedI think the problem lies in the description of it - what the settings means is that on a entity, and clicking the ref debug tab, debugging is rendered on the page or in the top, normal debugging in code is always on the top. Have I understand the issue correct?
Comment #9
dbazuin CreditAttribution: dbazuin commentedMisc,
Yes I got it :-)
I guess the readme needs some changes to.
I will add a command to set "Display debug info above page for entities"
Comment #10
dbazuin CreditAttribution: dbazuin commentedMaybe this or the description of the config setting.
"When you use the ref tab and this option is checked debug info will be displayed above the page, if not checked it is displayed in content area."