How do I remove the default Profile so I can replace it with Profile2?

japo32's picture

Hi, I'm creating a new OpenPublish site and I need to remove the default Profile content type. I find it a bit clunky to keep adding "Author" when creating content. And I need users of the site to be able to create content as well, hence I need the Profile to be automatically connected to the account.

I found Profile2 and actually have it installed and working.

the problem is I can't see how I can remove the Profile content type. There is no delete button in the Content Type listing.

I have also uninstalled the openpublish Author and Phase2 Profile modules.

can anyone help?

AttachmentSize
scrshot.jpg75.6 KB

Comments

no response yet?

japo32's picture

no response yet?

You should disable the

joelwallis's picture

You should disable the feature (Admin > Structure > Features) if there is one that provide the Profile content type. Use the Features Tools if you still need to unlink the content type from the feature. So, delete the content type.

http://drupal.org/project/ftools

Joel Wallis.
http://joelwallis.net

Hi joelwallis, thanks for the

japo32's picture

Hi joelwallis, thanks for the reply.

I can't seem to make it work the way you describe. I've already disabled the module connected to the Profile. When I install Features Tools and go to the recreate page I get a lot of warning messages!

Warning: Invalid argument supplied for foreach() in features_override_make_key() (line 43 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Warning: Invalid argument supplied for foreach() in features_override_make_key() (line 43 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in _features_override_set_deletions() (line 317 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Warning: Invalid argument supplied for foreach() in features_override_make_key() (line 43 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Warning: Invalid argument supplied for foreach() in features_override_make_key() (line 43 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Warning: Invalid argument supplied for foreach() in features_override_make_key() (line 43 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Notice: Undefined index: additions in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_override_export_keys() (line 341 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Notice: Undefined index: additions in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_override_export_keys() (line 341 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Notice: Undefined index: additions in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_override_export_keys() (line 341 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Notice: Undefined index: additions in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_override_export_keys() (line 341 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).
Notice: Undefined index: additions in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_overrides_features_export_options() (line 38 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.features.inc).
Warning: Invalid argument supplied for foreach() in features_override_export_keys() (line 341 of D:\wamp\www\panahontv\profiles\openpublish\modules\contrib\features_override\features_override.export.inc).

Then I proceed to remove the content type in the components. Then when I use the "Safe Auto Create Feature" button the page reloads the component is removed.

But when I look at the list of content types, the delete link is still not there.

And the way I understand it there should be an unlink file somewhere that I can't find.

I managed to delete it! Using

japo32's picture

I managed to delete it!

Using the admin menu drop downs, I navigated to Structure >> Content Types >> Profile >> Delete

I was just surprised that it was there yet it did not show up in the admin/structure/types page.

I'm sure the fields are somewhere still in the database, though.

go figure..

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week