Jump to content

aldumas

Members
  • Posts

    4
  • Joined

  • Last visited

aldumas's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. Good advice, thanks! I also hadn't played around with roles much, but I now see that we can create a role that can't change templates on pages. Nice!
  2. OK. I guess that would explain it. I was hoping to be able to use a template exactly once for a page (for content to be reused across multiple web pages) and then make it not visible in the droplist going forward (even page edits) so as not to confuse clients. Thanks, everyone, for clearing things up for me!
  3. Here are my steps to reproduce using ProcessWire 2.6.1. Will you please give it a try? 1. From menu, click Setup -> Templates -> Add New. 2. Input template name, e.g. "justonepage". 3. Click Add Templates. 4. From menu, click Pages. 5. Click New next to Home page. 6. Input title, e.g. "Page Uses My Single Page Template". 7. Choose template from step 2. 8. Click Save. 9. From menu, click Setup -> Templates -> (name of template from step 2). 10. Click Family. 11. Select "No" for "Can this template be used for new pages?". 12. Click Save. 13. From menu, click Pages. 14. Click New next to Home page. 15. Input a title, e.g. "Some other page". 16. Click Save. 17. Click Settings. 18. Click the Template dropdown. The template created in step 3 is present in the droplist. Thanks!
  4. I'm new to PW and a little unsure of what "Can this template be used for new pages?" means. The behavior I am seeing does not fit my intuition and I am hoping someone can help me understand. I created a new template and then a page that uses it. Then I went back to the template family settings and selected "No" for "Can this template be used for new pages?" thinking that I would no longer be able to use this template when creating a new page. But when I went to create a new page, the template was selectable from the droplist, and PW let me save the page. I expected that the template would not be visible in the droplist, and even if it were, I expected PW to prevent me from being able to save a page that tries to use it. I am using ProcessWire 2.6. Thanks for your help!
×
×
  • Create New...