Welcome to Geeklog, Anonymous Monday, January 06 2025 @ 06:53 pm EST
Geeklog Forums
Oscommerce
Rob
Anonymous
Does anyone know how to fix the oscommerce plugin so that it does not change the title of the page to be oscommerce instead of the actual site name?? Also there does seem to be a bug in it when users log in, it does not display thier name correctly. Looks like the osc-customer table does not actually get filled with any info aside from the eMail address.
-Rob
-Rob
10
7
Quote
Status: offline
spidermann
Forum User
Junior
Registered: 11/29/04
Posts: 26
Location:Handbasket, Satan
very easy on the title issue.
Edit the index.php file in the root->www->store directory.
Look for line 39 and change the following:
to
I haven't run into the second problem at all. Got a link?
Without looking at it, it could be that the person used their email address as their login name. Stranger things have happened.
Edit: Was doing linkage on a website when I did the code example. Change the to in the first code example. Sorry about that.
Edit the index.php file in the root->www->store directory.
Look for line 39 and change the following:
Text Formatted Code
<title><?php echo TITLE; ?></title>to
Text Formatted Code
<title>Site_Name_Here</title>I haven't run into the second problem at all. Got a link?
Without looking at it, it could be that the person used their email address as their login name. Stranger things have happened.
Edit: Was doing linkage on a website when I did the code example. Change the to in the first code example. Sorry about that.
9
10
Quote
Gavin
Anonymous
Quote by Rob:Also there does seem to be a bug in it when users log in, it does not display thier name correctly. Looks like the osc-customer table does not actually get filled with any info aside from the eMail address.
Only their email address are used until they place an order then it will ask for their address and all the other information OSC needs. Don't delete the "empty" osc customers or you will have problems.
11
10
Quote
Rob
Anonymous
Quote by spidermann: very easy on the title issue.
Edit the index.php file in the root->www->store directory.
Look for line 39 and change the following:
to
I haven't run into the second problem at all. Got a link?
Without looking at it, it could be that the person used their email address as their login name. Stranger things have happened.
Edit: Was doing linkage on a website when I did the code example. Change the to in the first code example. Sorry about that.
Edit the index.php file in the root->www->store directory.
Look for line 39 and change the following:
Text Formatted Code
<title><?php echo TITLE; ?></title>to
Text Formatted Code
<title>Site_Name_Here</title>I haven't run into the second problem at all. Got a link?
Without looking at it, it could be that the person used their email address as their login name. Stranger things have happened.
Edit: Was doing linkage on a website when I did the code example. Change the to in the first code example. Sorry about that.
I ifound a beter way actually, in the language files there is a entry called TITLE. This will change it permenantly. If you only change the index.php file then only the index page is modified. We actually want to modify the whole site. The shopping_cart.php file also has an "ECHO TITLE"
-Rob
11
11
Quote
All times are EST. The time is now 06:53 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content