Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • osemollie Friend
    #166211

    I have created an animated logo in flash (.swf). How can i place it in the logo section of the Topaz template?

    Thanks

    khoand Friend
    #400823

    Hi,
    You replace this code by your logo from /opt/lampp/htdocs/topaz15/templates/ja_topaz/index.php


    <?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'); ?>
    <div class="logo-text">
    <h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    </div>
    <?php } ?>

    osemollie Friend
    #400916

    Sorry, I seem not very clear with these instructions….

    Assume my logo is called anim_logo.swf, how should I incorporate this code?

    Thanks for your patience.

    khoand Friend
    #400991

    You replace code I gave you with


    <object id="whatever" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0">
    <param name="src" value="anim_logo.swf"/>
    <param name="bgcolor" value="#FFFFFF"/>
    <param name="quality" value="best"/>
    <embed name="whatever" src="example.swf" width="400" height="300" bgcolor="#FFFFFF" quality="best" pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
    </object>

    osemollie Friend
    #401181

    It worked!…..

    Thanks Khoand.

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

This topic contains 5 replies, has 2 voices, and was last updated by  osemollie 13 years, 4 months ago.

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