Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Module Dating Search

10 years 2 weeks ago
Licenses:
JomSocial Expired Socialize Expired

ISSUE SUMMARY: hello guys, i tried to publish the module "Dating seach" with the position side-bar 1 (socializa template) on my website and i cant select any categories (like gender...). How can i do please?
Thanks for your help,
Anais


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

Attachments:
10 years 2 weeks ago
Licenses:

Hi Anais,

please have a look at [joomla site root]/templates/socialize/css/custom.css line 75

#datingsearch_country, #datingsearch_gender {
  display: none;
}
not sure why that code at there. that for hide country and gender at dating search module. you can remove that code.

Regards

10 years 2 weeks ago
Licenses:
JomSocial Expired Socialize Expired

Hello Albert,
I did this because my network is only for women so i dont want to give them the impression that they can be looking for men :(
Do you know another trick to hide this category from the module?
Thanks,
Anais

10 years 2 weeks ago
Licenses:

Anais wrote: ISSUE SUMMARY: hello guys, i tried to publish the module "Dating seach" with the position side-bar 1 (socializa template) on my website and i cant select any categories (like gender...). How can i do please?
Thanks for your help,
Anais


Hi,

you said "cant select any categories (like gender...)" at dating search module. the issue from that CSS code.
could you please elaborate more about the issue is? please provide me screenshot for make more clear.

maybe I misunderstand about this issue.

Regards

10 years 2 weeks ago
Licenses:
JomSocial Expired Socialize Expired

Hello!
Sorry if i wasnt so clear on my ticket. My goal was to hide these categories, thats why i put this code in custom css. What i would like it is that they dont appear at all --> right now they appear but are not clickable? I saw on your roadmap that you are working on profile search module, Will it solve my issue please?
Thanks !!

10 years 2 weeks ago
Licenses:

Hi Anais,

we can do it in an other way:
copy default.php from [joomla site root]/modules/mod_datingsearch/tmpl/ to [joomla site root]/templates/socialize/html/mod_datingsearch/

edit it and remove this code (line 143 and 161)

<select id="datingsearch_gender" name="datingsearch_gender" class="joms-select">
	<option value="" <?php if($gender=='')echo 'selected'?>><?php echo JText::_('MOD_DATINGSEARCH_GENDER'); ?></option>
	<?php
	foreach($field->value->gender as $key=>$data) { ?>
		<option value="<?php echo $key; ?>" <?php if($gender==$data)echo 'selected'?>><?php echo JText::_($data); ?></option>
	<?php } ?>
</select>
<select id="datingsearch_country" name="datingsearch_country"  class="joms-select">
<option value="" <?php if($country=='')echo 'selected'?>><?php echo JText::_('MOD_DATINGSEARCH_COUNTRY'); ?></option>
<?php foreach($field->value->country as $data) { ?>
	<option value="<?php echo JText::_($data); ?>" <?php if($country==$data)echo 'selected'?>><?php echo JText::_($data); ?></option>
<?php } ?>
</select>

at version 4.1 jomsocial will have some new modules.

Regards

10 years 1 week ago
Licenses:
JomSocial Expired Socialize Expired

Hello Albertus,
i did what you said but gender is still appearing :(

10 years 1 week ago
Licenses:

Hi Anais,

please provide me FTP access detail by editing your first post at this topic. and put it at site info form.
I will do it for you.

Regards

10 years 1 week ago
Licenses:
JomSocial Expired Socialize Expired

Hello Albertus
I just did :)
Could you tell me which file you modified please ?
Thanks for your help!

10 years 1 week ago
Licenses:

Hi Anais,

please check it:
1. you put wrong file name at /httpdocs/templates/socialize/html/mod_datingsearch/, the file name must default.php not default.php.txt
2. you forget to remove the code at line 161

<select id="datingsearch_country" name="datingsearch_country"  class="joms-select">
<option value="" <?php if($country=='')echo 'selected'?>><?php echo JText::_('MOD_DATINGSEARCH_COUNTRY'); ?></option>
<?php foreach($field->value->country as $data) { ?>
	<option value="<?php echo JText::_($data); ?>" <?php if($country==$data)echo 'selected'?>><?php echo JText::_($data); ?></option>
<?php } ?>
</select>

here the result:


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