Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need hellp with website


Guest

Recommended Posts

hello ive got a few problems

the no logo

 

am missing buttons getting red x instead

if any one can help be grateful

 

my site Visit My Website

 

cheers

kewns

 

am new to php i used dreamwever to do my editing

i have installed basic blue tepmelet

and Header template Modern design Search box Add to favorites

 

if any one can help i would be grateful

cheers

:blush: :huh: :huh: :huh:

Link to comment
Share on other sites

hello thanj you for your reply

 

yes the images our in tempaltes/option2/images/languages/english/images/buttons

this is were all the images ouir for all buttons

thats why i think its strange as the other buttons are working but these certains ones our not

 

as for the top gif am stil waiiting on tim who upload the seacr header in contributions to get bck

as thats not working idea

 

cheers

bud

if you can help me more then get back

thanks for replying

Link to comment
Share on other sites

this the extra html output which may be stoping my buttons being displayed i may try deelting htacess file

but i really dont want to do that if i can help it

 

 

<?php

////
// The HTML form submit button wrapper function
// Outputs a button in the selected language
 function tep_template_image_submit($image, $alt = '', $parameters = '') {
global $language;

$image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/images/languages/english/images/buttons/' . $language . '/' .  $image) . '" border="0" alt="' . tep_output_string($alt) . '"';

if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "';

if (tep_not_null($parameters)) $image_submit .= ' ' . $parameters;

$image_submit .= '>';

return $image_submit;
 }

////
// Output a function button in the selected language
 function tep_template_image_button($image, $alt = '', $parameters = '') {
global $language;

return tep_image(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/images/languages/english/images/buttons/' . $language . '/' .  $image, $alt, '', '', $parameters);
 }


 function table_image_border_top($left, $right,$header){
if (MAIN_TABLE_BORDER == 'yes'){
?>
  <!--Lango Added for Template MOD: BOF-->
 <tr>
<td valign="top" width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
// BOF: WebMakers.com Added: Show Featured Products
if (SHOW_HEADING_TITLE_ORIGINAL!='yes') {
?>
				 <tr>
				  <td bgcolor="#99AECE"><table width="100%" bordercolor="#42ADE8" border="0" cellspacing="0" cellpadding="1">
					  <tr>

						<td><table width="100%" bordercolor="#42ADE8" border="0" cellspacing="0" cellpadding="1">
							<tr>
							  <td bgcolor="#f8f8f9"><table width="100%" border="0" cellspacing="0" cellpadding="4">
								  <tr>
									<td class="pageHeading"><?php echo $header;?></center></td>
								  </tr>
								</table></td>
							</tr>

						  </table></td>
					  </tr>




  </table></td>
 </tr>

	  <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
	  </tr>
<?php
}
?>
 <tr>
<td valign="top" width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0">

				 <tr>
				  <td bgcolor="#99AECE"><table width="100%" bordercolor="#42ADE8" border="0" cellspacing="0" cellpadding="1">
					  <tr>

						<td><table width="100%" bordercolor="#42ADE8" border="0" cellspacing="0" cellpadding="1">
							<tr>
							  <td bgcolor="#f8f8f9"><table width="100%" border="0" cellspacing="0" cellpadding="4">
								  <tr>
									<td>

<?php
}

}
 function table_image_border_bottom(){
if (MAIN_TABLE_BORDER == 'yes'){
?>
</td>
								  </tr>
								</table></td>
							</tr>

						  </table></td>
					  </tr>


  </table></td>
 </tr>
  </table></td>
 </tr>

  </table></td>
 </tr>
  <!--Lango Added for Template MOD: EOF-->
<?php
}
}
?>

Link to comment
Share on other sites

any on tell me if theres anything wrong with this code

 

<table width="99%" border="0" cellpadding="0" cellspacing="0" align="center" background="images/header/backheader.gif"><img src="images/header/backheader.gif" />
 <tr>
<td valign="top" background="images/header/left.gif"> </td>
<td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr class="header">
	<td valign="middle" height="67">

 

cheers

ste

Link to comment
Share on other sites

sound dude your a star it worked for some starge reasons

 

cheers

 

ste

 

 

goood day to you my friend

Link to comment
Share on other sites

right now ive still got no buttons showing am not to sure whats the problem here

 

<?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></form></td>

this is the code any one see anything wrong i have the buttons in images folder

cheers

kewns

Link to comment
Share on other sites

I would take a stab at an incorrect path problem. This is where your store is looking for the buttons:

 

http://yourstorename.com/templates/yourtemplate/images/buttons/english/button_back.gif

 

You need to actually change yourstorename.com and yourtemplate to yourstorename and yourtemplate. In your configure file.

 

Couldn't you get any support from the CRELoaded forum?

Link to comment
Share on other sites

I would take a stab at an incorrect path problem. This is where your store is looking for the buttons:

 

http://yourstorename.com/templates/yourtemplate/images/buttons/english/button_back.gif

 

You need to actually change yourstorename.com and yourtemplate to yourstorename and yourtemplate. In your configure file.

 

Couldn't you get any support from the CRELoaded forum?

 

 

i have done this and can only get the back button to work

the other ones still not working strange this is

cheers

kewns

Link to comment
Share on other sites

  • 2 weeks later...

hello can any one check this code out for me it dnt seem to be wroking

 

all the buttons links seems to do is refresh the page

look here

 

http://kewns.co.uk/shopping_cart.php

i found the code finally it was inside shopping_cart.tpl/php

 

heres the code for the buttons links niot working if any one can spot any mistakes please let me know

cos am new php only know it exsited 6 weeks ago lol

it might be a problem with the wrong file links but all the buttons seem to just update cart

cheers

 

kewns

 

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			<td class="main"><?php echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?></td>
<?php
$back = sizeof($navigation->path)-2;
if (isset($navigation->path[$back])) {
?>


<td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . 
tep_image_submit('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td>
<?php
}
?>
			<td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_submit('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...