- Issue created by @SirClickALot
- π¬π§United Kingdom juc1
@SirClickalot have you tried enabling the core field_layout module as mentioned here https://www.drupal.org/project/manage_display/issues/3306918 π Title field only seems to render when Field Layout (core) module is enabled Closed: duplicate
- Status changed to Closed: works as designed
over 1 year ago 8:28am 16 January 2024 - πΊπ¦Ukraine AstonVictor
Hi @SirClickalot,
actually, there is no title field on the page. It renders the page title (you can check the twig output).
for rendering the page title as a field you can:
1. use layout builder and add the title field to any position you want.
2. add access and force show the title as a field. it can be done e.g.function theme_preprocess_node(&$variables) { $variables['content']['title']['#access'] = TRUE; }
in both cases,
$tag
will be added as a wrapper.thanks
- π¨π¦Canada bohemier QuΓ©bec city, Qc
I find that this module fixes some long-time inconsistencies, especially with the handling of title.
Is there a reason for having #access=false by default? Doesn't this defeat the purpose of the module? After setting a field formatter for title, a user would expect that field to be displayed, just like the OP mentioned.
Or perhaps there could be a configuration form somewhere to allow access?
Thanks!
- leymannx Berlin
Also to me this is really confusing. I think the module should clearly state these limitation on both the module page and in the README. This would help a lot to get the people maybe even create the MRs that are missing to make this work OOTB. Should we add an issue for it?
- π©πͺGermany 4kant
I agree with @leymannx.
Luckily I found this issue...I donΒ΄t want to use layout builder by the way.
Thanks for the module!
- Status changed to Needs work
12 days ago 1:33pm 14 April 2025 - π©π°Denmark ressa Copenhagen
I believe I also just saw this in Drupal 11 ... I installed the module, and "Authored on" and "Authored by" fields were available on the Display page and working fine, but I could not change position of the Title ...
Perhaps someone can add a solution under the "Proposed solution" section I just added in the Issue Summary? For example, if Layout Builder is required, that's a pretty big deal, and important piece of information. Thanks.
- π©π°Denmark ressa Copenhagen
Or will this be taken care of in β¨ Allow node/entity to display title/label field as normal Needs work , allowing to change the position of Title field in a plain vanilla Drupal 11 installation on the "Manage display" page
/admin/structure/types/manage/article/display
, simply by installing the Manage display module?It is pretty hazy to me ... it would be awesome if the README and project page had the minimum required steps to allow changing the position and display of the Title field, as of today. Thanks!