Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cant place external HTML link ---PLEASE help!


wrangler

Recommended Posts

Posted

Hi people ;)

 

Got a small problem here...

 

When I try to edit my lang.php file (english.php or greek.php) and add an external html link to it, that link won't show.

 

For instance, I try to edit my file which looks like this:

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 this:

 

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> <br> Print the <a href=blablabla.html targey=_blank>following spreadsheet</a> and etc etc etc');

 

My extra HTML command won't show up.

 

Any ideas would be GREATLY appreciated!

 

Thanks

Posted

Well yeah, that's what I meant. target=_blank, i just mis-typed it. It DOESNT work.

 

Any other ideas?

 

Please??

Posted

Should work with <a href="blah.html" target="_blank">BLAH</a>

 

megacool was saying to make sure the " are there.

9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard)

 

Replace that and you're fine...

Posted

It worked, you were right! :D

 

A million thanks go to megacool and nrlatsha

 

Keep it up! :)

Archived

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

×
×
  • Create New...