Anyone help with a bit of coding? - Joomla! Forum - community, help and support


i have default slideshow kinda thing on template , think it's devouring bandwidth @ moment, want replace simple image. can tell me section need remove , code replace 1 image.  it's around runslideshow part, don't want hack , waste time!

code: select all


<?php
defined( '_valid_mos' ) or die( 'direct access location not allowed.' );
// needed seperate iso number language file constant _iso
$iso = split( '=', _iso );
// xml prolog - quirks mode
//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
if ( $my->id ) {
   initeditor();
}
mosshowhead();

require($mosconfig_absolute_path."/templates/" . $mainframe->gettemplate() . "/templateconfig.inc.php");
if ($menu_type == "splitmenu") {
   require($mosconfig_absolute_path."/templates/" . $mainframe->gettemplate() . "/rt_splitmenu.php");
   $forcehilite = false;
   $topnav = rtshowhorizmenu($menu_name);
   $sidenav = rtshowsubmenu($menu_name);
   $tabcolor = rtgettabcolor();
   $hilightid = rtgethilightid();   
}
?>
<meta http-equiv="content-type" content="text/html; <?php echo _iso; ?>" />
<link href="./templates/<?php echo $mainframe->gettemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<!--[if lte ie 6]>
<link href="./templates/<?php echo $mainframe->gettemplate(); ?>/css/template_ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<link href="./templates/<?php echo $mainframe->gettemplate(); ?>/css/<?php echo $template_color; ?>_color.css" rel="stylesheet" type="text/css" />

<link rel="shortcut icon" href="<?php echo $mosconfig_live_site;?>/images/favicon.ico" />
<script src="./templates/<?php echo $mainframe->gettemplate(); ?>/js/smartmini.js" type="text/javascript"></script>

<?php if($header_rotate) { ?>
<script src="./templates/<?php echo $mainframe->gettemplate(); ?>/js/blendtrans.js" type="text/javascript"></script>
<?php
   $slideshow = "runslideshow(\"header\",\"blendimage\",\"";
   for ($i=1; $i <= $header_image_count; $i++) {
      $slideshow .= "./templates/" . $mainframe->gettemplate() . "/images/main" . $template_color . $i . ".jpg;";
   }
   $slideshow = substr($slideshow,0,-1);
   $slideshow .= "\"," . $header_rotate_time . ");";
}
?>

</head>
<body onload='init_slider();<?php echo $slideshow; ?>' class="<?php echo $template_width; ?> <?php echo $template_orientation; ?>">
   <div id="wrapper">
      <div id="logo"></div>
      <div id="tshadow1">
         <div id="tshadow2">
            <div id="tshadow3"></div>
         </div>
      </div>
      <div id="mshadow1">
         <div id="mshadow2">
            <div id="mshadow3">
               <div id="mshadow4">
                  <div id="header">
                     <div id="blendimage"></div>
                  </div>
                  <div id="horizmenu">
                     <?php if($menu_type == "splitmenu"){ ?>
                     <?php echo $topnav; ?>
                     <?php } else { ?>
                        <?php mosloadmodules('menu', -2); ?>
                     <?php } ?>
                     <div class="clr"></div>
                  </div>
                  <table id="mainframe">

moving thread "templates" board.





Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial