Help - Search - Members - Calendar
Full Version: Question about lang file
CubeCart Forums > General > General Discussion
wilmec
Could any one tell me how i would make a link in the lang file as in

CODE
la_blabla = "<a href="http://www.anysite.com/anypage">a word</a>"


when i do it for some reason it keeps coming up with all of it and not just the a word bit.
twisted
try:
$la_blabla
instead of just
la_blabla
wilmec
just tried that thanks for the help but it still did not work dizzy.gif
shop.lightspeed.net.au
try

CODE
la_blabla = "<a href='http://www.anysite.com/anypage'>a word</a>"


maybe its because of the multiple sets of "... not sure, just an idea smile.gif
wilmec
Just found this in the lang file
CODE
$la_welcome_tools = "[ <a class=MainLink href='logout.php' target='_self'>Log Out</a> | <a class=MainLink href=\"control_panel.php\" target=\"_self\">Control Panel</a> ]";

So if i changed it to this
CODE
$la_welcome_tools = "[ <a href='logout.php' target='_self'>Log Out</a>]";

i recon it should work but
CODE
$la_welcome_tools = "[ <a href=[B]'logout.php' [/B]target='_self'>Log Out</a>]";

When i change the bold bit to
CODE
http://www.mysite/logout.php

it wont work this is just an example not the links i am using
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.