How do I inspect from a user's view how a given page element was created by Drupal?

Solutions

Anything that comes close in my mind is Devel Themer. But I don't think you're supposed to install this on a live website, only on dev servers.

Think Firebug for Drupal?

Try the Drupal for Firebug module and associated Chrome/Firefox extension :)

I would have to second the vote for Firebug, (or better yet, Chrome's Inspect).

You will find. I'm sure with a certain amount of frustration, that the source of a page can come from a multitude of sources. Firebug or Chrome inspect will take you a long way in dropping hints as to how it was constructed. Then, just start looking for the code that did the deed.

As an aside, I don't think you'll get much milage from Devel for this particular problem.

Similar questions

Is there a good way to inspect objects whose type is derived from the EntityDrupalWrapper class?
I'm sure this question applies to other complex object types, but EntityDrupalWrapper is the one I'm currently working with. This is the type of object returned by entity_metadata_wrapper() (and probably others). When using code like the following: the output from Devel is none too helpful: It doesn't show what you'd expect to see for a call to dpm...
How to inspect a variable when testing with `drush test-run`.
When testing with my SimpleTests, I want to inspect a variable. var_dump() and the likes are not being rendered in the output of Drush, Xdebug interactive debugger does not work due to the simulated browser being ran in DrupalWebTest. How can I render, export, inspect or otherwise dump the contents of a variable in my code? I.e. the DrupalWebTest o...
Inspect $form from hook API
How can I inspect the $form element from the hook_node_insert($node, $form, $form_value). I need to know how it construct. I try with firephp (dfb($form, 'form', FirePHP::LOG);) with no success. Please help.
How do I inspect mail messages in Behat tests?
I am writing a Behat Scenario that checks that an email generated by the Drupal system under test is sent to the correct recipient but I [could not] capture the mail messages from test_mail_collector. How do I do this? [Update] The code below is essentially my current working version and should work for you ... at least as long as you don't have an...
How to add css class attributes to the anchor element inside the links of a given menu by theme function
Do I miss something or is it impossible to theme the link anchor HTML element <ul class="main-menu"><li><a href="" class="put something in here"></li></ul> for a targeted menu on the theming level (theme functions)? We can theme the <li> elements and the menu block elements with HOOK_menu_link_MENU_NAME(). Thanks...
Drupal 7: assigning custom created user role to newly created user AS DEFAULT
I need newly created users to be assigned to a particular role as default. as default, a new user automatically assigned as "authenticated user" I also need as "content admin (custom created role)" any idea how to do that? appreciate helps!! Why I need that? I create a content admin role for client, I dont give administrator access. and they need t...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.