Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Modal window display wrong link to album

6 years 4 months ago
Licenses:
JomSocial Active

Hello.
1) scroll down stream and find photo
2) open photo in modal window
3) pres on album's title or "View album" link
Result: Link looks like: crimson-land.ru/photos/album?albumid=17433
Expected result: Link should looks like original link in Album Gallery (contain user's alias): crimson-land.ru/photos/slepoy/album?albumid=17433

Thanks.


Sorry for my English
Attachments:
6 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Thank you for reporting, I already reported this issue..

6 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

To fix the issue
open this file components/com_community/controllers/photos.php
find this code

$json['album_url'] = CRoute::_('index.php?option=com_community&view=photos&task=album&albumid=' . $album->id . ( $album->groupid > 0 ? '&groupid=' . $album->groupid : '' ));
replace to
$json['album_url'] = $album->getURI();

6 years 4 months ago
Licenses:
JomSocial Active

Thanks. It helped :)


Sorry for my English
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW