Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Parham's PHP Tutorials => Topic started by: denchomsky on September 13, 2006, 09:21:06 AM

Title: Where do i find the file to correct this?
Post by: denchomsky on September 13, 2006, 09:21:06 AM

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo '<li><a href="', $scripturl, '?action=pm"><span>' , $txt['pm_short'], '</span></a></li>';

The function ['pm_short'] seems to have no value, it is a button which does not show up properly on my forum. as the function does not retrieve any text, if i view the source of my website  i can see that the text is missing but i cant find the correct file on my server.

Where would i find the file to fix this problem?

Thanks
Title: Re: Where do i find the file to correct this?
Post by: Alan S on September 13, 2006, 12:55:47 PM
go to /Themes/default/languages/

Open the index.english.php , find

$txt['mark_read_short'] = 'Mark Read';

add after

$txt['pm_short'] = 'My Messages';

And reupload the index.english.php file
Title: Re: Where do i find the file to correct this?
Post by: denchomsky on September 14, 2006, 06:03:28 AM
Cheers Alan, i managed to do it, i was looking everywhere for the right file but ignored the default as i though, well i am not using the default theme Duh! of course my theme is set to default so i am.

Cheers Alan. ;D