2012-07-04, 11:31 PM
I'm trying to add to forum display sort by prefix and have done so successfully but have come across a problem with editing the language pack.
I added
I added to my forumdisplay_threadlist template:
so everything should work but language calls are not working:
and my changes to forumdisplay.lang.php are not showing up in admin cp>config>languages>english>forumdisplay
Anyone know why? thanks
Edit:
this is the only forum thread I found on editing language:
http://community.mybb.com/thread-14358.h...ge%22+pack
is it's seriously outdated and information is not professional.. simply stating not to add $ variables is not a good explanation and there has to be a way because there's fresh language pack addons for many plugins.
I added
$l['prefix'] = "Prefix";
$l['sort_by_prefix'] = "Sort by: Prefix";
to forumdisplay.lang.phpI added to my forumdisplay_threadlist template:
/ <a href="{$sorturl}&sortby=prefix&order=asc">{$lang->prefix}</a> {$orderarrow['lastpost']}
and
<option value="views" {$sortsel['prefix']}>{$lang->sort_by_prefix}</option>
so everything should work but language calls are not working:
and my changes to forumdisplay.lang.php are not showing up in admin cp>config>languages>english>forumdisplay
Anyone know why? thanks
Edit:
this is the only forum thread I found on editing language:
http://community.mybb.com/thread-14358.h...ge%22+pack
is it's seriously outdated and information is not professional.. simply stating not to add $ variables is not a good explanation and there has to be a way because there's fresh language pack addons for many plugins.