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.

How to Hide members filter

1 year 9 months ago
Licenses:
JomSocial Active AdAgency Expired

Hi can you please tell me if ti's possible to hide members filters without affecting the filter in another part of the site (groups, events).
I've trying with this code, but it hide the filter anywhere on the network:
.joms-sortings .joms-select--wrapper {
display: none !important;
}
Thanks

Attachments:
1 year 9 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
You can use the page class.
In Menu options > Add page class.
example: hidemem is page class and code would be

.hidemem .joms-sortings .joms-select--wrapper {
display: none !important;
}


Hope it helps.

Regards

1 year 9 months ago
Licenses:

HI.

Copy this file:

ROOT/components/com_community/templates/jomsocial/layouts/people.browse.php

to:

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

Then remove or comment this:

        <?php if ( $sortings ) { ?>

            <div class="joms-sortings">

                <?php echo $sortings; ?>

                

                <?php if (isset($hasMultiprofile) && $hasMultiprofile && !isset($isAdvanceSearch) && count($multiprofileArr)> 0): ?>

                    <select class="joms-select" onchange="window.location=this.value;">

                        <?php foreach ($multiprofileArr as $key => $value) { ?>

                        <option value="<?php echo $value['url']; ?>" <?php if ($value['selected']) echo 'selected="selected"'; ?>>

                        <?php echo $value['name']; ?>

                        </option>

                        <?php } ?>

                    </select>

                <?php endif; ?>

                <?php echo $alphabet; ?>

                <?php echo $byRadius; ?>

            </div>

            <div class="joms-gap"></div>

        <?php } ?>


- 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
The following user(s) said Thank You: Al-Starzz
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