Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

language problems adding text


Furbo

Recommended Posts

Posted

Hello all, I hope this is the right place to ask this question ;)

 

I am trying to add an extra "about us" line in the information box in the right column.

 

I have followed the instruction from the following link: http://www.oscommerc...g_Area/Boxes/66

 

I have managed to make the line in the information box but can’t get it to open into the right text.

 

I think the problem is the homepage is in Danish and I cannot find the right files to add it in. I have done the following:

 

in catalog/includes/boxed i edited the information.php and added the following line;

'<a href="' . tep_href_link(FILENAME_TEST) . '">' . BOX_INFORMATION_TEST . '</a><br>' .

 

then in includes/language i opened the danish.php and added the following line;

define('BOX_INFORMATION_TEST', 'test');

 

then into includes/language/Danish I uploaded a file called test.php , which contained the following;

 

<?php

/*

$Id: conditions.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Betingelser for brug');

define('HEADING_TITLE', 'Betingelser for brug');

 

define('TEXT_INFORMATION', 'Indsæt dine betingelser for brug her ....');

?>

 

 

 

 

 

It has created a link in the information box on the homepage called "test" but when I press this link it displays a cannot be found page.

 

 

I hope the above is understandable and that someone is able to help me out here.

 

Thanks!

 

Kindly

Troels

Posted

From what I understand you want to add a link to an existing box, if so, that is called "add box page" in the documentation, follow this link. I think you were confusing adding a box page with adding a new box.

~ Don't mistake my kindness for weakness ~

Posted

From what I understand you want to add a link to an existing box, if so, that is called "add box page" in the documentation, follow this link. I think you were confusing adding a box page with adding a new box.

 

 

 

Yes I had, I followed the new link and now its working ;) Thanks a lot for your help

Archived

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

×
×
  • Create New...