All -

I am trying to sort out a layout issue. On our individual video page (using the default view mode), we want the title to come between the actual video and the other metadata fields. I have been trying to figure out how to do this, but I cannot find a way to play with title in the View Mode, and no matter how I dump/kint, I am not getting the field names I would need to call each individually in the page--brightcove-video--%.html.twig template. When I use kint, I get Null, and dump doesn't give me any content info, but I am probably doing it wrong.

Also, the page uses either page.html.twig or page--brightcove-video--%.html.twig - both show as recognized - but while other nodes that use the page.html.twig template get our header and footer, the single video page (for example: http://devkids.sandiegozoo.org/brightcove_video/6 ) does not. Can you tell me why?
Could someone guide me, or perhaps suggest another way of moving the title between the video and the description, etc.?

Comments

justkristin created an issue. See original summary.

justkristin’s picture

Issue summary: View changes
yce’s picture

Hi,

The title is the same as for the nodes, so it does appear over the tabs where it belongs.

If you want to hide the title that should be done from the template, and to display the title under the video you should create a custom extra field that you can display on the entity view.

You can find an example in the brightcove_entity_extra_field_info() and the brightcove_brightcove_video_view() functions.

yce’s picture

Status: Active » Closed (works as designed)