Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Design Lobby

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.


Reply
 
LinkBack Thread Tools Display Modes
Old 09-15-2006, 10:23 PM   #1 (permalink)
Junior Member
 
Join Date: 09-15-06
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

eagleeyes is liked by many
Adding flash banner to oscommerce

I have tried several methods to display flash header but fail in all
1- Used STS but didn't work.
2- Used manmachine script from oscommerce contributions , didn't work.
3- Created my own file and put inside it the whole movie in html file and included in the header.php through include "mymovie.html"; code above the GNU License, also didn't work.
Error i get is when i right click on the header it says movie not loaded above the about macromedia flash player.
When i open the file as it is manullay, its working but in oscommerce dont work.

I am too much frustrated with this bcoz i have searched alot and failed everytime.
Any idea
Thankx in Advance
eagleeyes is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-16-2006, 09:06 AM   #2 (permalink)
Contributing Member
 
bratwebdesign's Avatar
 
Join Date: 04-05-06
Location: Nebraska
Posts: 253
iTrader: 0 / 0%
Latest Blog:
None

bratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to beholdbratwebdesign is a splendid one to behold
Send a message via MSN to bratwebdesign
In the header.php file on about line 55 (fresh install) you will see:

Code:
<tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>&nbsp;&nbsp;</td> </tr>
All you should need to do is remove everything in between:

Code:
<tr class="header"> </tr>
And insert the flash code or include your file.
__________________
Omaha Web Design | Cube Directory
bratwebdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-04-2009, 04:12 AM   #3 (permalink)
Junior Member
 
Join Date: 02-04-09
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

alhakeem2001 is liked by many
Flash logo problem !!

Hi bratwebdesign , can you please spot my problem ... I bought a template for my store, after installing the template everything went fine except the flash logo at the header didn't work with me, I uploded the swf file to the store/images folder !! I attach my header code here hope that you could help me on that ...

http://www.arab-broker.com/carparts


<?php
/*
$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2003 osCommerce

Released under the GNU General Public License
*/

// check if the 'install' directory exists, and warn of its existence
if (WARN_INSTALL_EXISTENCE == 'true') {
if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {
$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');
}
}

// check if the configure.php file is writeable
if (WARN_CONFIG_WRITEABLE == 'true') {
if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');
}
}

// check if the session folder is writeable
if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
if (STORE_SESSIONS == '') {
if (!is_dir(tep_session_save_path())) {
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');
} elseif (!is_writeable(tep_session_save_path())) {
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');
}
}
}

// check session.auto_start is disabled
if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {
if (ini_get('session.auto_start') == '1') {
$messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');
}
}

if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {
if (!is_dir(DIR_FS_DOWNLOAD)) {
$messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');
}
}

if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
?>
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

<center>
<table border="0" width="765" height="259" cellspacing="0" cellpadding="0" style="margin-bottom:1px; ">
<tr>
<td width="339">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td height="72"><img src="http://www.v7n.com/forums/images/logo.jpg" width="339" height="72" border="0" alt="logo" /></td>
</tr>
<tr>
<td width="340" height="187" style="background:url(images/search_bg.jpg) no-repeat">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td width="50%" align="left" valign="top" style="padding-top:15px; padding-left:10px; "><?php require(DIR_WS_BOXES . 'menu.php'); ?></td>
<td width="50%" align="left" valign="top" style="padding-top:25px; ">
<ul class="topmenu">
<li><a href="<?php echo tep_href_link(FILENAME_ABOUT_US) ?>" class="atopmenu">About Us</a></li>
<li><a href="<?php echo tep_href_link(FILENAME_SPECIALS) ?>" class="atopmenu">Specials</a></li>
<li><a href="<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH) ?>" class="atopmenu">Advanced Search</a></li>
<li><a href="<?php echo tep_href_link(FILENAME_CREATE_ACCOUNT) ?>" class="atopmenu">Create an account</a></li>
<li><a href="<?php echo tep_href_link(FILENAME_LOGIN) ?>" class="atopmenu">Customer login</a></li>
</ul>

</td>
</tr>
<tr>
<td width="50%" height="65" valign="top" align="left" style="padding-left:10px; "><?php require(DIR_WS_BOXES . 'manufacturers.php'); ?></td>
<td width="50%" height="65" valign="top" align="left" ><?php require(DIR_WS_BOXES . 'search.php'); ?></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="426">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td height="60" valign="bottom">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="46" style="margin-bottom:14px; ">
<tr>
<td width="33%" align="left"><?php if (substr(basename($PHP_SELF), 0, != 'checkout') {
include(DIR_WS_BOXES . 'currencies.php');
} ?></td>
<td width="33%" valign="bottom" style="padding-bottom:4px; "><?php if (substr(basename($PHP_SELF), 0, != 'checkout') {
include(DIR_WS_BOXES . 'languages.php');} ?></td>
<td width="33%" valign="bottom" align="left"><?php require(DIR_WS_BOXES . 'shopping_cart.php'); ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="426" height="199"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0','width','426','heigh t','199','src','../images/header','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../images/header' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="426" height="199">
<param name="movie" value="../images/header.swf">
<param name="quality" value="high">
<embed src="../images/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="426" height="199"></embed>
</object></noscript></td>
</tr>
</table>
</td>
</tr>
</table>
<?php
if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerError">
<td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td>
</tr>
</table>
<?php
}

if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerInfo">
<td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td>
</tr>
</table>
<?php
}
?>

Last edited by alhakeem2001; 02-04-2009 at 04:18 AM..
alhakeem2001 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-19-2009, 05:31 PM   #4 (permalink)
Junior Member
 
Join Date: 08-27-08
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

seegooood is liked by many
I thank you need this : http://bannerflash.co.nr
seegooood is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding flash to my website kimmitini Web Design Lobby 8 11-18-2006 03:21 PM
Flash Banner Problem John Scott Coding Forum 20 03-19-2006 05:27 AM
How to link a flash banner? Ferre Coding Forum 6 04-08-2005 05:48 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:08 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.