abmcr Posted January 16, 2018 Posted January 16, 2018 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
Robin S Posted January 16, 2018 Posted January 16, 2018 Setup > Templates > my-template > Advanced > Label for Children Tab 2
abmcr Posted January 17, 2018 Author Posted January 17, 2018 9 hours ago, Robin S said: Setup > Templates > my-template > Advanced > Label for Children Tab very simple.. thank you
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now