The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 19 posts ] 
Author Message
PostPosted: Mon Jan 14, 2008 8:53 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 15, 2007 5:53 pm
Posts: 176
Location: India
I have managed to place  a flash instead of the header logo.I am using rhuk_solarflare_ii template but i am having a strange problem.After replacing the logo their is a gap which is left in between the flash movie and the top menu.

Please check out the website and give me some suggestions http://www.ieeenmit.org
the HTML codes look like this:
Code:
<body>
<div align="center">
   <table border="0" cellpadding="0" cellspacing="0" width="808">
      <tr>
         <td class="outline">
              
              
              <div id="header_outer">
                                  <div id="header">
                                
                 </div>
                               
       <CENTER>
<OBJECT CLASSID="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" ID="IncrediFlash" Width="800" Height="150">
<PARAM NAME="movie" VALUE="header_short.swf">
<PARAM NAME="bgcolor" VALUE="#000000">
<EMBED NAME="IncrediFlash" SRC="/templates/rhuk_solarflare_ii/images/header_short.swf" BGCOLOR="#000000"
WIDTH="800" HEIGHT="150" TYPE="application/x-shockwave-flash" pluginspage=http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
</CENTER>

</div>


I will be very glad if someone could help  :)

_________________
Parallel Thoughts http://www.srikanta.co.cc/blog


Last edited by psrikanta on Thu Jan 24, 2008 5:23 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Jan 14, 2008 10:44 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Apr 03, 2007 8:51 pm
Posts: 141
delete

Code:
<div id="header">                             
                 </div>
                               


edit -> should work but i'm not sure  :-[

_________________
"a picture is worth a thousand words."


Top
 Profile  
 
PostPosted: Tue Jan 15, 2008 4:16 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 15, 2007 5:53 pm
Posts: 176
Location: India
Steve3, YOU ARE MY HERO :laugh:

It has worked.

Thank you very very much  :)

_________________
Parallel Thoughts http://www.srikanta.co.cc/blog


Top
 Profile  
 
PostPosted: Wed Jan 16, 2008 7:04 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 24, 2007 11:48 am
Posts: 17
nice web there, n i think u should change the favicon too  ;D


Top
 Profile  
 
PostPosted: Wed Jan 16, 2008 4:05 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 15, 2007 5:53 pm
Posts: 176
Location: India
would love to change the favicon but dont know where to create a new one... any idea??

_________________
Parallel Thoughts http://www.srikanta.co.cc/blog


Top
 Profile  
 
PostPosted: Thu Jan 17, 2008 5:12 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Thu Nov 09, 2006 2:46 pm
Posts: 4859
Location: Kampala, Uganda
Quote:
would love to change the favicon but dont know where to create a new one... any idea??


Create the icon you want to use and size it down to 16x16 pixels.  Save it as a gif or png.

Then go here:  http://tools.dynamicdrive.com/favicon/&nbsp; or here:  http://www.webscriptlab.com

That tool will convert your gif to an ico file.  Save it as favicon.ico.

Then, upload that file to your images folder.  It may take a few browser refreshes before it shows up.

_________________
John Muehleisen
Visit my "Getting Started with Joomla" site, now with videos, tips, and new user tutorials:  http://welcometojoomla.com


Top
 Profile  
 
PostPosted: Thu Jan 17, 2008 4:05 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 15, 2007 5:53 pm
Posts: 176
Location: India
@jmuehleisen,

Thank you very much,it has worked.


FOR ALL THOSE WHO NEED HELP WITH THIS TOPIC CHECK THESE POSTS ALSO:

index.php/topic,215604.msg1005284.html#msg1005284

index.php/topic,248724.msg1139392.html#msg1139392

_________________
Parallel Thoughts http://www.srikanta.co.cc/blog


Last edited by pe7er on Wed Jun 04, 2008 4:51 pm, edited 2 times in total.
referer link removed


Top
 Profile  
 
PostPosted: Fri Jan 18, 2008 11:48 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jan 18, 2008 11:31 pm
Posts: 2
I am trying to use flash header but it show the background nothign else do flash movie play my code is exactly like your one please let me know whats the problem or please send me a copy of whole index code , please i am in trouble


Top
 Profile  
 
PostPosted: Sat Jan 19, 2008 12:10 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 14, 2006 9:37 am
Posts: 1148
Location: Washington
mokter12 wrote:
I am trying to use flash header but it show the background nothign else do flash movie play my code is exactly like your one please let me know whats the problem or please send me a copy of whole index code , please i am in trouble


