Welcome To Snipplr


Everyone's Recent SQL Snippets Tagged drupal



« Prev 1 Next »
This SQL takes the redirects from Drupal 5.5 tables and converts them into a format the WordPress plugin Redirection can understand.
0 517 posted 13 years ago by ethicka
Used the first sql statement to find your menu item. (Replace menu-% with the name of your menu eg. "primary-links" . Then using the menu item id fix the items you want to regain the good old delete button on the menu item.
0 824 posted 13 years ago by Onfire60
1 490 posted 13 years ago by titosemi
1 467 posted 13 years ago by titosemi
1 554 posted 14 years ago by sennesaelium
I had several vocabularies but wanted to merge them into one. A simple query does this for you. The vocabulary_id where I wanted to merge all the tags into is 3 The vocabulary_id where the tags are to be merged from is 7, 8 and 12
2 613 posted 14 years ago by berkes
This is useful if you are changing a Drupal site's file upload path and/or changing from a private to a public file store.
3 1426 posted 15 years ago by shrop
Counts the total amout of nodeviews between now and a year ago (the last 31536000 seconds).
1 470 posted 17 years ago by berkes
Grab all users that never logged in.
1 650 posted 17 years ago by berkes
« Prev 1 Next »