-
AuthorPosts
-
mustafak Friend
mustafak
- Join date:
- August 2008
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
September 3, 2008 at 12:15 am #132877Hello,
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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 9, 2008 at 8:07 am #269675Hi 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>1 user says Thank You to Sherlock for this useful post
mustafak Friendmustafak
- Join date:
- August 2008
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
September 9, 2008 at 9:53 am #269698Thanks 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 Friendmustafak
- Join date:
- August 2008
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
September 9, 2008 at 12:12 pm #269737Hi 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>
</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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 10, 2008 at 9:16 am #269906HI 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"
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by Sherlock 16 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum