abmcr

Change the children label for a template

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

Share this post


Link to post
Share on other sites

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

  • Like 2

Share this post


Link to post
Share on other sites
9 hours ago, Robin S said:

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

:) very simple.. thank you

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.