Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to do these


kristoz

Recommended Posts

Could someone would help me with some coding I would like to make my template multilinguage, but I'm stuck little bit

 

First problem

 

	   $info_box_contents[] = array('text' => '<table cellspacing=0 cellpadding=0 style="padding-left: 10px" class=man width=100%><tr><td valign=top><div class="sub_bg2">
																					<strong>Manufactures:</strong><br><br style="line-height:6px ">
										   ');

I would like to make word "Manufactures:" multilinguage, dont know exaclty how to do that

 

Second problem

 

 
<?=tep_draw_input_field('keywords', '', 'size="20" maxlength="50"	onclick="this.value=\'\'" value="Search"   class=form') . ' ' . tep_hide_session_id()?><input type=image src='<?=DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/button_search.jpg'>

Would like to make this "button_search.jpg" and value="Search" also multilinguage

 

Could you please help me with this.. :blush:

Link to comment
Share on other sites

Ok found solution for almost all only one more thing

 

<?=tep_draw_input_field('keywords', '', 'size="20" maxlength="50"	onclick="this.value=\'\'" value="Search"   class=form') . ' ' . tep_hide_session_id()?><input type=image src='<?=DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/button_search.jpg'>

 

How do change this code that when I click to other language it will show different language button...

 

Please help...

Link to comment
Share on other sites

Ok found solution for almost all only one more thing

 

<?=tep_draw_input_field('keywords', '', 'size="20" maxlength="50"	onclick="this.value=\'\'" value="Search"   class=form') . ' ' . tep_hide_session_id()?><input type=image src='<?=DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/button_search.jpg'>

 

How do change this code that when I click to other language it will show different language button...

 

Please help...

 

Each language folder has its own Image folder that contains all of the buttons for that language; they should load automatically when you switch languages. Compare your MyLanguage/Images folder to the English/Images folder to see if they contain similar images. If not, check the Contributions section of this support forum for an image package in your language.

 

Gary

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...