In #240, we added Link module to core. When using link fields, I often find that I only want absolute full URLs to be supported, and not relative URLs. Right now all Link fields allow both relative and full URLs. To ensure we get a more predictable input and that fields are used in the way intended by site builders, we should: - Add an option to all Link fields for "Absolute" and "Relative" URLs. - Default to "Absolute" only, as that is the expected format for links. Usually internal linking is done with either a reference field or a menu item.
GitHub Issue #:
1158
Recent comments
In a blog post titled "Github Tips and Tricks for Contrib Maintainers", I'd like to see some of the following topics: When is the README sufficient for documentation? When should...
Github Tips and Tricks for Contrib Maintainers
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