Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

COM_COMMUNITY_STREAM_LIKES_SINGULAR_PHOTO language issue

11 years 5 days ago
Licenses:
JomSocial Active

Hello. There is a string:

COM_COMMUNITY_STREAM_LIKES_SINGULAR_PHOTO = " has liked <a href=_QQQ_%s_QQQ_>%s</a> <a href=_QQQ_%s_QQQ_>%s</a>"

Green and red - it's a links. And they looks the same.

In frontend it looks like:

Super User has liked Super User's Photo


Super User's it's another string:

COM_COMMUNITY_NOGENDER_OWNER = "%s's"


The problem is:
I can't put Green and Red links in another order. For example, I can't make it:

Super User has liked Photo by Super User's

(becouse if I replace green be red and red by green - it does nothing)

If I edit string COM_COMMUNITY_NOGENDER_OWNER, I can make only:

Super User has liked by Super User Photo


How to replace them in another order?

Thanks.


Sorry for my English
The following user(s) said Thank You: Gerard
11 years 4 days ago
Licenses:

Hi SleepyMan,

you must changing it at our core. components/com_community/helpers/likes.php.
lines 84 -87,

from
CUrlHelper::userLink($targetOwner->id),
$ownerText,
$data->urlLink,
JText::_($data->element)

to
$data->urlLink,
JText::_($data->element),
CUrlHelper::userLink($targetOwner->id),
$ownerText

FYI: this changes can disappear on upgrade process.

Regards,
Albert

The following user(s) said Thank You: apps.redes-sociais.com, SleepyMan
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW