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.

Can't return to group photo album when viewing individual photo

8 years 3 months ago
  • Steve's Avatar
    Topic Author
  • Steve
  • Offline
  • Fresh Boarder
  • Posts: 43
  • Thank you received: 5
Licenses:
JomSocial Active Socialize Expired

ISSUE SUMMARY:
When viewing an individual photo (when photos are set to view in same window instead of modal), clicking the "Return to Album" link returns the user to the list of all group albums instead of showing photos within the album.

STEPS TO REPLICATE:
1 Upload photos into a group album
2 Have photos set to open in same window instead of modal
3 Click on an individual photo in the album
4 Click the "Return to Album"
5
RESULT
The user is taken back to the list of all albums
EXPECTED RESULT
The user should be taken back to the photo album being viewed
BROWSER

8 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Steve,

The default behavior is like this :
If you click "back to album" from album detail if will be redirected to album list, if you click "back to album" from photo detail, it will be redirected to album detail.

thank you!

8 years 3 months ago
  • Steve's Avatar
    Topic Author
  • Steve
  • Offline
  • Fresh Boarder
  • Posts: 43
  • Thank you received: 5
Licenses:
JomSocial Active Socialize Expired

That is the behavior I expect it to have but that is not what is happening.

For example:

  1. If I'm displaying all the group's photo albums, I'm at this URL: /community/photos/display?groupid=502
  2. If I open a particular album, my URL is: /community/photos/album?albumid=1069&groupid=502
  3. The "Back to Album" link is /community/photos/display?groupid=502&albumid=1069
  4. I then view an individual photo: /community/photos/photo?albumid=1069&photoid=9383&groupid=502
  5. The "Back to Album" link is STILL /community/photos/display?groupid=502&albumid=1069 <-- the "display" in this link should be "album"

8 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Steve,

I see, got it, I will report this to our developer.

thank you!

8 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Steve,

For fixing this open this file components/com_community/views/photos/view.html.php add this file after line 1757

$photoId = $userid = $jinput->get('photoid', 0, 'INT');

then find this code :
$this->view->addSubmenuItem('index.php?option=com_community&view=photos&groupid=' . $this->groupid . '&task=display&albumid=' . $albumId, JText::_('COM_COMMUNITY_PHOTOS_BACK_TO_ALBUM'));
replace to :
$this->view->addSubmenuItem('index.php?option=com_community&view=photos&groupid=' . $this->groupid . '&task=' . ($photoId > 0 ? 'album' : 'display') . '&albumid=' . $albumId, JText::_('COM_COMMUNITY_PHOTOS_BACK_TO_ALBUM'));

thank you!

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