我正在尝试添加新的自定义钩子:theme.yml
custom_hooks: - name: displayUnderTop title: displayUnderTop description: Add main menu in the header
和视图:
{hook h='displayUnderTop'}
但是在管理控制台中我看不到新的钩子。我试图重新编译模板文件,但无济于事。如何使此挂钩出现在“位置”列表中?