Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Info Message


medusacross

Recommended Posts

Posted

I'm sorry for posting this silly question... how can I remove / modify the info message in homepage?

 

"What's New Here?"

Wellcome Guest......

 

I'm getting crazy!!!

Posted
I'm sorry for posting this silly question... how can I remove / modify the info message in homepage?

 

"What's New Here?"

Wellcome Guest......

 

I'm getting crazy!!!

 

"what's new here" is found at catalog/includes/languages/english/index.php, lines 36-37:

 

} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'What\'s New Here?');

 

 

"welcome guest..." is found at catalog/includes/languages/english/english.php, lines 284-286:

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');
define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

 

 

To entire delete the 'welcome guest' message, go to catalog/index.php, around line 302:

 

 <td class="main"><?php echo tep_customer_greeting(); ?></td>

 

and get rid of it.

 

 

 

The rest of the text on the home page is changed through includes/languages/english/index.php around line 13:

define('TEXT_MAIN',.....

 

 

Donna

Posted

Thank you so much!! And, last question... which is the file to edit for the "content", the central column? For example: I would like to modify the "New Products For January" table in home page. This is the last!!!! Ciao

Posted

In index.php. Look for:

 

	}

// needed for the new products module shown below
$new_products_category_id = $current_category_id;
?>
		  </tr>
		</table></td>
	  </tr>
	  <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
	  </tr>
	  <tr>
		<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
	  </tr>

 

and remove:

 

<tr>
		<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
	  </tr>

 

 

Donna

Posted

Sorry - that's if you want to REMOVE it, not edit it!

Archived

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

×
×
  • Create New...