Skip to content

Please make InputfieldPage::getPageLabel hookable #460

Open
@jmartsch

Description

@jmartsch

I have a Page Reference field (ASM Select) and I am utilizing the "Custom Format" for the "Label field". However even the custom format itself is a bit limiting for a particular use case I have. It would be nice if we could hook into it and modify it to our needs via PHP.

Labels are generated inside InputfieldPage::getPageLabel method (\wire\modules\Inputfield\InputfieldPage\InputfieldPage.module), but unfortunately it's not hookable.

https://processwire.com/talk/topic/16970-modify-custom-page-label-format-via-hookapi/?do=findComment&comment=149098

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions