Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • computeur69 Friend
    #150251

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

    thanks

    micrantha Friend
    #339764

    Hello,
    Files for this framework template are differently organised.
    Take a look in file layouts/blocks/header.php
    There you will find the code which inserts the logo.

    regards,
    Micrantha

    yohanes1112 Friend
    #340233

    so, little change will work… thanks

    glassyrede Friend
    #342737

    Hello,

    I have the same problem.

    I try to modify the fiel template.css. I changed the path of the swf file logo.png previously located in specific folder but it does not work.

    Can you help me?

    Thanks

    toymaker Friend
    #342829

    Im working on a fix for all of you… I’ll be posting it during the day, please stand by 😉

    Peace,
    Gabriel

    ghostik Friend
    #342840

    can you post the link for your site
    solution should not be a problem

    computeur69 Friend
    #342909

    Ok i found this solution:
    you have to edit this file:
    templateja_purity_iiblockheader.php

    insert your flash objet code (the added code is in red) between those line:
    <?php

    $siteName = $this->sitename();

    if ($this->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=6,0,40,0″ width=”200″ height=”140″ align=”left”><param name=”width” value=”200″ /><param name=”height” value=”140″ /><param name=”align” value=”left” /><param name=”src” value=”images/logo.swf” /><embed type=”application/x-shockwave-flash” width=”200″ height=”140″ align=”left” src=”images/logo.swf”></embed></object> </h1>

    <?php else:

    $logoText = (trim($this->getParam(‘logoType-text-logoText’))==”) ? $config->sitename : $this->getParam(‘logoType-text-logoText’);

    $sloganText = (trim($this->getParam(‘logoType-text-sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $this->getParam(‘logoType-text-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 endif; ?>

    It worked for me, i hope it will help.

    ssaxton Friend
    #343884

    HI
    How would one go about replacing the images with a .swf ?
    Also is there a way to keep the header mask?

    Thanks,

    Steve

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

This topic contains 8 replies, has 7 voices, and was last updated by  ssaxton 14 years, 6 months ago.

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