Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • mustafak Friend
    #132877

    Hello,

    I am trying to put a flash file (.swf) instead of the header1,header2,header3,header4 images but I can’t figure out how to do it.

    I tried creating a new module and positioned it in the header, but it doesn’t work. Can any one please help?

    I am a little new to this so more explanation will be appreciated 😀

    Sherlock Friend
    #269675

    Hi mustafak !
    you can do it following way below :
    Open index.php file in templates/ja_mageia folder, find following code section at about line 125 :


    <div id="ja-header" style="background: url(templates/<?php echo $JAconfig->template."/images/header/". $JAconfig->ja_color ."/". $ja_header_img;?>) no-repeat top right;">

    <div id="ja-newsflash">
    <jdoc:include type="modules" name="user5" style="xhtml" />
    </div>

    change to :


    <div id="ja-header" style="background: url(templates/<?php echo $JAconfig->template."/images/header/". $JAconfig->ja_color ."/". $ja_header_img;?>) no-repeat top right;">

    <div id="ja-newsflash">
    <jdoc:include type="modules" name="user5" style="xhtml" />
    </div>
    <div id="flash_add">
    <!-- add source of flash -->
    </div>

    mustafak Friend
    #269698

    Thanks Hainn,

    I will try and see what happens. But once again thank u.

    If there was any other issue I will let you know.

    Cheers!

    mustafak Friend
    #269737

    Hi Hainn,

    This is how my code looks but the header image still hasn’t changed. What am I missing? Do I need to change anything else as well?

    <!– BEGIN: HEADER –>
    <div id=”ja-headerwrap” class=”clearfix”>
    <div id=”ja-header” style=”background: url(templates/<?php echo $JAconfig->template.”/images/header/”. $JAconfig->ja_color .”/”. $ja_header_img;?>) no-repeat top right;”>

    <div id=”ja-newsflash”>
    <jdoc:include type=”modules” name=”user5″ style=”xhtml” />
    </div>
    <div id=”flash_add”>
    <http://www.cilixtech.com.au/images/stories/header.swf&gt;
    </div>

    <div id=”ja-pathwaywrap” class=”clearfix”>

    <?php if($this->countModules(‘user4’)) : ?>
    <div id=”ja-searchwrap”>
    <div id=”ja-search”>
    <jdoc:include type=”modules” name=”user4″

    Sherlock Friend
    #269906

    HI mustafak !
    you must change it to :


    <!-- BEGIN: HEADER -->
    <div id="ja-headerwrap" class="clearfix">
    <div id="ja-header" style="background: url(templates/<?php echo $JAconfig->template."/images/header/". $JAconfig->ja_color ."/". $ja_header_img;?>) no-repeat top right;">

    <div id="ja-newsflash">
    <jdoc:include type="modules" name="user5" style="xhtml" />
    </div>
    <div id="flash_add">
    <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="32" height="32">
    <param name="movie" value="http://www.cilixtech.com.au/images/stories/header.swf" />
    <param name="quality" value="high" />
    <embed src="http://www.cilixtech.com.au/images/stories/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
    </object>
    </div>

    <div id="ja-pathwaywrap" class="clearfix">

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

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

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

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