Hi phpFoxer,Do you mean you want to store upload files from users from your apps? If yes, you can use phpFox library "Phpfox_File" to do it, same as we used with core modules.
Did you mean you follow this tut and you want to add blocks to Site Wide? If yes, you can try below code:...protected function setComponentBlock(){ $this->component_block = [ "Recent Items" => [ "type_id" => "0", "m_connection" => "", //left this empty will help you add the block to all pages "component" => "recent_items", "location" => "3", "is_active" => "1", "ordering" => "1" ], ];}...
Hi phpFoxer,Do you mean you want to add blocks to a page that didn't have callback as a controller and the blocks can be manages in admincp? if yes, you cannot do that at the current time. If you only add blocks and no need to allow admin can manage them, you can use the way you mentioned in the first post or follow this tut.
Okay, we have finally made it work! Thanks Robert!
Thanks for the clarification. It is not stated on docs that this IDs are being used during updates, but thanks for commenting. Hope this will be useful for other developers.
Yes it is stated. Please see the doc again as it says it in the description.