-
AuthorPosts
-
May 8, 2008 at 7:27 pm #128350
I recent design the logo in swf, but , how to input in tempate?
thanks
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 9, 2008 at 7:03 am #248329ardase !
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>
May 9, 2008 at 7:54 am #248339ohh hainn84 thanks , but what is tehe code to insert swf?
i’m understand promated:confused:
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 9, 2008 at 8:45 am #248352This 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. -
AuthorPosts
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