Is the code correct for your flash? Is the path to your flash correct? Do you have a link to your site...so someone can take a look at it?


Chad

_________________
-Chad
JTS- Post Assistant: http://forum.joomla.org/viewtopic.php?f=428&t=272481
Joomla! Documentation: http://docs.joomla.org/Main_Page


Top
 Profile  
 
PostPosted: Sat Jan 19, 2008 6:53 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jan 18, 2008 11:31 pm
Posts: 2
Hello chad
Thanks for your reply and if you kindly tell me the step by step guide how can i replace my header with flash it would be really good for me and the code look like this in index.php





 
 
 

                                 
                         

CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" ID="IncrediFlash" Width="800" Height="150">


WIDTH="800" HEIGHT="150" TYPE="application/x-shockwave-flash" pluginspage=http://www.macromedia.com/go/getflashplayer">






and i did no change on my css
Thanks in advance for your help

Top
 Profile  
 
PostPosted: Sat Jan 19, 2008 7:02 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 14, 2006 9:37 am
Posts: 1148
Location: Washington
Looks to me like some of the code is a little funky....

If you have the .swf in your template directory...what is the URL of your site. Post that information and I could probably write something out that should work...


Chad

_________________
-Chad
JTS- Post Assistant: http://forum.joomla.org/viewtopic.php?f=428&t=272481
Joomla! Documentation: http://docs.joomla.org/Main_Page


Top
 Profile  
 
PostPosted: Sat Jan 19, 2008 7:57 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 14, 2006 9:37 am
Posts: 1148
Location: Washington
leahcim_dach wrote:
Looks to me like some of the code is a little funky....

If you have the .swf in your template directory...what is the URL of your site. Post that information and I could probably write something out that should work...


Chad


Looks to me like you just copied and pasted someone else's code to make it work in yours...not gonna work. Below is a link to a site that will generate the code you need. Just give the server name (i.e.- http://www.your_domain.com) and the path to the file (i.e.- /images/banners/your_flash.swf). After you have done that, you select a couple parameters, like height and width, etc., etc.. Click on"Submit" and it magically spits out the code you need to embed the flash. Give it a whirl...

http://cit.ucsf.edu/embedmedia/step2.php?mediatype=Flash

[Edit]- Just for reference, the code you have, along with the code mentioned earlier in the thread doesn't validate. If you're into having an XHTML1.0 valid site...you will need to change the code a bit. Let me know and I can show you how to do that.


Chad

_________________
-Chad
JTS- Post Assistant: http://forum.joomla.org/viewtopic.php?f=428&t=272481
Joomla! Documentation: http://docs.joomla.org/Main_Page


Last edited by leahcim_dach on Sat Jan 19, 2008 8:03 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Thu Jul 30, 2009 9:12 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jul 30, 2009 8:02 am
Posts: 5
Please please help me!!! I dont know how to replace a jpg header with a swf file? HELP!!! Here is the index code:

<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
?>
<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

<!--[if lte IE 6]>
<link href="templates/<?php echo $this->template ?>/css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->

</head>

<body id="page_bg">
<div id="top">
<h1><a href="index.php"></a></h1>
<div id="search">
<jdoc:include type="modules" name="user4" />
</div>
<div class="clr"></div>
</div>

<div id="pillmenu">
<jdoc:include type="modules" name="user3" />
</div>

<div id="header">
<div id="inner_header">
<div id="inner_header2">
<div id="rightpart">
<div id="latest">
<jdoc:include type="modules" style="rounded" name="user1" />
</div>
<div class="clr"></div>
<div id="newsflash">
<jdoc:include type="modules" style="rounded" name="top" />
</div>
</div>
<div class="blick"></div>
</div>
</div>
</div>

<div id="wrapper">
<div id="holder1">
<div id="holder2">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php $wd123 = 'banner'; include "templates.php"; ?>
</div>
<?php endif; ?>

<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn">
<?php else: ?>
<div id="maincolumn_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightcolumn" style="float:right;">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
<div class="clr"></div>
<jdoc:include type="modules" name="debug" />
</div>
</div>
<div id="footer">
<?php $wd123 = ''; include "templates.php"; ?>
<p style="text-align: center;">
<a href="http://validator.w3.org/check/referer">valid xhtml</a>
<a href="http://jigsaw.w3.org/css-validator/check/referer">valid css</a>
</p>
</div>
</div>
</body>
</html>


Top
 Profile  
 
