This idea was initiated by @BWPanda in Zulip: https://backdrop.zulipchat.com/#narrow/stream/218635-Backdrop/topic/Core...
The Olivero theme is not backwards compatible
I think that's the kicker. In Backdrop, we tend to be more desiring backwards-compatibility. Perhaps we could adopt a compromise instead - fork Basis and mark it 'not backwards-compatible', then include it by default in core for new sites going forward. This new version would get all the new features, fixes, etc. and would put an end to the issues we have with updating Basis currently. The old, backwards-compatible version of Basis would remain in core (or perhaps just contrib?) for posterity and for existing sites, but marked as such so people know they can use it for subtheming but it won't receive updates.
@herbdool
That could work. Then if someone wants to use the new one they could copy the whole theme and rename functions etc?
@klonos
I thought that before each minor release, we could be grabbing the current core
basistheme folder and dumping it to contrib, as a new versioned branch/release. Then people could either choose to subtheme as they currently do now, by simply by usingbase theme = basisin the .info file of their subtheme (which would always get them the core version, and which may introduce breaking changes in the future), or they could also be doing something likedependencies = basis (1.23.0)(which would "pin" their base theme to a specific version - which would only be provided by the contrib theme). ...or something like that anyway ...ifdependenciesrequires too much refactoring to support all that, then we could come up with a new property in the .info file, likepin base theme = 1.23.0. ...or just have the existingbase themeproperty support versions.
Recent comments
Hey there! That error message is definitely a head-scratcher. Even though you uninstalled Views, it sounds like something is still referencing a Views-related constant. Maybe a custom module or...
VIEWS_STORAGE_OVERRIDE
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout