robS-4
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
| Status | Topic | Supporter | Voix | Publications | Nouveauté |
|---|---|---|---|---|---|
|
When I try to add a new view, I get “You do not have permissions for that.”
Commencé par : 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 | Il y a 4 weeks | |
|
Existing Relationships Broken — new ones can only be added one direction
Commencé par : robS-4 in: Toolset Professional Support |
|
1 | 5 | Il y a 11 months, 4 weeks | |
|
Custom Fields Group pre-loader spinning
Commencé par : robS-4 in: Toolset Professional Support |
|
1 | 5 | Il y a 1 year, 2 months | |
|
Customizing the Map Cluster Icons
Commencé par : robS-4 in: Toolset Professional Support |
|
1 | 5 | Il y a 1 year, 4 months | |
|
New License Key not Activating Properly
Commencé par : robS-4 in: Toolset Professional Support |
|
2 | 13 | Il y a 1 year, 7 months |