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.
The attached patch improves the title of the field mapping edit page by using the PDF key when there is no label set and prefixing it with "Edit field mapping for".
Comment | File | Size | Author |
---|---|---|---|
#1 | fillpdf_1508674_field_mapping_title_2.patch | 608 bytes | wizonesolutions |
fillpdf_field_mapping_title.patch | 591 bytes | Liam Morland | |
Comments
Comment #1
wizonesolutionsI've committed the following modified version. I think we should be using
title callback
within the actualfillpdf_menu()
entry, but this is fine for starters. Moving it totitle callback
could be a separate issue.Comment #2
wizonesolutionsComment #3
Liam MorlandThanks. I put "Edit field mapping for" in an em element for consistency with "Edit Web Page".
Comment #4
wizonesolutionsWhere is that found? I figured, in any case, that italicizing could be done with CSS if needed.
Comment #5
Liam MorlandClick on the edit link on a regular page on your site. The HTML inside the h1 of the edit page will be:
<em>Edit Basic page</em> Page Title
I was following that example.
It just occurred to me that there could be a theming function that does this.
Comment #9
Liam MorlandDrupal 6 is no longer supported.