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_SHARE

7 years 4 months ago
  • Nick's Avatar
    Topic Author
  • Nick
  • Offline
  • Fresh Boarder
  • Posts: 24
  • Thank you received: 0
Licenses:
JomSocial Active

ISSUE SUMMARY:
There are 2 kind of share buttons.
The share button in frontpage (#1) shares "this status" within the sharer's stream.
But the share button under a video page or a photo or an event (#2) shares this via link to Facebook, Google+, LinkedIn, Pintrest, Tumblr, VKontakte, Weibo, Twitter Or sends via email.
Completely different kind of share.
So i go in language>overrides and try to change the share button (#1) to a name A and share button (#2) to a name B.
But unfortunately both buttons use the same constant COM_COMMUNITY_SHARE.

How can i separate them?

Thank you


STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

7 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Yes you kind, I suggest you change the share button on stream page.. please open this file file components/com_community/templates/jomsocial/layouts/stream/actions.php, and find this code :

<?php echo JText::_('COM_COMMUNITY_SHARE'); ?>

change the translate string with the modify one.

thank you!

7 years 4 months ago
  • Nick's Avatar
    Topic Author
  • Nick
  • Offline
  • Fresh Boarder
  • Posts: 24
  • Thank you received: 0
Licenses:
JomSocial Active

Not ready yet. I changed the "share" text in stream but there is also another COM_COMMUNITY_SHARE in the dialogue popup that needs to be changed too.

Where may i find this?

7 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Nick,

You need open this file components/com_community/controllers/activties.php, find this code to change the string :

'btnShare'  => JText::_('COM_COMMUNITY_SHARE'),

thank you!

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