BUG: Unfavorite

Once you "Favorite" any content, "Unfavorite" button does not work. You can't remove it.

Also, where can a member manage these favorite lists??

  • 373
  • More
Replies (14)
    • Uh, I just realized if you uncheck the box, it does unfavorite. However, THAT is very confusing. The Unfavorite button should simply remove the favorite action without interaction.

      • And where do we manage these lists? Set privacy? Etc?

        • @LeonidS where can I display these favorite lists? There is no blocks under profile? I can't find any page where a user can view his favorite lists, the folders? Etc.

          • Hello @Wise !

            The links to the favorite content are available in the Profile Stats block:

            This "Favorite persons" link directs to the page like persons-profile-favorites/[profile_name]?owner=1

            • But what about favorite posts, favorite groups? Seems everything can be marked as favorite. You can add folders to favorites and set privacy, where do we manage this?

              Also, if we are setting privacy, then it must be able to be displayed? Is there a block I can add to profiles?

              Was this feature overlooked?

              • For the most of content modules UNA has the pages with the URL like groups-favorites or posts-favorites. All of them are available in the Pages app, also you may use the blocks like Favorite posts.

                • With this information in mind, if the block is not copyable, you can go into the dev app to make them copyable, create a custom page of all the favorite blocks, and link it somewhere in your navigation where appropriate to give the users one place to manage them.

                  I did something like this with all the "Manage" blocks, creating something akin to a HUB for users to easily manage all their site content from one location.

                  @Wise

                  • See, that is stuff that should be documented! @LoneTreeLeaf thank you! Copyable field. I've been wondering how to get certain blocks to custom places. One click.

                    Thank you.

                    • @LeonidS So I have spent the last few hours trying to figure out somethings, and I think this feature was forgotten and never finished.

                      Under posts, content item, favorite, I added a folder called "Private" and set privacy as friends. Added the post to this new favorite folder "Private".

                      If I navigate to posts-favorites it shows the "Default" folder only, with no way to navigate, and my favorite is just missing?

                      I have no way to display these new folders?

                      I would like to add a my favorites block to profile pages, but it doesn't exist.

                      There is nowhere to manage these?

                      • @LeonidS as we discussed.

                        Favorites has multiple bugs. We will work from an easy point to reproduce.

                        We will work with video module, but any content based module will work.

                        Studio->Page Builder->Persons->View Profile

                        Add block

                        Video Module -> Favorite List

                        Now go to video module and select a video, favorite. Press the folder icon. Add a folder "For my friends", set privacy to Friends Only

                        Video is added as a favorite.

                        Goto profile. No block shows.

                        Go back to same video, click unfavorite, unchecked your Friends only folder and check default. Save.

                        Go back to profile. Favorite block populates with "default".

                        Another bug, title of block says {title} instead of proper title. Video Favorites?

                        So two bugs. Title of block, and no folders show anywhere. They are not displayed.

                        Hope I explained well an a git issue and fix is issued 😁

                        • Yep yep, you would just navigate as you would under the "Pages" section within the Dev application, locate the block that you cannot find when trying to add a new block like normal, click into said block and way down at the bottom within the pop-up form is a box you would tick to make them copyable, thus adding them to the add block menu.

                          Hidden, not really spoken of, just something I stumbled upon ages ago.

                          • Thank you for the report, please try to use "Favorites of author"  block, it should work correctly.

                            I think  "Favorite List"  block is left from some older functionality and we'll probably remove it https://github.com/unacms/una/issues/4721

                            • "Video Module -> Favorite List" is a special block which is intended for specific use, it can't be placed anywhere, for your purpose I think you can use another block "Video Module -> Favorite List".

                              On common pages which aren't user specific {display_name} could be displayed in block title, you can change block title to remove this replacement marker, or place block to user specific page such as user profile page.

                              • Hello

                                Video Module -> Favorite List
                                Now go to video module and select a video, favorite. Press the folder icon. Add a folder "For my friends", set privacy to Friends Only
                                Video is added as a favorite.
                                Goto profile. No block shows.
                                Go back to same video, click unfavorite, unchecked your Friends only folder and check default. Save.
                                Go back to profile. Favorite block populates with "default".

                                By default "Favorite List" block shows favorites from 'Default' list. If you want to show some other list you need to path 'list_id' in block service call params. Something like this

                                array (
                                 'module' => 'bx_forum',
                                 'method' => 'browse_favorite',
                                 'params' => 
                                 array (
                                  'profile_id' => '{profile_id}',
                                  'params' => 
                                  array (
                                   'list_id' => 1,
                                   'unit_view' => 'gallery',
                                   'empty_message' => false,
                                   'ajax_paginate' => false,
                                  ),
                                 ),
                                )
                                

                                You'll have:

                                Login or Join to comment.