Now You Can Create Personal Lists of Drupal Snippets at Dropbucket

25 Mar · by Tim Kamanin · 2 min read

Yes, you read it right! Now you can create personal lists of Drupal snippets at Dropbucket - Drupal snippets repository. It turned out that we already have loads of great snippets at the website and there challenge have appeared: how to group these snippets in some convenient way?

So for example, you found five cool snippets about theming and you could add them to your bookmarks, but later, you can lose track of them because you're constantly adding other snippets to your bookmarks and sooner or later you can simply get lost in your bookmarks feed. So I thought about this problem and decided to develop "Add to List" feature which now lets you to create any number of snippet lists (public or private) and add any number of snippets to these lists. Here is an example of how such list looks like: http://dropbucket.org/list/298.

The list can be shared, commented and the best part - it can be cloned! So if you like someone's snippet list you can clone it and extend!

So how to create snippet lists?

I tried to make snippet list creation process as smooth as possible. On snippet pages and on snippet views you should note _Add to list_ link.

Click on it and you will see a popup like this:

As you see, I already have three lists created and I can add a snippet to any list by clicking on checkbox near the list name. Also I can filter through my lists by list title. And in the end, at the very bottom, I can create a list easily bu just entering its name in the textbox, easy! After you've added at least one snippet list, you will see a jump menu on the right in a sidebar where you can select any of your lists and quickly jump between:

So this is it :) Go and play with this new feature. Now we can create lists of great snippets and share them inside our team or with the community, think of such lists as "Performance Tweaks" or "SEO Snippets".

And don't forget to let me know what you think about it :)

Comments

Required for comment verification



Olivier

This looks great! Did you develop a specific module for this? Could you share it? I'm also trying to develop something similar to my own website, would it be possible to share some insights?

Reply · 4 years, 8 months ago