By Colin Girard on Monday, 29 January 2018
Posted in General
Replies 13
Likes 0
Views 743
Votes 0
Our business members also have a jomres business page, where people can book with them.

How can I integrate this with ES?
Eben something as simple as a custom field that I can add their JR url that will show in their ES profile and link to the JR page.

Many thanks!
Colin
Hi Colin,

You can add a custom field, perhaps textbox in the user workflow as shown: http://take.ms/OkGuPN
So user can input the link in the textbox to be display on their profile eg: http://take.ms/ZnV5C
·
Monday, 29 January 2018 11:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey M,

It's not a url they will, know something that we will have to add to each one... unless it could be integrated automatically.

We need it to be more prominent. Ideally a module or a post that stays at the top of their profile stream.

Any suggestions are greatly appreciated.

Colin
·
Tuesday, 30 January 2018 02:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Colin,

Perhaps, you can do custom module for that and you can insert the module in the position that available in the profile.
Maybe, position es-profile-before-contents
For more information of position that available in the profile page you can follow this documentation: https://stackideas.com/docs/easysocial/administrators/module-positions/profile-position
·
Tuesday, 30 January 2018 12:33
·
0 Likes
·
0 Votes
·
0 Comments
·
So the custom module could include the custom fields from ES? Could u point me to any information about how to do this?
·
Wednesday, 31 January 2018 03:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

The custom module that Fadhli suggested requires you to create the module from scratch. This module would automatically generate the permalink to their Jomres page.

If it is too much hassle, perhaps you could just create a template override for the user's cover and manually write the codes that would link to their Jomres page?

You could add the codes in the theme file /components/com_easysocial/themes/wireframe/helpers/cover/user.php as this theme file is responsible to generate the cover portion of the user's profile
·
Wednesday, 31 January 2018 11:43
·
0 Likes
·
0 Votes
·
0 Comments
·
If it is too much hassle, perhaps you could just create a template override for the user's cover and manually write the codes that would link to their Jomres page?


Sounds like a good idea but I have no idea how the template would know which JR page corresponds with their ES profile.

Colin
·
Thursday, 15 February 2018 03:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Hm, not really sure what do you mean here. What I meant by a template override is for you to modify the theme files in EasySocial to inject the link into the cover.
·
Thursday, 15 February 2018 10:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Each members profile links different, so not sure how injecting one link in the template would enable each ES profile to link to their JR page
·
Saturday, 17 February 2018 04:58
·
0 Likes
·
0 Votes
·
0 Comments
·
How does the profile links look like for Jomres?
·
Saturday, 17 February 2018 13:05
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Saturday, 17 February 2018 23:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Hm, that link is actually an EasySocial link eh. Sorry, a little confused here. Do you want to generate a link to JomRes or do you want to generate an EasySocial link on JomRes page?
·
Saturday, 17 February 2018 23:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Lol, Definately a blond moment there.

Link from there ES Profile to their JR Listing is what we are looking for.

Here is a sample JR link https://www.ehcanadatravel.com/book/premier-creek-lodging-125/view.html

Would also be interested in being able to generate a link from JR to ES though...

Thanks eh!
Colin
·
Monday, 19 February 2018 04:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Colin,

Kindly find my response for your inquiries below:
Link from there ES Profile to their JR Listing is what we are looking for.
Here is a sample JR link https://www.ehcanadatravel.com/book/premier-creek-lodging-125/view.html

For the file to place the link, I would suggest you to contact/consult with JR. For the ES profile link you can try to use
the code below:

require_once (JPATH_ADMINISTRATOR. '/components/com_easysocial/includes/easysocial.php');
$my = ES::user($userId);
echo $my->getPermalink(true, true, true);


Would also be interested in being able to generate a link from JR to ES though...

Regarding this, My colleague has give the template override file earlier, in this file below :
.../components/com_easysocial/themes/wireframe/helpers/cover/user.php
·
Monday, 19 February 2018 12:00
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post