PostPosted: Tue Aug 11, 2009 2:47 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Aug 11, 2009 2:36 pm
Posts: 1
I understand jpg is registered in the css?

_________________
Movie Downloads


Top
 Profile  
 
PostPosted: Tue Aug 11, 2009 5:41 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jul 30, 2009 8:02 am
Posts: 5
Yes. Tried changing it to swf in css to but just get that horrible white block!!!!!!!!!!!!!!!!


Top
 Profile  
 
PostPosted: Tue Oct 20, 2009 2:53 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 15, 2007 5:53 pm
Posts: 176
Location: India
@bradbrad Delete the lines in between <Head> and </Head> . In that space paste the code you have got with SWF file. That will solve you problem. Have a look at the source of this website www.ieeenmit.org

_________________
Parallel Thoughts http://www.srikanta.co.cc/blog


Top
 Profile  
 
PostPosted: Sat Oct 24, 2009 5:31 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Oct 24, 2009 3:26 pm
Posts: 20
I got a white blank too and this is what I have in my index.php file:

Code:
<?php
/**
 * @copyright   Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
 * @license      GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

include_once (dirname(__FILE__).DS.'/ja_vars.php');

?>

<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

<head>
<jdoc:include type="head" />
<?php JHTML::_('behavior.mootools'); ?>

<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />

<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js"></script>

<?php if ($tmpTools->getParam('rightCollapsible')): ?>
<script language="javascript" type="text/javascript">
var rightCollapseDefault='<?php echo $tmpTools->getParam('rightCollapseDefault'); ?>';
var excludeModules='<?php echo $tmpTools->getParam('excludeModules'); ?>';
</script>
<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.rightcol.js"></script>
<?php endif; ?>

<?php  if($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template_rtl.css" type="text/css" />
<?php else : ?>
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/menu.css" type="text/css" />
<?php endif; ?>

<?php if ($this->countModules('hornav')): ?>
<?php if ($tmpTools->getParam('horNavType') == 'css'): ?>
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja-sosdmenu.css" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.cssmenu.js"></script>
<?php else: ?>
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja-sosdmenu.css" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.moomenu.js"></script>
<?php endif; ?>
<?php endif; ?>

<?php if ($tmpTools->getParam('theme_header') && $tmpTools->getParam('theme_header')!='-1') : ?>
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/styles/header/<?php echo $tmpTools->getParam('theme_header'); ?>/style.css" type="text/css" />
<?php endif; ?>
<?php if ($tmpTools->getParam('theme_background') && $tmpTools->getParam('theme_background')!='-1') : ?>
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/styles/background/<?php echo $tmpTools->getParam('theme_background'); ?>/style.css" type="text/css" />
<?php endif; ?>
<?php if ($tmpTools->getParam('theme_elements') && $tmpTools->getParam('theme_elements')!='-1') : ?>
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/styles/elements/<?php echo $tmpTools->getParam('theme_elements'); ?>/style.css" type="text/css" />
<?php endif; ?>

<!--[if gte IE 7.0]>
<style type="text/css">
.clearfix {display: inline-block;}
</style>
<![endif]-->
<?php if ($tmpTools->isIE6()): ?>
<!--[if lte IE 6]>
<script type="text/javascript">
var siteurl = '<?php echo $tmpTools->baseurl();?>';

window.addEvent ('load', makeTransBG);
function makeTransBG() {
   fixIEPNG($E('.ja-headermask'), '', '', 1);
   fixIEPNG($E('h1.logo a'));
   fixIEPNG($$('img'));
   fixIEPNG ($$('#ja-mainnav ul.menu li ul'), '', 'scale', 0, 2);
}
</script>
<style type="text/css">
.ja-headermask, h1.logo a, #ja-cssmenu li ul { background-position: -1000px; }
#ja-cssmenu li ul li, #ja-cssmenu li a { background:transparent url(<?php echo $tmpTools->templateurl(); ?>/images/blank.png) no-repeat right;}
.clearfix {height: 1%;}
</style>
<![endif]-->
<?php endif; ?>

<style type="text/css">
#ja-header,#ja-mainnav,#ja-container,#ja-botsl,#ja-footer {width: <?php echo $tmpWidth; ?>;margin: 0 auto;}
#ja-wrapper {min-width: <?php echo $tmpWrapMin; ?>;}
</style>
</head>

<body id="bd" class="fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?> <?php echo $tmpTools->browser();?>" >
<a name="Top" id="Top"></a>
<ul class="accessibility">
   <li><a href="#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
   <li><a href="#ja-mainnav" title="<?php echo JText::_("Skip to main navigation");?>"><?php echo JText::_("Skip to main navigation");?></a></li>
   <li><a href="#ja-col1" title="<?php echo JText::_("Skip to 1st column");?>"><?php echo JText::_("Skip to 1st column");?></a></li>
   <li><a href="#ja-col2" title="<?php echo JText::_("Skip to 2nd column");?>"><?php echo JText::_("Skip to 2nd column");?></a></li>
</ul>

<div id="ja-wrapper">

<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
   <div id="ja-header" class="clearfix" style="background: url(<?php echo $tmpTools->templateurl(); ?>/images/header/<?php echo $tmpTools->getRandomImage(dirname(__FILE__).DS.'images/header'); ?>) no-repeat top <?php if($this->direction == 'rtl') echo 'left'; else echo 'right';?>;">

   <div class="ja-headermask">&nbsp;</div>

   <?php
      $siteName = $tmpTools->sitename();
      if ($tmpTools->getParam('logoType')=='image'): ?>
      <h1 class="logo">
         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="150"><param name="movie" value="Banner.swf"><param name="quality" value="high"><embed src="/templates/ja_purity/images/Banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="150"></embed></object>
      </h1>
   <?php else:
      $logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
      $sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText');   ?>
      <h1 class="logo-text">
         <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
      </h1>
      <p class="site-slogan"><?php echo $sloganText;?></p>
   <?php endif; ?>

   <?php $tmpTools->genToolMenu(JA_TOOL_FONT, 'png'); ?>

   <?php if($this->countModules('user4')) : ?>
      <div id="ja-search">
         <jdoc:include type="modules" name="user4" />
      </div>
   <?php endif; ?>

   </div>
</div>
<!-- END: HEADER -->

<!-- BEGIN: MAIN NAVIGATION -->
<?php if ($this->countModules('hornav')): ?>
<div id="ja-mainnavwrap">
   <div id="ja-mainnav" class="clearfix">
   <jdoc:include type="modules" name="hornav" />
   </div>
</div>
<?php endif; ?>
<!-- END: MAIN NAVIGATION -->

<div id="ja-containerwrap<?php echo $divid; ?>">
<div id="ja-containerwrap2">
   <div id="ja-container">
   <div id="ja-container2" class="clearfix">

      <div id="ja-mainbody<?php echo $divid; ?>" class="clearfix">

      <!-- BEGIN: CONTENT -->
      <div id="ja-contentwrap">
      <div id="ja-content">

         <jdoc:include type="message" />

         <?php if(!$tmpTools->isFrontPage()) : ?>
         <div id="ja-pathway">
            <jdoc:include type="module" name="breadcrumbs" />
         </div>
         <?php endif ; ?>

         <jdoc:include type="component" />

         <?php if($this->countModules('banner')) : ?>
         <div id="ja-banner">
            <jdoc:include type="modules" name="banner" />
         </div>
         <?php endif; ?>

      </div>
      </div>
      <!-- END: CONTENT -->

      <?php if ($this->countModules('left')): ?>
      <!-- BEGIN: LEFT COLUMN -->
      <div id="ja-col1">
         <jdoc:include type="modules" name="left" style="xhtml" />
      </div><br />
      <!-- END: LEFT COLUMN -->
      <?php endif; ?>

      </div>

      <?php if ($this->countModules('right')): ?>
      <!-- BEGIN: RIGHT COLUMN -->
      <div id="ja-col2">
         <jdoc:include type="modules" name="right" style="jarounded" />
      </div><br />
      <!-- END: RIGHT COLUMN -->
      <?php endif; ?>

   </div>
   </div>
</div>
</div>

<?php
$spotlight = array ('user1','user2','top','user5');
$botsl = $tmpTools->calSpotlight ($spotlight,99,22);
if( $botsl ) :
?>
<!-- BEGIN: BOTTOM SPOTLIGHT -->
<div id="ja-botslwrap">
   <div id="ja-botsl" class="clearfix">

     <?php if( $this->countModules('user1') ): ?>
     <div class="ja-box<?php echo $botsl['user1']['class']; ?>" style="width: <?php echo $botsl['user1']['width']; ?>;">
         <jdoc:include type="modules" name="user1" style="xhtml" />
     </div>
     <?php endif; ?>

     <?php if( $this->countModules('user2') ): ?>
     <div class="ja-box<?php echo $botsl['user2']['class']; ?>" style="width: <?php echo $botsl['user2']['width']; ?>;">
         <jdoc:include type="modules" name="user2" style="xhtml" />
     </div>
     <?php endif; ?>

     <?php if( $this->countModules('top') ): ?>
     <div class="ja-box<?php echo $botsl['top']['class']; ?>" style="width: <?php echo $botsl['top']['width']; ?>;">
         <jdoc:include type="modules" name="top" style="xhtml" />
     </div>
     <?php endif; ?>

     <?php if( $this->countModules('user5') ): ?>
     <div class="ja-box<?php echo $botsl['user5']['class']; ?>" style="width: <?php echo $botsl['user5']['width']; ?>;">
         <jdoc:include type="modules" name="user5" style="xhtml" />
     </div>
     <?php endif; ?>

   </div>
</div>
<!-- END: BOTTOM SPOTLIGHT -->
<?php endif; ?>

<!-- BEGIN: FOOTER -->
<div id="ja-footerwrap">
<div id="ja-footer" class="clearfix">

   <div id="ja-footnav">
      <jdoc:include type="modules" name="user3" />
   </div>

   <div class="copyright">
      <jdoc:include type="modules" name="footer" />
   </div>

   <div class="ja-cert">
      <jdoc:include type="modules" name="syndicate" />
    <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" title="<?php echo JText::_("CSS Validity");?>" style="text-decoration: none;">
      <img src="<?php echo $tmpTools->templateurl(); ?>/images/but-css.gif" border="none" alt="<?php echo JText::_("CSS Validity");?>" />
      </a>
      <a href="http://validator.w3.org/check/referer" target="_blank" title="<?php echo JText::_("XHTML Validity");?>" style="text-decoration: none;">
      <img src="<?php echo $tmpTools->templateurl(); ?>/images/but-xhtml10.gif" border="none" alt="<?php echo JText::_("XHTML Validity");?>" />
      </a>
   </div>

   <br />
</div>
</div>
<!-- END: FOOTER -->

</div>

<jdoc:include type="modules" name="debug" />

</body>

</html>


Can anybody tell me if there is any mistake with it? What do I have to do to make it work? Working on version 1.5 btw.

Thanks.


Top
 Profile  
 
PostPosted: Tue Feb 16, 2010 9:05 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Nov 02, 2005 4:38 pm
Posts: 35
Location: Portland, OR
I am trying to replace my header in the JA_purity template and it's proving to be very difficult.

#1: The template does not seem to be utilizing the 'header' module, so the flash header modules are not working.
#2.) The code on the index.php file is strange and not easy to distinguish WHERE to insert the embedded code. It currently has a rotating pictures feature which I really dont care to use. The full top header section is where I want to put a full header .swf.

Here is a copy of the header section:

Code:
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
   <div id="ja-header" class="clearfix" style="background: url(<?php echo $tmpTools->templateurl(); ?>/images/header/<?php echo $tmpTools->getRandomImage(dirname(__FILE__).DS.'images/header'); ?>) no-repeat top <?php if($this->direction == 'rtl') echo 'left'; else echo 'right';?>;">

   <div class="ja-headermask">&nbsp;</div>

   <?php
      $siteName = $tmpTools->sitename();
      if ($tmpTools->getParam('logoType')=='image'): ?>
      <h1 class="logo">
         <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
      </h1>
   <?php else:
      $logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
      $sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText');   ?>
      <h1 class="logo-text">
         <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
      </h1>
      <p class="site-slogan"><?php echo $sloganText;?></p>
   <?php endif; ?>

   <?php $tmpTools->genToolMenu(JA_TOOL_FONT, 'png'); ?>

   <?php if($this->countModules('user4')) : ?>
      <div id="ja-search">
         <jdoc:include type="modules" name="user4" />
      </div>
   <?php endif; ?>

   </div>
</div>
<!-- END: HEADER -->


everything inbetween my <head> and </head> is CSS, so deleting and just pasting there would not help...
So where would I go about placing the embedded code for the SWF? THANKS In advance for your help!!!

_________________
-Jyn


Top
 Profile  
 
PostPosted: Mon Apr 30, 2012 7:35 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 15, 2007 5:53 pm
Posts: 176
Location: India
Try deleting all the stuff inside the header tag, that will give you some starting point. Else insert into the tag <div id="ja-header">. I feel that should work

_________________
Parallel Thoughts http://www.srikanta.co.cc/blog


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 



Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group