By AB on Tuesday, 21 April 2015
Posted in General Issues
Replies 5
Likes 0
Views 1.7K
Votes 0
Komento activities module displays on the frontend the name of the plugin “k2”.
<div class="kmt-mod mod_komento_activities kmt-mod-activitiesnopad darkbox">
<div class="mod-item stream kmt-activity-19">
<div class="stream-head stream-comment">
<i class="stream-type"></i>
<a href="https://www.fxxxxr.com/index.php?option=com_comprofiler&task=userProfile&user=58";> AXXBXXX </a> -
Commented on <a href="https://www.fxxxxx.com/index.php?option=com_k2&view=item&id=302:some-thoughts-suggestions-on-proofreading-techniques&Itemid=1226">Some Thoughts/Suggestions On P...</a>
in K2 </div>

Could you let me know where to edit the language to customized the component labels depending on the selected component?
Hello AB,

If you look in this file ../modules/mod_komento_activities/tmpl/default.php on line 61, you can see this COM_KOMENTO_ACTIVITY_COMMENTED_IN which represent the word "in" and <?php echo $activity->comment->componenttitle; ?> which represent word "K2". If you want to change the word "in", you can go to this file ../language/en-GB/en-GB.com_komento.ini on line 368 and change the translation.

Hope this helps.
·
Tuesday, 21 April 2015 23:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick,

Thank you for your reply. I checked out already../language/en-GB/en-GB.com_komento.ini, but there is no place to change the name of the vendor of the component. The issue only appears in Komento Activities module, not in Komento Comments Module.
In Komento Activities module, the name of the component appears on the frontend such as "in K2", in Alter Glossary, Joomal Article, Zoo, Jevents... I have nothing against the vendors, but this is rather confusing for the users.
Can I simply remove the codes on ../modules/mod_komento_activities/tmpl/default.php on line 61, you can see this COM_KOMENTO_ACTIVITY_COMMENTED_IN which represent the word "in" and <?php echo $activity->comment->componenttitle; ?>
Kind regards,
Agnes
AB
·
Wednesday, 22 April 2015 00:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Agnes,

The vendor name is actually came from this <?php echo $activity->comment->componenttitle; ?>. And yes, you can remove the codes.
·
Wednesday, 22 April 2015 00:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick,

Thank you for your reply. Could you let me know if there are parameters on Komento Activities module configuration that could allow me to edit/remove the option. Otherwise, could you let me know what codes need to be removed exactly so that "commented in" no longer shows?
Otherwise, in the future, it would be great to have access to parameters fields to edit the name of the components on the module backend management.
Thanks & regards,
Agnes
AB
·
Wednesday, 22 April 2015 20:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I believe currently there is no setting available yet. Here I have attached to you a file, please download it and put it here: /modules/mod_komento_activities/tmpl/default.php

Hope this helps.
·
Thursday, 23 April 2015 15:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post