{"action":"created","issue":{"url":"https://api.github.com/repos/MrCMS/MrCMS/issues/21","labels_url":"https://api.github.com/repos/MrCMS/MrCMS/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/MrCMS/MrCMS/issues/21/comments","events_url":"https://api.github.com/repos/MrCMS/MrCMS/issues/21/events","html_url":"https://github.com/MrCMS/MrCMS/issues/21","id":124131924,"number":21,"title":"Page Templates","user":{"login":"jmalatia","id":5606334,"avatar_url":"https://avatars.githubusercontent.com/u/5606334?v=3","gravatar_id":"","url":"https://api.github.com/users/jmalatia","html_url":"https://github.com/jmalatia","followers_url":"https://api.github.com/users/jmalatia/followers","following_url":"https://api.github.com/users/jmalatia/following{/other_user}","gists_url":"https://api.github.com/users/jmalatia/gists{/gist_id}","starred_url":"https://api.github.com/users/jmalatia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmalatia/subscriptions","organizations_url":"https://api.github.com/users/jmalatia/orgs","repos_url":"https://api.github.com/users/jmalatia/repos","events_url":"https://api.github.com/users/jmalatia/events{/privacy}","received_events_url":"https://api.github.com/users/jmalatia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T21:54:41Z","updated_at":"2016-01-05T09:46:52Z","closed_at":null,"body":"Is there a place that \"Page Templates\" is explained?  We can't seem to get them to work... maybe we are not understanding how they are supposed to be used?  But we created two and tried to assign them to some pages and after saving those pages we get a 500 error page returned.\r\n\r\nAlso, how do you delete \"Page Templates\"?  There doesn't seem to be a DELETE button on the Page Templates page '/Admin/PageTemplate'\r\n"},"comment":{"url":"https://api.github.com/repos/MrCMS/MrCMS/issues/comments/168950590","html_url":"https://github.com/MrCMS/MrCMS/issues/21#issuecomment-168950590","issue_url":"https://api.github.com/repos/MrCMS/MrCMS/issues/21","id":168950590,"user":{"login":"Will-Bill","id":12171228,"avatar_url":"https://avatars.githubusercontent.com/u/12171228?v=3","gravatar_id":"","url":"https://api.github.com/users/Will-Bill","html_url":"https://github.com/Will-Bill","followers_url":"https://api.github.com/users/Will-Bill/followers","following_url":"https://api.github.com/users/Will-Bill/following{/other_user}","gists_url":"https://api.github.com/users/Will-Bill/gists{/gist_id}","starred_url":"https://api.github.com/users/Will-Bill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Will-Bill/subscriptions","organizations_url":"https://api.github.com/users/Will-Bill/orgs","repos_url":"https://api.github.com/users/Will-Bill/repos","events_url":"https://api.github.com/users/Will-Bill/events{/privacy}","received_events_url":"https://api.github.com/users/Will-Bill/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T09:46:52Z","updated_at":"2016-01-05T09:46:52Z","body":"Hi There, \r\n\r\nSorry documentation is still something we are sorely lacking.\r\n\r\nPage templates allow you to reuse a page type / model but allow you to use a different view and/or layout and/or URL generator.\r\n\r\nSay for example you wanted a new page called 'Home' which you were happy just using the TextPage page type you could create a new Page Template called 'Home'. When adding the Page template in the Page View Name field write the name of the view. For example HomePage - do not include the file extension. Make sure this view exists in your theme / app views folder.\r\n\r\nThe page type drop down would be set to TextPage and the layout/generator can just be defaulted. Single use means the new page template can only be used one time.\r\n\r\nTo use this new page you can do one of two things:\r\n\r\n1) If the page already exists that you want to use this with, navigate to the edit screen for the page type and set it up the layout tab\r\n\r\n2) If the page hasn't been added yet right click and add a page as you would normally, you will see \"HomePage\" is now an option to be added to the site.\r\n\r\nShout if you need more clarification\r\n\r\n"}}