pleini Posted July 6, 2014 Share Posted July 6, 2014 Hi there, I want to use the new PageTable field with several templates to use as subpages each with predefined page names and titles. There is a field "Automatic Page Name Format" but I cannot define a title for each template, it's always the same. So I want to make sure, the user just generates 1 subpage each template always having the same name. Is this possible or do I have to use a setup page hook? Going further this would be defining must-use titles for a template. Thank you for your help! Best, Chris Link to comment Share on other sites More sharing options...
pleini Posted July 9, 2014 Author Share Posted July 9, 2014 Nobody an idea? Link to comment Share on other sites More sharing options...
Macrura Posted October 13, 2014 Share Posted October 13, 2014 I'm pretty sure you could write a module that would do this, and would dynamically set the name and title according to the template and your rules... so you wouldn't use the auto page name feature, but would write your own, sort of like this: https://processwire.com/talk/topic/1648-ok-to-change-page-name-path-after-save/?p=15232 1 Link to comment Share on other sites More sharing options...
LostKobrakai Posted October 14, 2014 Share Posted October 14, 2014 You don't need a module for it, instead of using the page tables autonaming function, just use the template specific one, which you can find in the template settings. The only backdraw would be, that all pages with this template get autonaming, instead of only the ones, created in a pagetable. 3 Link to comment Share on other sites More sharing options...
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