Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing Demo text from front page??


Guest

Recommended Posts

How can I remove the follow text from the front page

 

This is a demonstration online-shop, any products purchased will not be delivered nor billed. Any information seen on these products are to be treated fictional.

 

If you wish to download this sample shop, or to contribute to this project, please visit the support site. This shop is based on osCommerce 2.2-CVS.

Link to comment
Share on other sites

 

Oh too cool. Someone read it and is passing it on. Not quite as good as adding a Contribution, but it's a start at giving back to the community.

 

Thank you, Paul. Made my day.

 

Steven

 

That post is good advice. You get alot more from finding out how osC works than you do with someone feeding you filenames and line numbers. That thread should really be made sticky.

"It's a damn poor mind that can only think of one way to spell a word."

-- Andrew Jackson

Link to comment
Share on other sites

  • 3 years later...
  • 9 months later...

I'm getting a 404 error message, too. Can somebody (Paul?) copy/paste that topic info into this thread so we can read it? I'm having the same problem and all the replies I've found regarding this issue has not helped me. Thanks.

Link to comment
Share on other sites

  • 1 month later...
I got an error with that page too. Curious to see what it said.

Here is where you change the verbage on the catalog page:

catalog/includes/languages/english/index.php

 

Hope that helps!

 

I tried that and it didn't work. I wish they had better "help" on this site. Good luck.

Link to comment
Share on other sites

Look in your "index.php" file in the root folder of your site.

 

Search for TEXT_MAIN

 

Copy/paste the line containing that phrase into this thread.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Do not look at editing the root index.php file. The TEXT_MAIN content to be edited is in the includes/languages/english/index.php file.

 

This is the link you are all looking for:

http://www.oscommerce.com/forums/index.php?showtopic=24032

 

For everyone else who wants to know how to edit the text on your homepage - read it - it tells you where to locate it in the files.

 

Vger

Link to comment
Share on other sites

That's the right place to look if you want to edit the content of "TEXT_MAIN".

 

Removing it altogether requires an different approach.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Removing it altogether requires an different approach.

 

But who on earth would want to remove the text define in the root file, when all they have to do is to remove the text in the language level file and thereby leave the structure unchanged for future use?

 

Vger

Link to comment
Share on other sites

You can edit the text in the "includes/languages/english/index.php file", or you can just remove this (only the text in RED!!!):

 

<td class="main"><?php echo TEXT_MAIN; ?></td>

 

From the "index.php" file in the root folder.

 

Y'all can decide what you want to do.

 

I prefer the latter because then I don't have to remember where "TEXT_MAIN" is defined at, I don't have to traverse up the folder tree on the web site to alter it when required, I don't have to rely on data in the other file, and it also gives a good place to start adding HTML to your site to customize it (right where <?php echo TEXT_MAIN; ?> used to be).

 

It's just a matter of preference IMHO, both roads get you where you want to be.

 

I prefer to have most of what I need in the "index.php" file right in front of me when I open it up for editing.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

  • 2 weeks later...
Do not look at editing the root index.php file. The TEXT_MAIN content to be edited is in the includes/languages/english/index.php file.

 

This is the link you are all looking for:

http://www.oscommerce.com/forums/index.php?showtopic=24032

 

For everyone else who wants to know how to edit the text on your homepage - read it - it tells you where to locate it in the files.

 

Vger

Hi, when I was experimenting with templates... the instructions disappeared from the main page. I glanced at them a few times, but I did not memorize them :(. Now, after reading this thread, I am confused as to which indexphp file I ought to be editing. I "think" I should go to the one in the includes folder. Hope this works, I'll be back if I can't get it to work. Thanks for your help.

 

 

PS. Also, I am not sure where to update the information for the home page into different languages.

Link to comment
Share on other sites

Hi, when I was experimenting with templates... the instructions disappeared from the main page. I glanced at them a few times, but I did not memorize them :(. Now, after reading this thread, I am confused as to which indexphp file I ought to be editing. I "think" I should go to the one in the includes folder. Hope this works, I'll be back if I can't get it to work. Thanks for your help.

PS. Also, I am not sure where to update the information for the home page into different languages.

OKay, success! Really strange thing though, in my languages. On my site the little flags say spanish, and dutch. But in my ftp/directories, I'm having spanish and german. So, really, I'm unsure which is correct. For my first product upload test, I did translations in Dutch, but I'm wondering if it should have been in german? There is a difference, right? (ducks)

Link to comment
Share on other sites

OKay, success! Really strange thing though, in my languages. On my site the little flags say spanish, and dutch. But in my ftp/directories, I'm having spanish and german. So, really, I'm unsure which is correct. For my first product upload test, I did translations in Dutch, but I'm wondering if it should have been in german? There is a difference, right? (ducks)

Dutch and German are of course different languages. However if it says Deutsch, then that is of course the German word for "German" :thumbsup:

Link to comment
Share on other sites

Dutch and German are of course different languages. However if it says Deutsch, then that is of course the German word for "German" :thumbsup:

LoL, that is the most confusing thing I've heard all year. Thank you so much for that answer, I had no idea!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...