1 salg Aug 19, 2008 16:31
3 sam2kb Aug 19, 2008 17:35
There is an easiest way, find in skin files similar code and change link_text_ values to whatever you want
// Link to comments, trackbacks, etc.:
$Item->feedback_link( array(
'type' => 'comments',
'link_before' => '',
'link_after' => '',
'link_text_zero' => 'Add comment',
'link_text_one' => 'One comment',
'link_text_more' => 'Many comments',
'link_title' => '#',
'use_popup' => false,
) );
EDIT: it's usually in index.main.php or in single.main.php
4 tilqicom Aug 19, 2008 17:57
sam2kb wrote:
There is an easiest way, find in skin files similar code and change link_text_ values to whatever you want
// Link to comments, trackbacks, etc.: $Item->feedback_link( array( 'type' => 'comments', 'link_before' => '', 'link_after' => '', 'link_text_zero' => 'Add comment', 'link_text_one' => 'One comment', 'link_text_more' => 'Many comments', 'link_title' => '#', 'use_popup' => false, ) );
EDIT: it's usually in index.main.php or in single.main.php
right (:, i couldnt think of that, this is not risky at all as you would make the change in your skin file, and shorter than translating, nice touche : P
5 salg Aug 19, 2008 18:10
That worked, great. Thanks!
SalG wrote:
phew, i dont know how many times i ve replied similar question :roll:
there are two ways doing it, first and more suitable way is to translate it as it's a translatable string..
other way is hacking the core (easier but not recommended as you can forget it to update it later upon an upgrade)
open your ....\inc\items\model\_item.class.php
look for
should be around line 1539 for 2.4.2