Author Topic: New Language variable - not showing....  (Read 2761 times)

0 Members and 1 Guest are viewing this topic.

Offline Maniac

  • Newbie
  • *
  • Posts: 45
    • View Profile
New Language variable - not showing....
« on: September 05, 2005, 02:41:23 AM »
I wanted to split up a language variable so I edited main.php as follows:

changed:

Code: [Select]
$lang['search_by_keyword'] = "Search by Keyword:<br /><span class=\"smalltext\">Use terms such as AND, OR and NOT to control your search in more detail. Use asterisks (*) as a wildcard for partial matches.</span>";

to:

Code: [Select]
$lang['search_by_keyword'] = "By Keyword:";
$lang['search_by_keyword2'] = "Use terms such as AND, OR and NOT to control your search in more detail. Use asterisks (*) as a wildcard for partial matches.";

When I call the new variable in my html template using {lang_search_by_keyword2} nothing shows up...

Do I have to change something else - somewhere else?

Thanks in advance.

Offline Maniac

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: New Language variable - not showing....
« Reply #1 on: September 05, 2005, 03:25:23 AM »
Figured it out...

Realized I had to define the smarty variable in search.php...

Code: [Select]
    "lang_search_by_keyword2" => $lang['search_by_keyword2'],