Hello
Now when creating an album or uploading a photo/file in a CB gallery field there is no longer the display box for privacy choices so that the user selects a privacy group
I tried moving the CB gallery fields to other streams to see if it inherits other settings but could not succeed in getting the privacy settings to display again as previously
how can I restore this behavior? see :
www.joomlapolis.com/forum/developer-members-support/245847-cb-gallery-question?start=42
I started this kind of autoaction but wonder if it replaces the full behavior of the old post ? are the triggers ok ? if it's the correct way to go, could you also tell me how to display the chosen setting under the thumbnail, that would be great
Type : CB Privacy
Triggers : gallery_onAfterCreateitem, gallery_onAfterDeleteItem, gallery_onAfterItemEdit
User : automatic
Access : all registered users
Action: Privacy Display
Asset : monia.[user_id].docs.[var1_id]
Output :
Return html : <div class="cbft_text cbtt_input form-group row no-gutters cb_form_line"> <label class="col-form-label col-sm-3 pr-sm-2 text-warning">Confidentialité de ce fichier :</label> <div class="cb_field col-sm-9">[content]</div></div>
Parameters :
Reference variable 1
thanks for helping.