Skip to content

Cannot render send_email view file after saving pdf #12

@Dave-Edwards

Description

@Dave-Edwards

Hi, I have used your component to great effect, but seem to have a problem, which I can’t fathom out.

If I use your example and have a view file called generate_pdf (which becomes the body of the pdf) and another called send_email, I find that I can successfully save the pdf to file, but when control is passed back to the send_email method it does not render the view file on the screen. What I actually see is the pdf itself, despite the fact that it was saved correctly to file.

I’m sure I’m missing something simple here, but what I want to do is save the pdf which will then return control to the send_email method and then display the standard contents of the the view file associated with this method.

Can you help please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions