Hello
I was thinking at displaying activity streams in another component page where I need to input the id of this component items in the asset.
Tried with the activity bot but it seems that it would not display directly in another component template
CB content
Code:
{module id="1672" fixhtml="false" style="division" moduleclass_sfx="cercle"}
Tried with an activity module and overriding its params but not luck neither
CB activity
Code:
{module id="1445" activity_asset=<?php echo 'hotspot.' .$this->hotspot->id; ?> fixhtml="false" style="division" moduleclass_sfx="cercle"}
Also tried directly to get the output :
Code:
$activity = $cbUser->replaceUserVars ('[cbactivity:activity asset="hotspot.dynamicid"/]';)
But no chance...
What's my best options, knowing that I need to output a dynamic id which is the item id of the component item (hotspot in this case).
I thought of using auto actions but cannot see really how to output them in another component template ?
Also can you tell me where to retrieve an asset id ?
For instance if I want to retrieve all events associated to my hotspots referenced by asset hotspot.%.event.%
Thanks in advance for suggestions