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.
I want my code to open a new browser window to one of several locations
(a) an outside URL
(b) an inside page which does not show header, nav info but just my own HTML
Question:
How do I do this? I tried printing a form + javascript to submit the form but this html appears in the page before the html tag, and get javascript error that the form does not exist. So that does not work.
I cannot find a PHP or drupal function that opens a new browser window to a new URL.
...after registration. What function or program does it use? Am trying to solve this problem -- http://drupal.org/node/41614. Have looked into user.module, but am not that advanced yet in PHP programming to understand the entire module. Thanks!
Image block on the front page gives out similar pictures for recent image and random image. Is there anyway we can stop recent image being displayed as random image.
Kind regards
Onesimpleman
I've seen some other threads about AdSense revenue sharing, but seems there's no modules that do this yet. I have a website and I want the users to be able to enter their AdSense publisher ID so that on their blog pages a % of the time the Ads will be under their ID. I don't know PHP much, just enough to get by on tweaking things, but I'm not sure how this would be done.
I know there's hacks out there to do this in vBulletin and such. Can anyone help me out?