Hi.
I'm not sure what you request here...
You need to display in module photos from certain album only?
And you want to display that module only on certain group page?
Is that right?
Hi.
"Yes" you mean both? :)
Hi.
Ok, then we gave here TWO requests:
1. Display module on specific group page.
Install this superb extension:
extensions.joomla.org/extensions/extensi...anced-module-manager
Now on modules will have additional tab called "Assignments". Among many settings there you'll find "URL" option. Click on "Include" and paste URL (without initial http;//your-domain.com).
This will allow you to assign module to certain group page.
2. Display photos from certain album only:
Copy this file:
ROOT/modules/mod_community_photos/tmpl/default.php
to:
ROOT/templates/your-template/html/mod_community_photos (if you don't have "html" or "mod_community_photos" folders, feel free to create them)
Edit file and replace this (line 25-29):
<div class="js-col4 bottom-gap">
<a href="<?php echo CRoute::_('index.php?option=com_community&view=photos&task=photo&albumid=' . $row->albumid . '&userid=' . $row->user->id . '&photoid=' . $row->id);?>">
<img class="jomNameTips" title="<?php echo JText::sprintf('COM_COMMUNITY_PHOTOS_UPLOADED_BY' , $row->user->getDisplayName() );?>" src="<?php echo $row->getThumbURI(); ?>" alt="<?php echo CStringHelper::escape( $row->user->getDisplayName() );?>" />
</a>
</div>
<?php if($row->albumid == 51) { ?>
<div class="js-col4 bottom-gap">
<a href="<?php echo CRoute::_('index.php?option=com_community&view=photos&task=photo&albumid=' . $row->albumid . '&userid=' . $row->user->id . '&photoid=' . $row->id);?>">
<img class="jomNameTips" title="<?php echo JText::sprintf('COM_COMMUNITY_PHOTOS_UPLOADED_BY' , $row->user->getDisplayName() );?>" src="<?php echo $row->getThumbURI(); ?>" alt="<?php echo CStringHelper::escape( $row->user->getDisplayName() );?>" />
</a>
</div>
<?php } ?>
<?php if($row->albumid == 51) { ?>