feat: Bookmarks — save posts, topics, events for later #78

Open
opened 2026-06-02 23:46:04 +00:00 by jmiller · 1 comment
Owner

Summary

Users can bookmark/save any content for quick access later.

Schema

#__mokojoomcommunity_bookmarks:

  • id, user_id, content_type (activity/forum_topic/event/group/profile), content_id, created
  • UNIQUE(user_id, content_type, content_id)

Features

  • Bookmark button on activity posts, forum topics, events, groups, profiles
  • Bookmarks page listing all saved items grouped by type
  • Remove bookmark
  • REST API endpoints: GET/POST/DELETE /api/v1/community/bookmarks

Implementation

  • BookmarkHelper: toggle(), getByUser(), getByType(), deleteUserData()
  • Site view + template for bookmarks page
  • Bookmark button partial for embedding in other templates
## Summary Users can bookmark/save any content for quick access later. ## Schema #__mokojoomcommunity_bookmarks: - id, user_id, content_type (activity/forum_topic/event/group/profile), content_id, created - UNIQUE(user_id, content_type, content_id) ## Features - Bookmark button on activity posts, forum topics, events, groups, profiles - Bookmarks page listing all saved items grouped by type - Remove bookmark - REST API endpoints: GET/POST/DELETE /api/v1/community/bookmarks ## Implementation - BookmarkHelper: toggle(), getByUser(), getByType(), deleteUserData() - Site view + template for bookmarks page - Bookmark button partial for embedding in other templates
Author
Owner

Built: BookmarkHelper — toggle/list/counts for 5 content types, title/URL resolution, API endpoints.

Built: BookmarkHelper — toggle/list/counts for 5 content types, title/URL resolution, API endpoints.
jmiller added the pending: testing label 2026-06-02 23:56:19 +00:00
Sign in to join this conversation.
No labels pending: testing
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCommunity#78