社交圖表要點

社區成員能夠遵循活動並遵循這些活動,具體表現在以下兩個部分:

follow元件必須與其他資源關聯,並且此關聯已為社區站點中的現有社區成員和功能建立。

following元件列出當前成員後面或當前成員後面的成員。 此社交圖形中,成員之間關係包含在為社群網站建立的使用者設定檔中。

客戶端的要點

關注

resourceType social/socialgraph/components/hbs/relationships
包括
clientllibs cq.social.hbs.socialgraph
範本 /libs/social/socialgraph/components/hbs/relationships/relationships.hbs
cs /libs/social/socialgraph/components/hbs/relationships/clientlibs/relationships.css
屬性 請參閱使用社交圖表
optional
屬性
  • 名稱: outgoing
  • 類型:布林值
  • 值:
    • true - 元件將 following 列出目前登入成員的成員 follows
    • false - 元件將 following 列出當前登 follow 錄成員的成員

如果屬性遺失,則預設為true。 目前,無法在製作模式中使用編輯對話方塊來設定此屬性。 必須使用CRXDE|Lite將屬性新增至following 節點的例項。

關注

resourceType social/socialgraph/components/hbs/following
包括
範本 /libs/social/socialgraph/components/hbs/following/following.hbs
cs /libs/social/socialgraph/components/hbs/following/clientlibs/following.css

伺服器端的要點

本頁內容