9 years ago
2
Topic

Hello,

If possible, how to I make it so users can "favorite" a com_tag and have the list a favorites displayed in their user profile?

Regards,

Jeff

Get a VIP membership
572 Posts
_jrmo
9 years ago
1
Level 1

Hi Jeff,

I'm not sure about your example with com_tags. BUT, I'll describe a solution for if you wanted to favorite an article, and you might be able to apply the same principles.

  1. Create a new content type called "favorite"
  2. In the content type, create a field called "Article Parent ID"
  3. Set up a live value on the article_parent_id field to pull the ID of the main article you are viewing. This will create the association between the favorite and the article that is being favorited.
  4. Embed the content type as a site form on your article pages - set the permissions to Registered so only registered members can favourite an article
  5. Create a list type based on the favorite content type
  6. In the search form, add the Article Author field, and set a live value to User > User ID
  7. Embed your search form on your profile pages
  8. You should now get a list for each user of the articles they have favourited.

Hope this helps.

James

9 years ago
0
Level 2

James,

I can't wait to try this!  Another reason to use SEBLOD!

****

The site is organized like this:

Category = Story title

Category Description = Story introduction

com_tag = Genre of that Story

Article = Author's additions to the story.  Articles are displayed in a category-blog layout and articles are displayed inline to appear as a paragraph/pages in a book.

*****

I hope your solution can be modified to "favorite" a "Category" and a "Author" too.  

Yes, this REALLY helps!

Jeff

 

Get a VIP membership