Welcome To Snipplr
Everyone's Recent SQL Snippets Tagged drupal
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« 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
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
« Prev 1 Next »