Please Log in or Create an account to join the conversation.
You can tell your activity action to load by nothing, by asset only, by asset and owner, or by owner only. Your asset should technically be as unique as possible. Example as follows for CB Gallery.BTW if I need to suppress an activity if the hotspot is removed, how can I retrieve it ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
No, you ideally should never have to directly use CB Activity API.Do you have a doc somewhere for the API ?
CB Activity comes with a content prepare plugin and a module. Both support custom asset with substitutions.For instance it would be great to use the module per asset for other components.
Asset in all usages supports substitutions. So a module for example can have activity unique to the module by its module id (e.g. byusing [module_id]). More custom substitutions can be added as needed. The content prepare plugin can be unique per article if it's from com_content using [article_id]. Both support [page_id] which makes the asset unique to the current Itemid.But in this case the asset Id has to be dynamic and the module cannot be used.
Best way for 3rd party extensions to integrate is to just fire a CB trigger then act on it using CB Auto Actions. This ensures no dependency to maintain the implementation as that falls on us maintaining CB Auto Actions.Can you explain how to integrate ?
Please Log in or Create an account to join the conversation.