Jump to content

Change the children label for a template


abmcr
 Share

Recommended Posts

There is a way for change the label "Children" (see attachment) only for a template?

In the hook https://processwire.com/api/hooks/captain-hook/ i have not found a hook for made this....

The idea is

$pages->addHook??????('?????', function($event) {
	$page = $event->arguments[0];
	if($page->template->name == 'my-template') {
		//rename the label children

Thank you

Schermata 2018-01-16 alle 22.33.23.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...