Skip to content

Add template name to error message #556

Open
@BernhardBaumrock

Description

@BernhardBaumrock

Current error message:

ProcessWire\WireException

You don't have access to the template required to add pages here

Suggested improvement in ProcessPageAdd.module (add template name):

throw new WireException("You don't have access to the template required to add pages here ({$template->name})");

New error message:

ProcessWire\WireException

You don't have access to the template required to add pages here (my_template_name)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions