How to insert ads in PHP-Nuke

Status
Not open for further replies.

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
Inserting the Ads in PHP-Nuke is really easy, you've just to edit one file.
You can add before the ad code <div align="center">, and after the code </div> to make it look nicer by centering the ad.

For the Corporate plan:
You'll need to edit the header.php that is located in the root PHP-Nuke folder. You can edit the file by using an FTP client, or FileManager (from cPanel). Edit the header.php, and in the very top of the file, even before the "<?php" add the code (it will work with both JavaScript and PHP codes). And that's it, save the file and you'll have the ad working.

For the Advanced plan:
You'll need to edit the footer.php that is located in the root PHP-Nuke folder. You can edit the file by using an FTP client, or FileManager (from cPanel). Edit the footer.php, and in the very top of the file, even before the "<?php" add the code (it will work with both JavaScript and PHP codes). And that's it, save the file and you'll have the ad working.

If you still can't insert the Ads, please post in the "Free Hosting" board.
 
Last edited:
Status
Not open for further replies.
Top