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.

Default group page

10 years 1 month ago
  • April's Avatar
    Topic Author
  • April
  • Offline
  • Fresh Boarder
  • Posts: 53
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi,

How do I set "recent activities" as default page when I clicked on the group? Currently it is the "description" page that is showing by default.

Thank you.

10 years 1 month ago
Licenses:

Hi April,

"recent activities" already as default page when you open any groups page. I just checked at your site, all fine. please try to clear your browser cache, or using Firefox and Chrome for comparator.

If still happen, please provide me the specific URL.

Regards,
Albert

10 years 1 month ago
  • April's Avatar
    Topic Author
  • April
  • Offline
  • Fresh Boarder
  • Posts: 53
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi,

Please try renospiration.com/renotown/groups/viewgroup/3-home-decor . It is still going directly to description. Thank you.

10 years 1 month ago
Licenses:

Hi April,

for make "recent activities" as default. please follow this steps:
1. make override
copy /components/com_community/templates/default/groups.viewgroup.php To /templates/your-template/html/com_community/groups.viewgroup.php

2. edit new file

line 229:
from
<li <?php if($isMember || $isSuperAdmin || !$config->get('lockgroupwalls')) {echo 'class="cTabCurrent"';} else if($isPrivate){echo 'class="cTabDisabled"';} ?>>

to

<li <?php if(!$config->get('lockgroupwalls')) {echo 'class="cTabCurrent"';} else if($isPrivate){echo 'class="cTabDisabled"';} ?>>
line 232:
from
<li <?php if(!$isMember && !$isSuperAdmin && $config->get('lockgroupwalls')) {echo 'class="cTabCurrent"';} ?> >

to

<li <?php if($config->get('lockgroupwalls')) {echo 'class="cTabCurrent"';} ?> >

Done, please let me know the result. and id you don't know how to do it. please provide me the FTP access detail at your Site Info

Regards,
Albert

The following user(s) said Thank You: April
10 years 1 month ago
  • April's Avatar
    Topic Author
  • April
  • Offline
  • Fresh Boarder
  • Posts: 53
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi,

I tried but the default page upon clicking at the group is still description. I will send you my ftp details. Can you help to take a look? Thanks.

10 years 1 month ago
Licenses:

Hi April,

I will, but I can't find your FTP access detail at Site Info.

FYI: you can put update your site info by editing your first post in this topic

Regards,
Albert

10 years 1 month ago
Licenses:

Hi April,

After I look at your code. here the changes I made:

Line 458:
from
<li <?php if(!$config->get('lockgroupwalls')) {echo 'class="cTabCurrent"';} else if($isPrivate){echo 'class="cTabDisabled"';} ?>>
to
<li <?php if($config->get('lockgroupwalls')) {echo 'class="cTabCurrent"';} else if($isPrivate){echo 'class="cTabDisabled"';} ?>>                
Line 463:
from
<li <?php if($config->get('lockgroupwalls')) {echo 'class="cTabCurrent"';} ?> >
to
<li <?php //if($config->get('lockgroupwalls')) {echo 'class="cTabCurrent"';} ?> >
Line 509:
from
<div class="cTabsContent  <?php if($isMember || $isSuperAdmin || !$config->get('lockgroupwalls')) {echo 'cTabsContentCurrent';} ?>">

to
<div class="cTabsContent  <?php if($config->get('lockgroupwalls')) {echo 'cTabsContentCurrent';} ?>">
Line 511:
from 
<?php if($isMember || $isSuperAdmin || !$config->get('lockgroupwalls') ) { $status->render(); } ?>
to
<?php if($config->get('lockgroupwalls') ) { $status->render(); } ?>
Line 561:
from
<div class="cTabsContent <?php if(!$isMember && !$isSuperAdmin && $config->get('lockgroupwalls')) {echo 'cTabsContentCurrent';} ?>">

to
<div class="cTabsContent <?php //if(!$isMember && !$isSuperAdmin && $config->get('lockgroupwalls')) {echo 'cTabsContentCurrent';} ?>">

Regards,
Albert

The following user(s) said Thank You: April
10 years 1 month ago
  • April's Avatar
    Topic Author
  • April
  • Offline
  • Fresh Boarder
  • Posts: 53
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi Albert,

It's working perfectly fine. Thank you very much. :)

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