Using d7. Is it possible to do an "or" with views and arguments? I have one argument and I want to search for it in either of two fields. I have a content type that includes "home team" and "visiting team". I want to show all nodes for a specific team regardless of whether they are the home or visitor.
Is there a way to do this? Is there another way around it?
Hi. I just updated 2 sites from 7.0 to 7.2. Both updates seemed to go just fine (no errors logged). The first site is working just fine, but the second site won't let me into the admin panel. I appear to be logged in as the superuser, and I can see the Admin bar on top. The front page tells me the site is in maintenance mode, and has a link that says "Go Online." When I click it, I am taken to my hosting provider's "404-Page Not Found" page. I go back to the front page and try all the admin links, and every single one of them ends up in the 404.
is there a module, which gives guests (and other users) the ability, to edit their comments, until 1 hour after the post? If not: any idea for realizing that?
I have all the taxonomy tables from a Drupal 6.20 website, and I need to complete a manual import of that taxonomy data into a Drupal 7.0 site with existing nodes etc. but empty taxonomy tables. I've completed everything but getting the Terms re-associated with the existing nodes; that's the part I can't figure out how to do:
I can't figure out how to do in a manageable way is to migrate the Taxonomy_Index/Taxonomy_Term_Node data into the Field tables created by Drupal 7 for each Term Reference Field created. Without this, I have almost 2,000 records linking terms to nodes, and I am trying to find a way to put all these term references back into the Drupal 7 nodes -- without spending what will probably be a day or several days worth of mind-numbing manual reassignment of term references.
In Drupal 6, you could do simple db_query() and db_result() calls to perform a select on the database but that doesn't work in Drupal 7 and the documentation in api.drupal.org isn't clear, yet.
I do this, but get nothing:
$result = db_query("SELECT field_artist_value FROM {field_data_field_artist}")->execute();
foreach ($result as $record) {
// do stuff
}
I've searched through several websites but they all said different things on how to accomplish this and I'm on the verge of going crazy.