Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

addind spaces into the text


davebm

Recommended Posts

im editing some of the text in the maufacturers.php To change some of the descriptions when adding or editing stuff

 

bassicly what was:

 

$contents[] = array('text' => '<br>' . TEXT_MANUFACTURERS_NAME . '<br>' . tep_draw_input_field('manufacturers_name', $mInfo->manufacturers_name))

 

i have changed to:

 

$contents[] = array('text' => '<br>' . TEXT_GENERIC_NAME . '<br>' . tep_draw_input_field('manufacturers_name', $mInfo->manufacturers_name))

 

but i cant seem to get the space between the words, and if i place a space i get an error. is there certain charactor i have to place in order to get the space to show up ie with out an _, or am i just totally messing the whole thing up?

 

thanks

dave

Link to comment
Share on other sites

The TEXT_MANUFACTURERS_NAME entry is actually replaced by the value in the admin/includes/languages/[language]/manufacturers.php file.

 

That is the file where you should be making your changes.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...