Login Form

Login or register to buy licenses or to access software previously purchased.

If you are experiencing login issues, please contact us!
×
Postings

You can freely browse the forum. However, you need a valid license in order to post (own a valid commercial software license or have purchased a support membership).

Posts only show after being reviewed.

want to show profile information

More
4 years 11 months ago #559 by natanja
natanja created the topic: want to show profile information
Hi there,

Is it possible that the module reads out the contact profile information from the component contacts (or actually from users)? I've linked my users to the contacts so that people can update there contactinfo by itself in the frontend of the website. I would like to display fields of that profile information in the module (or component) trombinoscope. Is this possible? Do i have to read out different database queries in the helper.php? I hope you could help me out that people can edit there own contactinformation!

Thanks in advance!

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #561 by admin
admin replied the topic: Re: want to show profile information
Hello,
the module takes all contact information but there is no way to edit the contact information form the frontend at this point. Users and contacts are 2 different things in Joomla! and only users can actually change their own profile. I will investigate a way to add more fields to the user profiles in order to update the associated contact, whenever a contact and a user are linked together. But, sorry, there is no way to do this through the module yet.

Olivier.
Last Edit: 4 years 11 months ago by admin.

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #562 by natanja
natanja replied the topic: Re: want to show profile information
Thanks for the quick response!
I've solved my problem (sort off) by showing only a picture and the name in the module. when you click on the name you get the contactsinformation including the profiles content.
I've only one question: is it easy to show the contact information in a lightbox when you click on the name?

thankssss

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #563 by admin
admin replied the topic: Re: want to show profile information
It is possible and would just be a matter of redirecting the contact info with the help of MooTools (changing the link redirection).

It would be something like the modal window for the standard weblinks, using 'behavior.modal'.

Olivier.
Last Edit: 4 years 11 months ago by admin.

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #564 by natanja
natanja replied the topic: Re: want to show profile information
i've tried it with different lightbox plugins and with behavior.modal but the popup stays emty.

I've added
<?php JHTML::_( 'behavior.modal' ); ?>
to my index.php of my template and I've added class="modal" to the default.php of the module template
<a class="modal" href="<?php echo $link; ?>" title="<?php echo $link_text; ?>" >

I've tried to add different rel= but nothing shows the contactsinformation in the popup...

What am I doing wrong :(

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #565 by admin
admin replied the topic: Re: want to show profile information
I have tried it myself and got to the same result, but this is expected as the link to the contact is not only a link to the contact itself but to the whole framework (templates and modules included). It is not possible to use the link as it is. I am investigating how this can be modified.

Olivier.
The following user(s) said Thank You: natanja

Please Log in or Create an account to join the conversation.