Jump to content

Recommended Posts

Posted

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

Posted
9 hours ago, Robin S said:

Setup > Templates > my-template > Advanced > Label for Children Tab

:) very simple.. thank you

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
  • Recently Browsing   0 members

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