- 🇧🇪Belgium dieterholvoet Brussels
Drupal 7 is EOL as of 5 January 2025 and so is the Drupal 7 version of this module. Marking as Closed (won't fix). Feel free to re-open if this issue is still present in any supported version of the module.
Hi there,
I have some problem with permissions of this module and Block Internationalization.
I want to set user permission in order to afford user to modify the block's title by language.
I'm trying to modify the module to do this but I'am not able.
Can anyone help me?
In file block_access.module I added this line, in constant definitions:
define('BLOCK_ACCESS_MENU_TRANSLATE', 'admin/structure/block/manage/%/%/translate');
define('BLOCK_ACCESS_MENU_TRANSLATE_LANG', 'admin/structure/block/manage/%/%/translate/%');
and in function block_access_menu_alter i added:
$items[BLOCK_ACCESS_MENU_TRANSLATE_LANG]['access callback'] = 'block_access_check_config';
$items[BLOCK_ACCESS_MENU_TRANSLATE_LANG]['access arguments'] = array(4, 5);
but when I try to access the page for language translation (which has 3 parameters in the url) always sends me back to the list page translations
Closed: won't fix
1.5
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 is EOL as of 5 January 2025 and so is the Drupal 7 version of this module. Marking as Closed (won't fix). Feel free to re-open if this issue is still present in any supported version of the module.