I would like to use this module for a new site that I am moving to Drupal. In the old CMS, people were also able to paginate content and set page headers with a [header=title] tag. However, it was required to put the [header=title] tag on the first line to define the title of the first page. Currently, the pagination module does not allow you to do this: the first page is always the content that appears before the first [header] or [pagebreak] tag and the title is set to the title of the node.

I have made this patch that does two things:

  1. Hide the first page in pagebreak/h3 mode if it is empty.
  2. Add an administrator option to not have the first page name set to the node title.

I hope the patch is acceptable.

CommentFileSizeAuthor
#1 issue-1274702.patch5.63 KBJorrit

Comments

Jorrit’s picture

StatusFileSize
new5.63 KB
mundanity’s picture

Title: Patch: hide first page if node starts with tag, option to not use node title for page 1 » Patch: Custom titles for first page

Hi Jorrit,

Thanks for this patch, I took a cursory look about a week ago and it looks good, but I would like to test it a bit more. Anyone else have an opportunity to try this patch? Thanks again for your contribution!