Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

90% time looking for the right file


Recommended Posts

Posted

I have spent 3 weeks on this project & I am actually enjoying learning.

However, I find that 90% of my time seems to be wasted searching for files.

Currently I am looking for the page that says "Let's See What We Have Here".

Again as always thanks in advance for your support.

BTW

After all the design is done what is the next step where we accept payments & how are moduals activated?

You're never too old to learn.

Even an old fart like myself loves learn and be creative.

?>if (empty($coffee)) {$coffee=new coffee();}<?

Posted

Dennis

 

Most text is in the directory /includes/english/xxxxxxx.php or in the file /includes/english.php

 

For more basic info on osc have a look at the links I have collected and posted in my profile.

 

Try downloading the entire site to your pc and work there.

 

Then upload the updated files to your site.

 

To activate module look in your shop admin.

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Geoffrey,

Thanks for the reply.

I will start looking in those files now.

So far this is what I have Lake Geneva Pie Co.

I know it's basic and doesn't look as fancy as other companies do but its my first try and I am just trying to find my way around & to get this site up & running. Later, I will work on maybe getting one of the templates & trying that so it doesn't look so bland. I'll post the correct page once I find what I am looking for.

You're never too old to learn.

Even an old fart like myself loves learn and be creative.

?>if (empty($coffee)) {$coffee=new coffee();}<?

Posted

OK! Found the Title: "Let's See What We Have Here". but that wasn't what I was really hoping for.

(www/includes/languages/english/index.php)

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
 define('HEADING_TITLE', 'Let\'s See What We Have Here');
 define('TABLE_HEADING_IMAGE', '');
 define('TABLE_HEADING_MODEL', 'Model');
 define('TABLE_HEADING_PRODUCTS', 'Product Name');
 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
 define('TABLE_HEADING_QUANTITY', 'Quantity');
 define('TABLE_HEADING_PRICE', 'Price');
 define('TABLE_HEADING_WEIGHT', 'Weight');
 define('TABLE_HEADING_BUY_NOW', 'Buy Now');
 define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
 define('TEXT_SHOW', '<b>Show:</b>');
 define('TEXT_BUY', 'Buy 1 \'');
 define('TEXT_NOW', '\' now');
 define('TEXT_ALL_CATEGORIES', 'All Categories');
 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'Welcome to the Lake Geneva Pie Co. Internet Store');
} elseif ($category_depth == 'nested') {
 define('HEADING_TITLE', 'Categories');

The problem is to the right of that title is an image that isn't showing up. I trying to find out why by looking for the file with that code.

I see in the code it has

define('TABLE_HEADING_IMAGE', '');

but that image changes with different pages.

If you look in my links you can see that most of them have the chef's hat (header_background_specials.gif) but that changes with different pages.

You're never too old to learn.

Even an old fart like myself loves learn and be creative.

?>if (empty($coffee)) {$coffee=new coffee();}<?

Posted

Sorry, should read before posting. :-)

 

Try /includes/header.php. That may well use TABLE_HEADING_IMAGE

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Sorry, should read before posting. :-)

 

Try /includes/header.php. That may well use TABLE_HEADING_IMAGE

 

Cheers

 

G

That is where the store_logo.gif is located. In the beginning this is what used to be the OSC logo. (Hope this helps someone!)

tep_image(DIR_WS_IMAGES . 'store_logo.gif', STORE_NAME)

I just changed the name of our logo to store_logo.gif & overwrote the OSC gif.

See? That's what I mean it's difficult to find where this snippet of code is located.

This image changes with different pages in the same location.

Actually in /includes/header.php TABLE_HEADING_IMAGE isn't even on that page of code. (BTW I didn't remove it!)

You're never too old to learn.

Even an old fart like myself loves learn and be creative.

?>if (empty($coffee)) {$coffee=new coffee();}<?

Posted

Try posting the 5 lines before and after that and maybe someone can help.

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

This is what you requested:

<table border="0" width="100%" cellspacing="0" cellpadding="5">
<td valign="right"></td>
 <tr class="header">
   <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.gif', STORE_NAME) . '</a>'; ?></td>


   <td align="right" valign="bottom"><?php echo '
<a href="http://www.lakegenevapieco.com/login.php">' . tep_image(DIR_WS_IMAGES . 'header_login.gif', HEADER_TITLE_LOGIN) . '</a>  
<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_logoff.gif', HEADER_TITLE_LOGOFF) . '</a>  
<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  
<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  
<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  
</td>
 </tr>
</table>

 

Look at my pictorial post that I just posted. Maybe that will help explain better.

You're never too old to learn.

Even an old fart like myself loves learn and be creative.

?>if (empty($coffee)) {$coffee=new coffee();}<?

Posted

Might be better to keep it in one post but for those following go to

 

http://www.oscommerce.com/forums/topic/366059-pictorial-of-my-problem/page__pid__1541530__st__0entry1541530

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

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

×
×
  • Create New...