Not sure if there is an easier way and I missed it, but I went ahead and created a patch.

The patch provides an option when declaring a page callback to disable the page title. This way it doesn't need to be hidden with css or themed out with a template function.

CommentFileSizeAuthor
empty_page-disable_body_title.patch3.11 KBcodi

Comments

Nick Robillard’s picture

Status: Needs review » Closed (fixed)

Or you can just not include a title. It is not a required field. I've done this several times in D6 and D7. Let me know if this solves your issue.

alisamar’s picture

Version: 7.x-1.x-dev » 7.x-1.0
Assigned: codi » alisamar

I got a similar problem.
I create a untitled empty page, There is no problem here but if I add this page in the menu than
the page title displaying as menu title. I could not find a solution yet.

crosshairs’s picture

I had the same issue: When leaving Page Title blank, the title was still printed (seemingly getting the title from the path alias). Applying the patch worked well, thanks codi!

alisamar’s picture

Hi codi, patch is working as expected. Thank you for this.

nithinkolekar’s picture

Issue summary: View changes

This patch could be committed , because when using empty page we need other elements like blocks, slider to be present in region other than content region and show title before these elements(can be achieved using custom block). Without this patch by default title will be visible in content region which is after the elements.