Skip to main content
backdrop Backdrop Forum
  • Welcome!
    • Login
    • Register
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  1. Home ยป
  2. [DX] Remove unused item attributes (per delta) on fields

[DX] Remove unused item attributes (per delta) on fields

As mentioned in https://github.com/backdrop/backdrop-issues/issues/1135, I think adding item attributes (that are never used) for each delta of a field creates unnecessary complexity. I propose we remove the item attributes in both theme_field() and field.tpl.php.

GitHub Link: 
https://github.com/backdrop/backdrop-issues/issues/1352
GitHub Issue #: 
1352
  • Log in or register to post comments

Weekly office hours

Bring your questions to our weekly virtual office hours, every Wednesday. Everyone is welcome.

Recent topics

Animating the header links

Posted 3 days 21 hours ago by (NexViolentus) in How-To and Troubleshooting

Github Tips and Tricks for Contrib Maintainers

Posted 4 days 22 hours ago by (stpaultim) in How-To and Troubleshooting

Ubercart - Programmatically add product to cart and straight to Checkout

Posted 1 week 6 days ago by Martin Price | System Horizons Ltd (yorkshirepudding) in How-To and Troubleshooting

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...

Posted 1 day 4 hours ago by Olaf Grabienski (Olafski) on:

Github Tips and Tricks for Contrib Maintainers

Thanks Alejandro. That was the clues I needed.

Posted 1 week 5 days ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

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...

Posted 1 week 5 days ago by Alejandro Cremaschi (argiepiano) on:

Ubercart - Programmatically add product to cart and straight to Checkout

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org