Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I believe this module is supposed to allow me to check the box to show the title as a field and then move it around the page?
It does not appear to work as intended. The title block still shows and the field does not?
Is there something that I am missing?
Comment | File | Size | Author |
---|---|---|---|
#10 | title-full_node_view-2828651-10-d8.patch | 5.03 KB | anfor |
#6 | title-full_node_view-2828651-6-d8.patch | 4.38 KB | Syndz |
#3 | StaticShot_22-11-2016_17-01-14.png | 109.23 KB | Zsuffa Dávid |
#2 | StaticShot_22-11-2016_14-35-11.png | 29.81 KB | Zsuffa Dávid |
#2 | StaticShot_22-11-2016_14-34-03.png | 46.59 KB | Zsuffa Dávid |
Comments
Comment #2
Zsuffa Dávid CreditAttribution: Zsuffa Dávid commentedHi,
I had the same issue, but i found it how to do it:
Instead of:
Usage
After enabling the module as usual, visit the
Manage fields pageof the content type, taxonomy vocabulary or "comment type" which you wish to replace fields of andclick the replace link.That's all.do:
Usage
After enabling the module as usual, visit the edit page of the content type, taxonomy vocabulary or "comment type" which you wish to replace fields of and select the checkbox "Display Configurable Title" That's all. Now you can go to "Manage display tab" to use your title field.
Comment #3
Zsuffa Dávid CreditAttribution: Zsuffa Dávid commentedOk i missunderstood the case a bit. The title don't show up on node page neither for me.
But on a views page with default view mode the title is on the right position.
And, on the devel markup tab :'node/2/devel/markup' i can see the title field:
but the final output don't contain it.
Comment #4
Syndz CreditAttribution: Syndz at Nedbase commentedIt appears that this feature has not been implemented yet.
I have edited the title of the issue so that it reflects the subject.
I have added a patch that creates a Controller which overrides the default NodeViewController::buildTitle method.
I'm not sure if this is the way to go, but it seems to be working.
Comment #5
Syndz CreditAttribution: Syndz at Nedbase commentedMy patch will fail during a new drupal installation as there's a dependency missing on the node module.
I will upload a new patch later.
Comment #6
Syndz CreditAttribution: Syndz at Nedbase commentedHere's a new patch that adds node as a dependency.
Comment #7
stevieb CreditAttribution: stevieb commentedpatch in #6 fails and gives a wsod
the error log shows the following error "ReflectionException: Class Drupal\title\Routing\RouteSubscriber does not exist in ReflectionClass"
Comment #8
judapriestPatch #6 do work for me. But I didn't check from a new install.
At least, I didn't have any wosd.
Test with the 8.x-2.x-dev version on Drupal 8.2.
Waiting for more review for RTBC.
Comment #9
anfor CreditAttribution: anfor at Axess Open Web Services for Axess Open Web Services commentedJust rerun the patch to fixed the test case.
Comment #10
anfor CreditAttribution: anfor at Axess Open Web Services for Axess Open Web Services commentedSorry my bad, this time I correctly reroll the patch.
Comment #11
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedAn alternative fix that worked for me is to edit code in title_preprocess_node and uncomment this line
Comment #12
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedHopefully we will have a new D8 maintainer soon, and we can fix this. I think #11 is the way to go as it aligns with #2353867: [META] Expose Title and other base fields in Manage Display - if/when that gets fixed the workaround code of #11 is no longer needed.