By Fagault Eric on Tuesday, 06 March 2018
Posted in General
Replies 4
Likes 0
Views 514
Votes 0
Hello,
I develop a small module that displays the birthday of one of his friends.
I display the avatar of the friend concerned.
My idea is to also display the photos of this friend. (inside the module)
I would like to know if there is a method to display the photos contained in the newspaper?
Best regards.
Eric
Hi there,

You can use codes below on your modules.

[gist type="php"]
<?php echo $lib->html('avatar.user', $lib->my); ?>
[/gist]
·
Tuesday, 06 March 2018 19:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Warith,
Thank you very much for your answer.

What is the variable $lib ?

And my ?

Best regards.

Eric
·
Wednesday, 07 March 2018 01:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You have to include some of the functions on your helper files. Maybe you can refer to our existing module, that is 'Leaderboard' module on how to achieve this.

If you require us to perform the customization for you, you can always request for a quote from us at https://crm.stackideas.com and select "Customizations" . Our sales person would be glad to send you a quote for the customizations that you have requested.

Thanks for your understanding.
·
Wednesday, 07 March 2018 10:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post