-
AuthorPosts
-
December 14, 2011 at 7:23 pm #171809
hello
anybody knows how can change the text “read more” in k2 button?or translate it?
please help me
thanks a lot
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 16, 2011 at 2:53 pm #429974in k2 where?which file?
i have find en-GB.com_k2.ini in languages and change the query about readmore:
K2_READ=”Leggi tutto”
K2_READ_MORE=”Leggi tutto”
K2_READ_MORE_LINK=”Leggi tutto”and i have changed but without any change in the site.
do u have any idea about it?
thanks a lot
byejooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 16, 2011 at 3:09 pm #429976Uhm … i see your trouble.
Please update me your FTP than i can quick fix it.Thank you
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 18, 2011 at 2:03 am #430138Hi
There you are:
In template overrides
<?php if ($this->item->params->get('catItemReadMore')): ?>
<!-- Item "read more..." link -->
<div class="catItemReadMore">
<a class="k2ReadMore" href="<?php echo $this->item->link; ?>">
<span><?php echo JText::_('Read more'); ?></span>
</a>
</div>
<?php endif; ?>This’s bug because changed “read more” translate string.
I have fix by update
<?php if ($this->item->params->get('catItemReadMore')): ?>
<!-- Item "read more..." link -->
<div class="catItemReadMore">
<a class="k2ReadMore" href="<?php echo $this->item->link; ?>">
<span><?php echo JText::_('K2_READ_MORE'); ?></span>
</a>
</div>
<?php endif; ?>
And from now this translate will be follow your
en-GB.com_k2.ini ( or another language )
K2_READ_MORE="Leggi tutto"
Please check it.
Thank you
1 user says Thank You to jooservices for this useful post
April 10, 2012 at 12:19 pm #447999Hi
In exactly what file in the template are you changing this translate string?
Regards
Jo
May 12, 2012 at 11:52 pm #452814The above sollution did not work for me (I have J2.5). I therefore contacted support, and they were kind enough to fix it for me.
According to Joomlart support, they did the following:Open all files in “/templates/ja_tiris/html/com_content/” folder, find this “JACOM_CONTENT_READ_MORE_TITLE” and change it to “COM_CONTENT_READ_MORE_TITLE”.
Worked like a charm. Great support 🙂
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by tronsdal 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum