CiviCRM/Demo: Difference between revisions

No edit summary
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
 
Line 152: Line 152:
# If you want to move Wordpress to it's own directory https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
# If you want to move Wordpress to it's own directory https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
# If you want to get rid of the built-in "household" contact type (if you don't use it) since there is no configuration setting or UI to do this.  
# If you want to get rid of the built-in "household" contact type (if you don't use it) since there is no configuration setting or UI to do this.  
<source lang="sql">
<syntaxhighlight lang="sql">
UPDATE civicrm_contact_type SET is_active = 0 WHERE name = 'Household';
UPDATE civicrm_contact_type SET is_active = 0 WHERE name = 'Household';
</source>
</syntaxhighlight>
or, you can do it in the API explorer if you don't have database access.<ref>https://civicrm.stackexchange.com/questions/54/how-can-i-disable-households/57#57  </ref>
or, you can do it in the API explorer if you don't have database access.<ref>https://civicrm.stackexchange.com/questions/54/how-can-i-disable-households/57#57  </ref>