I'm working on a site and noticing that when I use a custom layout for a content type and a node of that content type is in a menu, the menu text is used for the page title and not the text that is in the title field?
That's strange. I'm trying a template override and am not seeing this issue. Can you enable Devel and then go to admin/config/development/devel and enable "Theme debug", reload the page and inspect the source with your browser's dev tools? Depending on your front end theme and your layout, the node title may be themed by a different template file. In Basis, the theming template for the node's titles is page-components.tpl.php. But perhaps in your theme or layout, the title is actually being themed by your overridden node template?
When you say "custom layout" do you mean a Layout override of `node/%`? Or are you referring to a custom layout template created at admin/structure/layouts/settings?
It may be helpful to see an export of the layout you are using. Can you paste here?
This is what was and is the Views access:
So I am hoping, and from tests so far can see that it is fine, that the Team members don't have access beyond what Views would normally give them.
Found it by doing a diff against the working managers.
Bypass node access. Set TRUE for the team allows the views to work properly. Which suggests that Views has a different way of checking access...
Comments
That's strange. I'm trying a template override and am not seeing this issue. Can you enable Devel and then go to admin/config/development/devel and enable "Theme debug", reload the page and inspect the source with your browser's dev tools? Depending on your front end theme and your layout, the node title may be themed by a different template file. In Basis, the theming template for the node's titles is
page-components.tpl.php
. But perhaps in your theme or layout, the title is actually being themed by your overridden node template?I'm not using any additional tpl files... happens on both Basis and Bootstrap 5 Lite themes.
Things work fine if I disable the custom layout..
It may be that I've messed up the site somehow as I'm not seeing this on another.
Devel does not show anything surprising
When you say "custom layout" do you mean a Layout override of `node/%`? Or are you referring to a custom layout template created at admin/structure/layouts/settings?
It may be helpful to see an export of the layout you are using. Can you paste here?