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.

Add "View All Photos" link to "My Photos" plugin

6 years 6 months ago
Licenses:
JomSocial Active

Hello.

Can you please add "View All Photos" link to "My Latest Photos" plugin (like on "My Videos" plagin)?

Thanks.


Sorry for my English
Attachments:
6 years 6 months ago
Licenses:
JomSocial Active

If You are not comfortable editing php files please don't do this!
You need to make some edits. Make Joomla template override for:
...\modules\mod_community_photos\tmpl\photos.php
and copy that file to
...\templates\YOUR_JOOMLA_TEMPLATE\html\mod_community_photos\photos.php
Then edit new file and add at the end:

<small><a class="joms-button--link" href="<?php echo CRoute::_('index.php?option=com_community&view=photos&task=myphoto'); ?>"><?php echo JText::_('COM_COMMUNITY_FRONTPAGE_VIEW_ALL_PHOTOS'); ?></a></small>
to get link for latest photos of that user.
other options can be easily created my editing task part of url. Put &task=display and you get all photos. Put &task=display&sort=hit for all photos sorted by hits. Just look at url that displays certain pages that display photos.
Don't forget about this override since changes in new module files can "brake" it.

6 years 6 months ago
Licenses:
JomSocial Active

Thanks, Vladimir.

I hope JS Team can apply this suggestion as default.

Thanks.


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