Jump to content
Sign in to follow this  
Aveatrex

Adding javascript totop website

Recommended Posts

Hello @Aveatrex!

 

Give us more information. What do you want make and what web site do you use?


Share this post


Link to post
Share on other sites

Hi @V3ct0r

I'm using LPO website and i want to add ad tags such as this 

<!--[ 300x250 Ad Tag ( mywebsite.com ) - MediaCPM // www.mediacpm.pl // ]-->
<script type="text/javascript"> var a = "12755"; var b = "300x250"; var network = "mediacpm.pl"; </script>
<script type="text/javascript" src="http://mediacpm.pl/serve/ads.js"></script>
<!--[ End of the Ad Tag - MediaCPM // www.mediacpm.pl // ]-->

Share this post


Link to post
Share on other sites
41 minutes ago, Aveatrex said:

Hi @V3ct0r

I'm using LPO website and i want to add ad tags such as this 

<!--[ 300x250 Ad Tag ( mywebsite.com ) - MediaCPM // www.mediacpm.pl // ]-->
<script type="text/javascript"> var a = "12755"; var b = "300x250"; var network = "mediacpm.pl"; </script>
<script type="text/javascript" src="http://mediacpm.pl/serve/ads.js"></script>
<!--[ End of the Ad Tag - MediaCPM // www.mediacpm.pl // ]-->

do u wanna add the ad tag to every page if so than go to your-website\templates\core >> and open the header.tpl with any code editor and add it any where after the JS tag 

it should look something like 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta charset="utf-8">
		<title>{$servername}{$pagename}</title>
		<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
		<!-- CSS -->
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />	
		<!-- JS -->
		<script type="text/javascript" src="js/custom.js"></script>
		<script type="text/javascript" src="js/jquery.ui.widget.js" type="text/javascript"></script>
		<script type="text/javascript" src='js/jquery.easing.js'></script>
     <!-- Your code -->
      <!--[ 300x250 Ad Tag ( mywebsite.com ) - MediaCPM // www.mediacpm.pl // ]-->
		<script type="text/javascript"> var a = "12755"; var b = "300x250"; var network = "mediacpm.pl"; </script>
	<script type="text/javascript" src="http://mediacpm.pl/serve/ads.js"></script>
	<!--[ End of the Ad Tag - MediaCPM // www.mediacpm.pl // ]-->

PS: if you are doing this to get some extra cash from ads i wouldnt really bother with it since you will at least need thousands of click daily to even make few dollars so most of them will give you 1$ for every 3-10k clicks, which means even with the most active top servers wont make more than 5-15$ a month so it really isnt worth all the ads that pop 

Edited by TheLegend

Share this post


Link to post
Share on other sites
14 hours ago, TheLegend said:

do u wanna add the ad tag to every page if so than go to your-website\templates\core >> and open the header.tpl with any code editor and add it any where after the JS tag 

it should look something like 


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta charset="utf-8">
		<title>{$servername}{$pagename}</title>
		<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
		<!-- CSS -->
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />	
		<!-- JS -->
		<script type="text/javascript" src="js/custom.js"></script>
		<script type="text/javascript" src="js/jquery.ui.widget.js" type="text/javascript"></script>
		<script type="text/javascript" src='js/jquery.easing.js'></script>
     <!-- Your code -->
      <!--[ 300x250 Ad Tag ( mywebsite.com ) - MediaCPM // www.mediacpm.pl // ]-->
		<script type="text/javascript"> var a = "12755"; var b = "300x250"; var network = "mediacpm.pl"; </script>
	<script type="text/javascript" src="http://mediacpm.pl/serve/ads.js"></script>
	<!--[ End of the Ad Tag - MediaCPM // www.mediacpm.pl // ]-->

PS: if you are doing this to get some extra cash from ads i wouldnt really bother with it since you will at least need thousands of click daily to even make few dollars so most of them will give you 1$ for every 3-10k clicks, which means even with the most active top servers wont make more than 5-15$ a month so it really isnt worth all the ads that pop 

Hi TheLegend,first of all thank you im going to try this right away soon thank you again,btw you are right about the ads but i have my own methods to bring traffic to website around 10k-30k per day so i'm testing it right away if it's worthed :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...