By And Kit on Saturday, 30 June 2018
Posted in Technical Issues
Replies 5
Likes 0
Views 737
Votes 0
Hi,
Could you let me know where the app permalink information is set in EasySocial.

Specifically, in ./components/com_easysocial/themes/wireframe/helpers/cover/user.php, line 318, I'm trying to find where the permalink value comes from:
<a href="<?php echo $app->permalink;?> ...

I recently enabled Joomla SEF and URL rewriting, all is working fine, but one of the apps links on user profile page is not correct. I think I should be able to fix this once I can locate where the permalink value is stored/configured. Is it stored in some app folder or files at installation to EasySocial?

Thanks
Hey,

The permalink is actually taken from the element name of the app. For instance, if your app name is blog, then the permalink / alias would be blog
·
Saturday, 30 June 2018 14:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,
Thanks for your quick reply. I see. So the problem I have is the following:

1) I have a menu item that is associated with the EasySocial app page. The function of this is for SEF to avoid having address.com/component/app/... (longer URL), and instead have address.com/menu-item/app/... (more compact URL)

2) The app link on EasySocial profile is address.com/profile/id-user/app-name --- for some reason, this URL then turns into address.com/profile/id-user/menu-item/app/ --- but this is not the correct URL, it should be address.com/menu-item/app/

What's the best way to fix this (to get rid of the /profile/id-user/ )?
·
Saturday, 30 June 2018 14:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, this is a pretty tricky scenario because our customers wants everything prefixed by the user's permalink because that would make better sense. For instance, if you are viewing my discussions or my blogs, it would generally make more sense to have site.com/profile/mark/blog instead of site.com/app/blog
·
Saturday, 30 June 2018 15:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, I see what you mean. It makes sense. Let me contact the app developer first and see if it can be made to be accessible like the standard easySocial app, i.e., http://site.com/profile/user/app, let me get back to you. Thanks.
·
Saturday, 30 June 2018 23:00
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Sunday, 01 July 2018 13:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post