Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to find and change ---- body text ----


alkhataat

Recommended Posts

Hello every one,

 

On the main page part of the script which I got thru firefox viewing thr source is as following:

 

============================================================

 

<!-- left_navigation_eof //--> </td>

</tr>

</tbody>

</table>

</td>

<!-- body_text //-->

<td valign="top" width="100%">

<form name="cart_quantity"

action="http://qazaebooks.com/product_info.php?products_id=79&action=add_product"

method="post">

<table border="0" cellpadding="0"

cellspacing="0" width="100%">

<tbody>

<tr>

<td>

<table border="0" cellpadding="0"

cellspacing="0" width="100%">

<tbody>

<tr>

<td class="pageHeading" valign="top">Automatic

Money Machine</td>

<td class="pageHeading" align="right"

valign="top">$9.80</td>

</tr>

</tbody>

</table>

</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif"

alt="" border="0" height="10" width="100%"></td>

</tr>

<tr>

<td class="main">

<table align="right" border="0"

cellpadding="2" cellspacing="0">

<tbody>

<tr>

<td class="smallText" align="center">

<script language="javascript"><!—

===================================================

 

I am trying to change the <table align="right" border="0"

To

<table align="center" border="0"

 

but I could not find the php file for the <!-- body_text //-->

 

This will change the image location to the middle of the page.

 

Can any one assist please ?

 

Thanks in advance

Ahmed

Link to comment
Share on other sites

Look in the index.php file. It could be there or in one of the files that is called by it. You will have to determine where in the code the table occurs by comparing what is displayed versus what's in the file.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Look in the index.php file. It could be there or in one of the files that is called by it. You will have to determine where in the code the table occurs by comparing what is displayed versus what's in the file.

 

Jack

 

 

Hello Jack,

 

Thanks for your assistance

 

I looked in many files including the index.php but could not find it, can you kindly explain what do you mean by “It could be there or in one of the files that is called by it “ and “You will have to determine where in the code the table occurs by comparing what is displayed versus what's in the file. “

I was searching within the files for the word “ img “ trying to reach to the correct place but did not succeed

 

At the file top, the following lines are there :

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html dir="LTR" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>TITLE</title>

<base href="http://qazaebooks.com/">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

<script language="javascript"><!--

function popupWindow(url) {

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res

izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le

ft=150')

}

 

 

Could the above beside the previous script leads to the proper place ?

Sorry I am newbie and is not easy for me to determine codes.

 

Thanks again for your help

Link to comment
Share on other sites

I'm sorry but I shouldn't have told you to look in the index file. I thought you were talking about your home page when you said "main page part of the script" but I see now that is probably not the case. Whatever page you are on will be listed in the url. There will be a file by the same name in the root directory. That is where you should be looking.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I'm sorry but I shouldn't have told you to look in the index file. I thought you were talking about your home page when you said "main page part of the script" but I see now that is probably not the case. Whatever page you are on will be listed in the url. There will be a file by the same name in the root directory. That is where you should be looking.

 

Jack

 

Jack,

 

I found it with your guidance, I didn’t know earlier that the URL will list the file name and the location would be the root directory.

 

Thanks for your assistance, very kind of you

Best of luck

Ahmed

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...