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.

Issues with status toolbar options in groups

11 years 1 month ago
Licenses:
JomSocial Active

ISSUE SUMMARY:
ISSUE SUMMARY:
Good afternoon. I actually have an issue with my status toolbar while using options.
In fact, I just added custom links, as Vocaroo, Dropbox or Etherpad, which appear in the toolbar when I want to post on the wall. However, I don't have these options when I want to post something on groups, just as shown on this screenshot.




I just added scripts in /var/www/components/com_community/templates/jomsocial/layouts/status.form.php to get new links on the main wall.

<script>
<!--
function redirect(site)
{
var url;
switch(site)
{
case 'Etherpad':
url = " uni.gsu.edu.tr:9001 ";
break;

case 'Vocaroo':
url = " vocaroo.com/?minimal ";
break;

case 'Dropbox':
url = " dropbox.com ";
break;
}
var w = window.open(url, "_blank", menubar=0);
}
</script> <!-- Début de mon script -->
<li data-tab="status">
<span class="visible-desktop" onclick="redirect('Etherpad')"><?php echo JText::_("Etherpad"); ?></span>
</li>

<li data-tab="status">
<span class="visible-desktop" onclick="redirect('Vocaroo')"><?php echo JText::_("Vocaroo"); ?></span>
</li>

<li data-tab="status">
<span class="visible-desktop" onclick="redirect('Dropbox')"><?php echo JText::_("Dropbox"); ?></span>
</li>
<!-- Fin de mon script -->

What am I supposed to do to get it also on group walls ?


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

11 years 1 month ago
Licenses:

Hi,

double topic. lets handle this topic at:
www.jomsocial.com/forum/photos-videos/29...ar-options-in-groups

I tried at my test site, there is no issue:



please make sure you put that code before </ul>, not under
<?php if ( CFactory::getConfig()->get("custom_activity") && COwnerHelper::isCommunityAdmin() && $target == $my->id ) { ?>


Regards

Attachments:
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