We should provide a field formatter that allows people to show a multi-value field as a comma separated list of items. In Drupal 7 this was done by using the https://www.drupal.org/project/field_delimiter module.
Leaving this out will be a regression from Drupal 6. In Drupal 6 you could choose to display taxonomy terms on a node as a comma separated list of links. In Drupal 7, the only way to achieve the same thing was to use the taxonomy formatter module.
I would love to see this common-use-case feature restored to backdrop.
MVP:
- Allow separating items by a comma ,
- Apply this new formatter to any multi-valued field
- Allow formatting multi-valued fields as HTML lists (e.g. <ul>, <ol>)
Nice to have:
- Allow separating items by any custom delimiter (e.g.
,,;,-, etc.) - Allow specifying a different custom delimiter for the last two items (e.g.
&)
Backdrop contrib module: backdrop-contrib/textformatter
Recent comments
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
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE