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.

Hide Group Details

9 years 10 months ago
  • gustavo's Avatar
    Topic Author
  • gustavo
  • Offline
  • Fresh Boarder
  • Posts: 86
  • Thank you received: 1
Licenses:
JomSocial Active iSEO Expired Socialize Expired

ISSUE SUMMARY:


STEPS TO REPLICATE:
1 go to any group you have created
2 you will members, activities, group details like a tab
3
4
5
RESULT

do not show the group details tab

EXPECTED RESULT
BROWSER

9 years 10 months ago
Licenses:

Hi, Gustavo.

Copy this file:

ROOT/components/com_community/templates/jomsocial/layouts/groups/single.php

to:

ROOT/templates/your-template/html/com_community/layouts/groups (if you don't have any of those folders, feel free to create them)

Then edit file and comment/remove:

line 848:

<a href="#joms-group--details" class="<?php echo ($showGroupDetails && $config->get('default_group_tab') == 1 ) ? 'active' : ''; ?>">
                <?php echo JText::_('COM_COMMUNITY_GROUP_DETAILS'); ?>
            </a>

line 859:
<div id="joms-group--details" class="joms-tab__content" style="<?php echo ($config->get('default_group_tab') == 1 && $showGroupDetails) ? '' : 'display:none'; ?>">
            <ul class="joms-list__row">
                <li>
                    <span><?php echo $group->description; ?></span>
                </li>
                <li>
                    <h5 class="joms-text--light"><?php echo JText::_('COM_COMMUNITY_GROUPS_CATEGORY'); ?></h5>
                        <span><a href="<?php echo CRoute::_(
                                'index.php?option=com_community&view=groups&task=display&categoryid=' . $group->categoryid
                            ); ?>"><?php echo JText::_($group->getCategoryName()); ?></a></span>
                </li>
                <li>
                    <h5 class="joms-text--light"><?php echo JText::_('COM_COMMUNITY_GROUPS_CREATE_TIME'); ?></h5>
                    <span><?php echo JHTML::_('date', $group->created, JText::_('DATE_FORMAT_LC')); ?></span>
                </li>
                <li>
                    <h5 class="joms-text--light"><?php echo JText::_('COM_COMMUNITY_GROUPS_ADMINS'); ?></h5>
                    <span><?php echo $adminsList; ?></span>
                </li>
            </ul>
        </div>


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 10 months ago
  • gustavo's Avatar
    Topic Author
  • gustavo
  • Offline
  • Fresh Boarder
  • Posts: 86
  • Thank you received: 1
Licenses:
JomSocial Active iSEO Expired Socialize Expired

it works perfect but im loosing the 2 modules that I have at my left... sidebar1 im using socialize template

9 years 10 months ago
Licenses:

Hi, Gustavo.

This means you removed too much (or too less) code... so containers (div) are left open somewhere. Review your change.
Remove ONLY code I mentioned above. You just removed too much of code.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 10 months ago
  • gustavo's Avatar
    Topic Author
  • gustavo
  • Offline
  • Fresh Boarder
  • Posts: 86
  • Thank you received: 1
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Hi, Michal.

You were correct! Now everything is working fine.

Thanks for your hellp!!! :)

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