robS-4
Support threads created in the last 30 days: 1
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
| Status | Topic | Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
When I try to add a new view, I get “You do not have permissions for that.”
Started by: robS-4
in: Toolset Professional Support
Problem: Administrator getting "You do not have permissions for that" when creating a new View. Default theme and plugin deactivation did not resolve. Solution: Toolset capabilities were missing from the administrator role. Added snippet to theme's functions.php to force-assign Toolset capabilities, reloaded, then removed the snippet (caps persist on the role): add_action( 'admin_init', 'force_toolset_admin_capabilities' );
function force_toolset_admin_capabilities() {
$role = get_role( 'administrator' );
if ( ! $role ) {
return;
}
$caps = array(
'toolset_edit_views',
'wpcf_custom_post_type_view',
'wpcf_custom_post_type_edit',
'wpcf_custom_post_type_edit_others',
'wpcf_custom_taxonomy_view',
'wpcf_custom_taxonomy_edit',
'wpcf_custom_taxonomy_edit_others',
'wpcf_custom_field_view',
'wpcf_custom_field_edit',
'wpcf_custom_field_edit_others',
'wpcf_user_meta_field_view',
'wpcf_user_meta_field_edit',
'wpcf_user_meta_field_edit_others',
);
foreach ( $caps as $cap ) {
if ( ! $role->has_cap( $cap ) ) {
$role->add_cap( $cap );
}
}
} |
|
1 | 9 | 6 days, 12 hours ago | |
|
Existing Relationships Broken — new ones can only be added one direction
Started by: robS-4 in: Toolset Professional Support |
|
1 | 5 | 11 months ago | |
|
Custom Fields Group pre-loader spinning
Started by: robS-4 in: Toolset Professional Support |
|
1 | 5 | 1 year, 1 month ago | |
|
Customizing the Map Cluster Icons
Started by: robS-4 in: Toolset Professional Support |
|
1 | 5 | 1 year, 3 months ago | |
|
New License Key not Activating Properly
Started by: robS-4 in: Toolset Professional Support |
|
2 | 13 | 1 year, 7 months ago |