Jump to content

Joomla Template ( yes, its PHP)


skymanj

Recommended Posts

This is a template for my website that I am currently using.  I need to find the title area, and i just cant at my skill level.  Could some one please help me find and fix the banner and title area?  IF you use Joomla you'll understand what I'm talking about a little better.

<?php
/*------------------------------------------------------------------------
# Lavinya Mambo/Joomla Temlate 3.0 - November 18, 2006
# @license - GNU/GPL
# Author: Murat Esgin
# Websites:  http://www.lavinya.net
-------------------------------------------------------------------------*/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = explode( '=', _ISO );
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 mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="content-type" content="text/html; <?php echo _ISO; ?>"/>
<link href="<?php echo $mosConfig_live_site;?>/templates/lavinyav3/css/template_css.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<!--Main-->
<table class="table1">
<tr>
	<td>
		<table class="table2">
			<tr>
<td class="td1">
				<h1 id="header" onclick="location.href='<?php echo $mosConfig_live_site;?>/';" style="cursor: pointer;">
<a href="<?php echo $mosConfig_live_site;?>/"><?php echo $mosConfig_sitename; ?></a></h1>
    <h2> <?php echo $mosConfig_MetaDesc; ?> </h2></td>

			</tr>

		</table>
	</td>
</tr>
<tr>
	<td style="vertical-align: top;" class="yuks">
		<table class="table3">
			<tr>
				<td class="td2">
					<?php mosLoadModules ( 'left' ); ?>
				</td>

			<td class="td3">
                                            <div>
<?php mosPathWay(); ?>
<?php
	if (mosCountModules('banner') >= 1) {
	?>
		<!-- start banner.  -->
		<div id="banner">
		<?php mosLoadModules('banner'); ?>
		</div>
		<!-- end banner. -->
	<?php
	}
	?>

                                                <?php mosMainBody(); ?>
                                                </div>
				</td>
                	<!--yan-->

    <td class="td33">
<div>
<?php mosLoadModules('right'); ?>
<?php mosLoadModules('user4'); ?>
</div>
</td>
			</tr>
		</table>
	</td>
</tr>
<!--Footer-->
<tr>
	<td>
		<table class="table5">
			<tr>

				<td class="td4">
					<span class="footer">Powered by <a href="http://mamboserver.com/" target="_blank">Mambo</a> and template designed by <a title="Lavinia" href="http://www.lavinya.net/" target="_blank">Lavinia</a>  Template Valid w3c <a href="http://validator.w3.org/check?uri=referer" target="_blank">XHTML 1.0</a></span>
				</td>
			</tr>
		</table>
	</td>
</tr>
</table>
</center>
</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/56467-joomla-template-yes-its-php/
Share on other sites

Ok... so the header and config site name are found here:

<h1 id="header" onclick="location.href='<?php echo $mosConfig_live_site;?>/';" style="cursor: pointer;">
<a href="<?php echo $mosConfig_live_site;?>/"><?php echo $mosConfig_sitename; ?></a></h1>

and banner is here:

<?php
	if (mosCountModules('banner') >= 1) {
	?>
		<!-- start banner.  -->
		<div id="banner">
		<?php mosLoadModules('banner'); ?>
		</div>
		<!-- end banner. -->
	<?php
	}
	?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.