Mayank657 Posted October 1, 2023 Share Posted October 1, 2023 (edited) How to put advertisement section in control panel. Like this and put ads in it Edited October 1, 2023 by Mayank657 Quote Link to comment Share on other sites More sharing options...
TinkerMan Posted October 1, 2023 Share Posted October 1, 2023 There is literally an option called “adverts” or “advertisements” in the MOFH panel. Add the code you want to display there, you will need both the HTML for the box you screenshotted and the ad code. Quote Link to comment Share on other sites More sharing options...
SpookyKipper Posted October 1, 2023 Share Posted October 1, 2023 9 hours ago, Mayank657 said: How to put advertisement section in control panel. Like this and put ads in it by entering HTML code in the Adverts section? Quote Link to comment Share on other sites More sharing options...
Mayank657 Posted October 1, 2023 Author Share Posted October 1, 2023 1 hour ago, SpookyKipper said: by entering HTML code in the Adverts section? Bro I already did that. But it show like this But I want this above in this Quote Link to comment Share on other sites More sharing options...
TinkerMan Posted October 1, 2023 Share Posted October 1, 2023 Because: 1 hour ago, TinkerMan said: you will need both the HTML for the box you screenshotted and the ad code. you forgot the first part Quote Link to comment Share on other sites More sharing options...
Anyx Posted October 1, 2023 Share Posted October 1, 2023 11 hours ago, Mayank657 said: How to put advertisement section in control panel. Like this and put ads in it What you're looking to add is a panel widget; you could fetch the code from one of iFastNet's defaults via your browser's DevTools and customize it to your liking, here's how I would go about it: <div class="panel panel-widget"> <div class="panel-heading widget-heading"> <span id="advertisement-header" class="group-header">Advertisement</span> </div> <div class="panel-body icon-container-body"> <!--Your code here--> </div> </div> Quote Link to comment Share on other sites More sharing options...
Mayank657 Posted October 1, 2023 Author Share Posted October 1, 2023 40 minutes ago, Anyx said: What you're looking to add is a panel widget; you could fetch the code from one of iFastNet's defaults via your browser's DevTools and customize it to your liking, here's how I would go about it: <div class="panel panel-widget"> <div class="panel-heading widget-heading"> <span id="advertisement-header" class="group-header">Advertisement</span> </div> <div class="panel-body icon-container-body"> <!--Your code here--> </div> </div> Yes it works but it looks odd with the cpanel theme i use Quote Link to comment Share on other sites More sharing options...
TinkerMan Posted October 1, 2023 Share Posted October 1, 2023 Well then modify the CSS/HTML so it looks right ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.