Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • ardase Friend
    #128350

    I recent design the logo in swf, but , how to input in tempate?

    thanks

    Sherlock Friend
    #248329

    ardase !
    What joomla version do you use ?
    with joomla 1.0 you can do it by way :
    open index.php file in templates/ja_edenite folder, find following code section :


    <?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 into :


    <?php
    $siteName = $tmpTools->sitename();
    ?>
    <h1 class="logo"><!-- add flash source here --> </h1>

    ardase Friend
    #248339

    ohh hainn84 thanks , but what is tehe code to insert swf?

    i’m understand promated:confused:

    Sherlock Friend
    #248352

    This sample code for load swf file :


    <object width="900" height="278" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param value="templates/ja_edenite/images/flashfeed.swf" name="movie"/>
    <param value="high" name="quality"/>
    <param value="transparent" name="vmode"/>
    <embed width="900" height="278" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="templates/ja_edenite/images/flashfeed.swf"/>
    </object>

    red code is path to the swf file , you must change it to path to your swf file.

    ardase Friend
    #248410

    ohhhh very very thanks is that okkk 😀

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

This topic contains 5 replies, has 2 voices, and was last updated by  ardase 16 years, 6 months ago.

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