I'm not sure if there is an order to image styles already, but I'd really like the ability to order mine in the select list used to choose one. I think this could be accomplished by adding tabledrag to the image styles list, storing the order, then sorting the styles in the select list by this order.
Tasks remaining - find out if there is a weight or key we can use for sort order (if not, add one) - add tabledrag to the image styles UI to set the order - update the query that retrieves image styles to sort by this order
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