question bout text ads

Status
Not open for further replies.

anirtak143

New Member
Messages
213
Reaction score
0
Points
0
i would just like to ask:

if I chose the advanced package that only requires text ads, would the ads appear automatically?

what i mean is that I do not need to edit html and php files to add ads.

thanks in advance for replies...
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hey, if you choose one of the plans that needs ads, you will need to place the ads manually on each publicly visible page, you can view which ads you need to place here:

http://x10hosting.com/account/ads

If you need any more help, feel free to ask.
 

anirtak143

New Member
Messages
213
Reaction score
0
Points
0
thanks. i made a solution which MIGHT WORK.
i edited the footer.php file (coz i have not found any header file) and placed the script there..

here, check it out..

kevinmabz.co.cc/jl


and i'm staying at ad-enhanced, corporate.. ;)
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hey, it was a nice idea to edit the footer, the only problem is the corporate plan ad must be visible to the public without scrolling, this means it is probably best to put it in the header to avoid suspension, i am unsure if joomla has a header, i presume it would, if it doesn't create one called header.php and use the php include function to place it on each page.
 

anirtak143

New Member
Messages
213
Reaction score
0
Points
0
its a small page. it requires scrolling, but it does not reach one revolution of the middle mouse button..

anyway, if i make a header.php file, how would i do that? how would joomla know that there is a new header file?

i tried to search files using the file manager, no header file..

by the way, will this work? this is index2.php file by the way..
Code:
// start basic HTML
if ( $no_html == 0 ) {
	$customIndex2 = 'templates/'. $mainframe->getTemplate() .'/index2.php';
	if (file_exists( $customIndex2 )) {
		require( $customIndex2 );
	} else {
		// needed to seperate the ISO number from the language file constant _ISO
		$iso = split( '=', _ISO );
		// xml prolog
		echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
	?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<?php echo $mainframe->getHead(); ?>
			<link rel="stylesheet" href="templates/<?php echo $cur_template;?>/css/template_css.css" type="text/css" />
			<link rel="shortcut icon" href="<?php echo $mosConfig_live_site; ?>/images/favicon.ico" />
			<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
			<meta name="robots" content="noindex, nofollow" />
			<?php if ($my->id || $mainframe->get( 'joomlaJavascript' )) { ?>
			<script language="JavaScript" src="<?php echo $mosConfig_live_site;?>/includes/js/joomla.javascript.js" type="text/javascript"></script>
			<?php } ?>
		</head>
		<body class="contentpane">
			<?php mosMainBody(); ?>
		</body>
	</html>
Edit:
sorry for post under post.. i found a new way... its much more "comfortable" to the eyes.

and i changed installation

if you wanna see it, its at squad.kevinmabz.co.cc
 
Last edited:
Status
Not open for further replies.
Top