4

Is it possible to hide/disable event location addresses? Or manage them at all without digging around in the database?

I'm using Drupal Views to search by event location, but that doesn't help when adding locations - we have a long list of event locations, and because they're not sorted, and can't be searched, people keep adding superfluous duplicate locations, which makes the situation worse...

1

Unfortunately, no, there is no UI for managing event location addresses and it's not possible to disable them even in the database without dropping the link between an event and the address (table civicrm_loc_block).

It could be a good feature to add to CiviCRM though.

  • I was afraid that was the case. Digging it is, then. – liblogger Jul 29 '15 at 15:11
0

Okay, I'm someone who should not be muddling too much in the databases... hopefully I didn't mess up anything when I went in to get rid of some incorrect addresses for our own location.

In Events>Location, we had a few incorrect addresses in our drop-down list (4549 instead of 4945). We did not want someone to accidentally select one of these.

To remove them this is what I did: I looked at the location in all events (in Manage Events), including past events, to make sure none of the incorrect addresses were being used. Depending on the number of events you have, this can be a bit time-consuming, but why have wrong info in your database, right?

Through Control Panel, I went to phpMyAdmin and selected database from the lefthand side. I then did a search on the street address (with "match exact phrase" box checked, and all tables selected) to find the table this was in - civicrm_address.

In the search results, you can scroll down to see the results in the table. I checked to make sure there was no contact_id associated with the address that I wanted to delete... identified with NULL. (It is our own address, albeit incorrect, and no one lives at the incorrect address... it's a corn field!), so no contact would have it listed. I deleted it. I then went into our CiviCRM and checked the location drop-down list in a current event (Manage Event), and incorrect address is no longer in the list.

Not sure if this is a recommended way to do this, but the incorrect addresses are no longer in Event Location drop-down list.

I am not sure if I did find an incorrect address in use in a past event if I would be able to change it, or if that would cause other problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.