• Resolved welshhuw

    (@welshhuw)


    Hi

    I cannot add a second custom template. I have created the new file and called it within the configuration.php file but it seems to display the default design.
    My template name is within the URL when I click Entries > View PDF though.

    Very confused. I have:

    global $gf_pdf_default_configuration;
    
     $gf_pdf_default_configuration = array(
     	'template' => 'default-pdf.php',
    	'pdf_size' => 'A4',
    	'notifications' => true
     );
    
    $gf_pdf_config[] = array(
      'form_id'  => 11,
      'template' => 'tnamedical.php',
      'notifications' => true
     );
    
    $gf_pdf_config[] = array(
      'form_id'  => 15,
      'template' => 'cv.php',
      'notifications' => true
    );

    https://ww.wp.xz.cn/plugins/gravity-forms-pdf-extended/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Hi,

    If your template name is in the URL but the default template is showing this means the software cannot find your custom template. Ensure you uploaded it to the correct location (and the file name matches what’s in your configuration) and that the appropriate permissions are assigned to the file so the web server can load it.

    Thread Starter welshhuw

    (@welshhuw)

    Thanks resolved (spelling error) Doh!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Template Issue’ is closed to new replies.