Ability to provide HTML support for Header and Footer

Created on 19 June 2024, 5 months ago

Problem/Motivation

Currently, the PDF Header and Footer doesn't provide support for HTML. If we extend the option to add HTML tags, the PDF will looks more interactive.


Steps to reproduce

1. Install View Data Export and PDF Serialization modules.
2. Create a view using Drupal core view module
3. Add View Data Export display for the View.
4. Use PDF type for the Export.
5. Add HTML header on Product[PDF]: Style options
6. Save the View and Download the PDF.

Proposed resolution

Add the ability to add HTML for Header and Footer.
Update the
* Form element pdf_serialization_form_views_ui_edit_display_form_alter
* Update TWIG

Remaining tasks

Testing

User interface changes

Nil

API changes

Data model changes

✹ Feature request
Status

Needs review

Version

2.2

Component

User interface

Created by

🇮🇳India arunkumark Coimbatore

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the “VDC” tag instead.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024