'Photos of Author' on View Profile Page
How to get the 'Photos of Author' to work on the 'View Profile' page? I want people to see the photos of the visited profile on the 'View Profile' page instead of 'photo' tab of the visited profile.
I've enabled 'copyable' option of the 'Photos of Author' block, and added it to the 'View Profile' page through the 'Developer' module but it does not work. Do I need to pass any 'params' to the service call 'browse_author' when I use it on the 'View Profile' page instead of 'Photos' page?
-
-
- · Scholar
-
·
In reply to LeonidS
- ·
Hi LeonidS, I don't seem to find any block called 'My Photos' .. there is a block called 'Photos of Author' which I have enabled on the Profile View page but it does not work. It works on the 'Photo' subtab of the profile, but not on the 'view profile' page.
-
-
·
LeonidS
-
·
In reply to Scholar
S
- ·
It is available in UNA 11 definitely, you may try to isnert this MySQL command in your UNA's DB:
INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('trigger_page_profile_view_entry', @iPBCellProfile, 'bx_photos', '_bx_photos_page_block_title_my_entries', 11, 2147483647, 'service', 'a:3:{s:6:"module";s:9:"bx_photos";s:6:"method";s:13:"browse_author";s:6:"params";a:2:{i:0;s:12:"{profile_id}";i:1;a:2:{s:8:"per_page";s:26:"bx_photos_per_page_profile";s:13:"empty_message";b:0;}}}', 0, 0, 0);
See how looks the call of profile_id in params.
-
·
LeonidS