Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

what file do i find the What's New Here?.......


Guest

Recommended Posts

hi

 

had a quick search im either searching for the wrong thing or there hasnt been someone ask it for ages

 

Question one

 

how do i remove the Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? text on the home page? had a look at index.php and english.php in includes/languages etc

 

 

question two,

 

 

how do i add a new page under Conditions of Use, Contact us etc

 

 

Laurence

Link to comment
Share on other sites

hi

 

had a quick search im either searching for the wrong thing or there hasnt been someone ask it for ages

 

Question one

 

how do i remove the Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? text on the home page? had a look at index.php and english.php in includes/languages etc

question two,

how do i add a new page under Conditions of Use, Contact us etc

Laurence

 

1. Around line 284 in /catalog/includes/languages/english.php (or whatever language)

2. More tricky:

/catalog/(new_page_name.php) (add your new page here)

/catalog/includes/filenames.php (create a new define() with your page name)

/catalog/includes/languages/english/(new_page_name.php) (add your language file here)

/catalog/includes/languages/english.php (create a new define with the page title here)

/catalog/includes/boxes/information.php (add a new line with your page)

 

Matt

Link to comment
Share on other sites

  • 2 months later...
1. Around line 284 in /catalog/includes/languages/english.php (or whatever language)

2. More tricky:

/catalog/(new_page_name.php) (add your new page here)

/catalog/includes/filenames.php (create a new define() with your page name)

/catalog/includes/languages/english/(new_page_name.php) (add your language file here)

/catalog/includes/languages/english.php (create a new define with the page title here)

/catalog/includes/boxes/information.php (add a new line with your page)

 

Matt

 

 

OK! So where do you find the phrase "What's New Here?" :'(

 

-Hank

Link to comment
Share on other sites

  • 2 weeks later...
OK! So where do you find the phrase "What's New Here?" :'(

 

-Hank

 

Hi Hank

 

I'm not sure if you have found the answer to this question but in-case you haven't here it is:

 

Go to File Manager then either;

 

public_html/includes/languages/english/index.php (this depends on your hosting server mine is public_html/ and others are simply catalog/ )

 

or

 

catalog/includes/languages/english/index.php

 

then click Edit, now edit the line:

 

CODE

define('HEADING_TITLE', 'What\'s New Here?');

 

To read whatever you like....for instance:

CODE

define('HEADING_TITLE', 'Welcome');

 

I found the answer to this on this Forum when I was trying to find out how to do it for my own site "Yayy!". When I first started with oscommerce I got very frustrated not knowing which file to edit but as I have found the answers and sometimes just by trial and error I have kept notes in a document file. Then if I see anyone else struggling I can help too. Also it will help when I do another oscommerce site. So my advise to you is document all the successful editing you do then when you want to go back and change anything you will know where to go instantly.

 

Good luck

Michele

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...