Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
For a custom module I am developing, I am trying to find a way to capture the time a user spends viewing a node/page in real time. In this quest, I have been tinkering with the _init and _exit hooks - but that does not seem to be accomplishing the goal. Any ideas on how to accomplish this are greatly appreciated!
Whether I use the menu link or go to the direct url /admin/modules doesn't show up. When I could get the page I have a new module that won't show up on the list so that I can enable it. It's _node_name, all function names begin with, and the name of the file is insurance. I'm stumped. Thoughts? Suggestions?
I have tried everything possible to try to find a way to insert the Google AdSense code:
if (module_exist("adsense"))
{
print adsense_display("120x600", 2, 4);
}
In my nodes, under the links, and didn't find any way to achieve it. I am using the BlueMarine template, so it is a .xtmpl and I do not want the AdSense in the trimmed versions. Can somebody help?
Thanks you,
I am also using the latest upgrade of the Google AdSense module.