I'm very new to Drupal, and I want to edit some text on the front page. In the page.tpl.php, I have this code print render($page['content']), if I remove it, then the area that I want to edit with is disappeared from the front page, so I know this is the right part, but how can I find out which page, content, or node is being called in the backend?

I'm using Drupal 7.55.


I'd recommend installing the Devel module and enabling Webprofiler. It gives you a lot of useful meta information about the current request, including the controller and route used:

enter image description here

  • How do you enable Webprofiler on D7? I know in D8 it's a module that comes with Devel, but I don't see it as a module in D7.
    – No Sssweat
    Aug 10 '17 at 8:23
  • 1
    I actually have the same question. I'm using drupal 7.55 and I installed and enable module Devel, but I don't see Webprofiler. Aug 10 '17 at 8:27
  • 1
    The question wasn't about Drupal 7 until after I answered it. The web profiler is from Symfony, so not available in Drupal 7.
    – Clive
    Aug 10 '17 at 8:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.