I'm writing a module for Drupal 7 that gives every user with the right permissions a new page in his profile. I want this page to only display the Drupal header and a div with a specific ID, for a JS web app to attach itself to. AFAIK, the easiest way to do this would be by using a template file that only prints those two things.
From what I read in Create a template for a custom page in Drupal 7?, I just need to create a page--user--%--POD.tpl.php file, which I have (the new page resides at the path user/%/POD). I have als added this file to my .info file.
name = Module with some template problems ... files = page--user--7--POD.tpl.php
As a way of minimizing factors, I've started by creating a page for user 7 only, but this will have to work for any user eventually. I have uninstalled the module, cleared all caches and reinstalled it again, but it still doesn't get used when I browse to user/7/POD.
Any help would be greatly appreciated.
According to https://drupal.org/node/1089656, the correct hook suggestion that I need to implement would be page--user--POD.tpl.php. I've renamed my template file accordingly. No success yet.