Hi, I just created some Views and Rules in Drupal 7, then I export them using Rules and Views UI and save them into text files. I need them to be created automatically on my module installation so I don't need to import them manually. Is there any function I can use to import them programmatically?
I have a Drupal 6 site that I'm trying to migrate to Drupal 7. However, I have a gallery using the Image and Image Gallery modules.
I know that Image is a dead end from Drupal 6, but the Image nodes can be converted to CCK ImageField fields uning the Field Converter module.
However, a migrationpath for Image Gallery seems to be largely forgotten, or at least I've managed to find almost nothing about it on the web. I think my best option is to roll my own gallery with Views, but I would welcome any tips for bringing my images from the Drupal 6 site.
I installed the .po for another language and set that langauge as default (instead of English) even though I did not install/configure all the prerequisites. Now, each time I try to access my website, it goes into an endless loop and I can no longer access its configuration panels.
How can I reset the default language back to English? Is there any file to configure or database entry to change?
I'm sure there's a simple solution that I just can't find because it's too simple. Here's the prob.
Let's say I want to search for any users from Montana. I type Montana in the search field and it finds none. Now, I know there are some test users with the state of Montana. OK, so instead I try one of the users first name. Nothing.
I have a Views page that displays all the nodes that a user has flagged (using the Flag module), and this Views page is a menu tab on each user's profile. I would like to make it so that (1) users can control the visibility of their own Views page (aka privacy settings) and (2) that one of the privacy settings would be that it's only visible to friends (which I'll probably use the User Relationships module for). Any comments on how to accomplish either of these?