Please Log in or Create an account to join the conversation.
The CB Activity action type doesn't return anything when doing creations or deletions, but will review pushing a quick new build where the object is added to the substitutions so you can access it via [action_object] and for id would be [action_object_id]. You'd then just use the built in Output feature to output it as whatever format you want.In order to avoid breaking the native apps, is it possible to have an auto action in CB to save all this in a new activity and return its id ?
Only way that'd work is you'd need to load the file data into _FILES global or encode the image into raw data string and pass that through. Take a look at saveItemEdit in component.cbgallery.php for the file data handling. If you store that externally you could just use the CB Gallery action type to generate a media link to it though and then you don't have to deal with trying to perform a file upload.As I need to save both images/videos in CB Gallery and CB Activity, could you point me to what I need to do ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.