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 Members with avatar only

11 years 8 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

I want do delte the Members with avatar only text, also the search button, so when a search is made it goes directly to the results.

Can you tell what code to modify please?

thanks!

11 years 8 months ago
Licenses:

Hi Gustavo,

could you please more specific? your requirement not clear for me.
do you mean:
1. search result only show users with non default avatar only?
2. every time search button will bring you to search result page. this is already default things. could you please more specific?

Regards

11 years 8 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, im attaching the picture of what dont want to have

thanks!

Attachments:
11 years 8 months ago
Licenses:

Hi Gustavo,

you can make override ( documentation.jomsocial.com/wiki/Customizing_Template ) for this:
/components/com_community/templates/default/search.php

to remove the checkbox you can remove this code

<div class="cSearch-Helper">
	<label class="label-checkbox">
		<input type="checkbox" name="avatar" id="avatar" value="1" class="input checkbox "<?php echo ($avatarOnly) ? ' checked="checked"' : ''; ?>>
		<?php echo JText::_('COM_COMMUNITY_EVENTS_AVATAR_ONLY'); ?>
	</label>
</div>

to remove the "Search" button you can changing this code
<div class="input-append">
	<input type="text" id="q" class="input-large" name="q" value="<?php echo $this->escape( $query ); ?>" placeholder="<?php echo JText::_('COM_COMMUNITY_SEARCH_PEOPLE_PLACEHOLDER');?>" />
	<input type="submit" value="<?php echo JText::_('COM_COMMUNITY_SEARCH_BUTTON_TEMP');?>" class="btn btn-primary " name="Search" />
</div>
to
<div class="">
	<input type="text" id="q" class="input-large" name="q" value="<?php echo $this->escape( $query ); ?>" placeholder="<?php echo JText::_('COM_COMMUNITY_SEARCH_PEOPLE_PLACEHOLDER');?>" />
</div>

Regards

The following user(s) said Thank You: gustavo
11 years 8 months ago
  • gustavo's Avatar
    Topic Author
  • gustavo
  • Offline
  • Fresh Boarder
  • Posts: 86
  • Thank you received: 1
Licenses:
JomSocial Active iSEO Expired Socialize Expired

thanks!!!

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