Thanks Dude for the speedy response! I appreciate it!
I compared the 2.0 version with 8.x-1.2 version and found that a critical function is missing:
/**
* Implements hook_views_data_alter().
*
* Alter the table and field information from hook_views_data().
*
* @param array $data
* An array of all information about Views tables and fields, collected from
* hook_views_data(), passed by reference.
*
* @see hook_views_data()
*/
function views_sort_expression_views_data_alter(array &$data) {
$data['views']['views_sort_expression'] = [
'title' => t('Expression'),
'help' => t('Allow you to use an SQL expression.'),
'sort' => [
'id' => 'views_sort_expression',
],
];
}
The above was deleted from the .module file for some reason. You may want to put that back in and push it out ASAP. With out it the Expression field never lands in the the Sort Criteria making this module do nothing really.
Kurt.j β created an issue.
The D9/10 version of this module does Not work at all, literally does nothing, I dug through the code a bit to verify. You may want to put some information on the module page about that. For anyone else looking for this functionality for there upgrade to D10, I found the Book Access Code module: https://www.drupal.org/project/book_access_code β . Not quite the same thing but will get me by for now with some modifications. I haven't found anything else that does Book permissions like this, so if that doesn't work, you will probably have to code your own module to suit your needs. Hoping this will save others time spent trying to figure out what is going on here.
Love this module, thank you maintainers. Same issue confirmed on all my D9/D10 sites using this module, also seeing this warning for Block Content. Hope this helps.
Tokens or token types missing name property
$info['tokens']['block_content-field_heading']['size']
$info['tokens']['block_content-field_heading']['text']
$info['tokens']['paragraph-field_heading']['size']
$info['tokens']['paragraph-field_heading']['text']
I took a look at the code base for this module to see if I can figure out what the problem is. I don't see a .links.task.yml file or a .routing.yml file. Correct me if I'm wrong, but I think those are required to add a tab to the Local Tasks tabs at the top of a node page. I see a lot of empty functions and commented out code. So, I guess my question is, does this module actually work or just a placeholder? You may want to add something to the Module page about D10 progress or where this module stands as far as functionality. Thank you Maintainers for your continued support of this module, it is a vital piece of a website I am migrating from D7 to D10.
I just installed this module on a D10 site. Same issue, no Book Access tab on the Books. Thanks.
#9 worked for me, thanks!
For what it's worth, I found this option: "Rendered entity - Block" did not render the block in the view header or footer, but this option: "Rendered entity - Content block" did render the block. Key word being "Content" I guess. I would agree that the difference between these are not evident.
I used this one on the last D10 site I built, does have D10 compatibility, seems to be pretty good. https://www.drupal.org/project/cheeseburger_menu β
Same problem as #3. This has been an issue for a while now it seems. Love this module, using it on a whole lot of sites. Would be great if the dependency issue was resolved and pushed so I can update all these sites properly. #5 suggestion is not practical for me. Thanks!