Short answer: it's difficult. You can change the url of the project server in
installer.settings.json
but you lose the ability to install or update modules served by Backdrop's project server.
You can specify custom URLs for "non-official" contrib/custom modules, by adding the project status url
property in the .info file of the module. That should allow you to keep Backdrop core and "official" contrib updated from https://github.com/backdrop-contrib as per usual, while the custom module can get updates from elsewhere. I've never personally done it, so untested. But it's been there since D7 (perhaps even before).
Backdrop CMS contributed projects
Join the group at https://github.com/backdrop-ops/contrib to add your own! - Backdrop CMS contributed projects
I don't see that property mentioned in https://docs.backdropcms.org/creating-modules#info-files but it is mentioned in https://www.drupal.org/node/542202 (last in the list of .info properties).
klonos:
project status url (Only used for custom modules not submitted to drupal.org)
Allows module maintainers to define a URL to check for updates to their module using the Update status module. No module released on drupal.org should define this parameter. URL should point to an XML feed that accepts requests in the form of
http://my.domain.com/projects/{project}/{core}
. In that example,project status url
should be set tohttp://my.domain.com/projects
.
klonos: The logic seems to be there. See:
- https://github.com/backdrop/backdrop/blob/fe5c21ced7a7e3bcb9b41df15a7977ee89384a17/core/modules/update/update.fetch.inc#L305
- https://github.com/backdrop/backdrop/blob/fe5c21ced7a7e3bcb9b41df15a7977ee89384a17/core/modules/installer/installer.browser.inc#L193
- https://github.com/backdrop/backdrop/blob/fe5c21ced7a7e3bcb9b41df15a7977ee89384a17/core/modules/installer/installer.browser.inc#L291
- https://github.com/backdrop/backdrop/blob/fe5c21ced7a7e3bcb9b41df15a7977ee89384a17/core/modules/installer/installer.pages.inc#L489
Recent comments
Thanks for the hint, @Enthuisiast, very helpful! Not easy for every content editor but good enough if you know how to find the icon names. I was curious and tried to control the icon size...
How to add inline html icons from new icon API?
I've used Content Access for this in the past. You could also create a special node type for the restricted nodes, then create a layout that overrides the node/% and has two visibility...
Restricting access to certain posts
<img src="/core/misc/icons/alarm-fill.svg" class="core-icon">Display text .core-icon { width: 16px; height: 16px; margin-right: 10px; } or with CSS background-...
How to add inline html icons from new icon API?
I don't know a way to add an icon of the new API as inline HTML, but I'm also interested. Maybe file a feature request for Backdrop, and/or follow the progress of the Icon Browser module? (Re...
How to add inline html icons from new icon API?
Concerns have been raised that the recently released Standford Decanter theme might be confusing and problematic for people testing themes that don't understand the specific use case for this...
June 13th Weekly Meetings