Hello, I have two questions
1/ about About me section--> When a new visitor registers, it completes the section "Envie de nous en dire plus sur toi?" which corresponds to the About me item. How can he modify this item after registration?
2/ I put some profiles on stars on my page - please see file attached. And all their About me is hidden, i would like to have the city, About me & age, how can i do that please?
Thanks for your support
Hi, Anais.
1. All fields displayed in "About me" are filled during registration. You can change those files in Backend -> Components -> JomSocial -> Profiles -> Customize Profiles.
2. Block with featured users doesn't display any information from "About me section" but only friends avatar list and profile status. If you have php skills you could customize this file:
ROOT/components/com_community/templates/default/people.browse.php below line 72
And load some profile fields content.
Hi, Anais.
1. No, I thought that you mean profile fields. All values in them can be changed - by user or admin. User can change them when displaying "About me" and at the end of it is button "Edit profile" then all fields values can be changed. Also edit profile can be accessed from JomSocial toolbar menu Profile -> Edit Profile.
2. In lines 98 and 99 you have:
<div id="user-status"><?php echo $firstuser->getStatus(); ?></div>
<div id="friend-list"></div><?php echo $row->user->getInfo('MY_FIELD_CODE'); ?>
Hello
Thanks for your help. Sorry, i might be tired but i dont get your answer to point 1. Because when i register & go to My Profile, i dont see where i can change the "Envie d'en savoir plus". Can you please send me a screenshot?
Thanks & sorry for not understanding your answer :(
Hi, Anais.
Here it is:
prntscr.com/5inui0
(I had to enter some field values on backend to make it more visible).
But you have other issue on your site. When you click on "Modifier le profil' you have this;
prntscr.com/5inx8l
No profile fields to edit but account data.
This issue is caused by your template... or by overrides you've made in that template.
I switched to Joomla! default template (Protostar) and fields are visible:
prntscr.com/5inxxt
So check your overrides or ask template developer for advice.
Hello
1. When i had this code for instance, all my templates is broken :( Do you know why please?
<?php echo $row->user->getInfo('FIELD_ABOUTME'); ?>
2.Thank you, it is working now.
3. I have another question: when i click on a profile, i would like that the " A propos" be clicked automatically , how can i do please?
Thanks
Hi Anais,
1. you are playing with Jomsocial User Object, please read here for how to use it
documentation.jomsocial.com/wiki/JomSocial_User_Object
3. you should open this file components/com_community/default/templates/profile.index.php, add this code at the bottom of files :
<script>
joms.jQuery( document ).ready(function() {
joms.jQuery('.js-collapse-about-btn').click();
})
</script>