Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do i edite text on welcome page???


Guest

Recommended Posts

Posted

I want to change the line that says:

"Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?"

 

I also want to add text to that page. I've searched for the phrase in (I think) all files and can't find it.

 

Which file do I edit?

 

Thanks in advance.

 

Dennis

 

Launch - T minus 39hrs. :'(

Posted
I want to change the line that says:

"Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?"

 

I also want to add text to that page. I've searched for the phrase in (I think) all files and can't find it.

 

Which file do I edit?

 

Thanks in advance.

 

Dennis

 

Launch - T minus 39hrs. :'(

 

hello... if you look in the catalogue/index.php file, near the bottom underneath deafault page.. see below... i think if you delete (or put // in front of) HEADING TITLE (i think) its one of those maybe TEXTMAIN... just go for ye olde trail and error!!

 

<?php
 } else { // default page
?>
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="main"><?php echo tep_customer_greeting(); ?></td>
	  </tr>
	  <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
	  </tr>
	  <tr>
		<td class="main"><?php echo TEXT_MAIN; ?></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>
<?php
include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);
?>
	</table></td>
  </tr>
</table></td>
<?php
 }
?>
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

hope this is off some use

 

good luck

dave

Posted

look in catelog/includes/languages/english/index.php for this code

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>?');


edit like this

define('TEXT_GREETING_GUEST', 'Your new text here');

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Archived

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

×
×
  • Create New...