test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • LOPEZ LEGIDOJOSE ANGEL Friend
    #130419

    Hi, everybody:
    I am a registered user of JA Edenite template for Joomla 1.5. I would like to change the logo.gif that I made for my website (http://www.spedify.org) to logo.swf. I have uploaded both files to my server, but I do not know what do change to use the flash file, not the gif file. Anybody can give me a clear answer on how to proceed?. The problem is what code to add and where to make the flash logo appear in place of the normal gif Template file.
    Thanks a lot

    Legido

    Sherlock Friend
    #257773

    Hi
    you must edit index.php(templates/ja_edenite/ folder):
    Those lines

    <!-- BEGIN: HEADER -->
    <div id="ja-header" class="clearfix">

    <?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 } ?>

    <?php if ($this->countModules('top')) { ?>
    <div id="ja-login">
    <jdoc:include type="modules" name="top" style="raw" />
    </div>
    <?php } ?>

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

    Change to

    <!-- BEGIN: HEADER -->
    <div id="ja-header" class="clearfix">

    <!-- And your code flash here-->

    <?php if ($this->countModules('top')) { ?>
    <div id="ja-login">
    <jdoc:include type="modules" name="top" style="raw" />
    </div>
    <?php } ?>

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

    Sherlock Friend
    #257790

    Hi LOPEZ LEGIDOJOSE ANGEL !
    You can add logo flash to your site by way below :
    Open index.php file in templates/ja_edenite folder , find following code section at about line 79 :


    <?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 } ?>

    change to :


    <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="500" height="65">
    <param name="movie" value="<?php echo $tmpTools->templateurl(); ?>/images/logo.swf" />
    <param name="quality" value="high" />
    <embed src="<?php echo $tmpTools->templateurl(); ?>/images/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="65"></embed>
    </object>

    LOPEZ LEGIDOJOSE ANGEL Friend
    #257802

    Thank you, Hainn 84. I did as you indicated, and it is working beautifully.
    Thank you again.

    Legido

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  LOPEZ LEGIDOJOSE ANGEL 16 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum