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.

CommentFileSizeAuthor
ref-debug-minor-fixes.patch2.06 KBRoySegall
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RoySegall’s picture

Status: Active » Needs review
MiSc’s picture

Thanks for testing, but I'm not sure of any of your three issues, could you attach screen dumps with your problems?

RoySegall’s picture

Yeah, i'll make some screen shots.

MiSc’s picture

Status: Needs review » Postponed (maintainer needs more info)
dbazuin’s picture

Version: » 7.x-1.x-dev

The 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

MiSc’s picture

dbazuin - could you please add info about your setup?

dbazuin’s picture

MiSc 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.

MiSc’s picture

I 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?

dbazuin’s picture

Misc,

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"

dbazuin’s picture

Maybe 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."