{"action":"created","issue":{"url":"https://api.github.com/repos/pyrocms/pyrocms/issues/3721","repository_url":"https://api.github.com/repos/pyrocms/pyrocms","labels_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/3721/labels{/name}","comments_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/3721/comments","events_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/3721/events","html_url":"https://github.com/pyrocms/pyrocms/issues/3721","id":157412190,"number":3721,"title":"[Pages Module] Feature: GUI should allow any twig template file to be associated via an open text field","user":{"login":"mattcdavis1","id":403534,"avatar_url":"https://avatars.githubusercontent.com/u/403534?v=3","gravatar_id":"","url":"https://api.github.com/users/mattcdavis1","html_url":"https://github.com/mattcdavis1","followers_url":"https://api.github.com/users/mattcdavis1/followers","following_url":"https://api.github.com/users/mattcdavis1/following{/other_user}","gists_url":"https://api.github.com/users/mattcdavis1/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcdavis1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcdavis1/subscriptions","organizations_url":"https://api.github.com/users/mattcdavis1/orgs","repos_url":"https://api.github.com/users/mattcdavis1/repos","events_url":"https://api.github.com/users/mattcdavis1/events{/privacy}","received_events_url":"https://api.github.com/users/mattcdavis1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyrocms/pyrocms/labels/Feature%20-%20Proposal","name":"Feature - Proposal","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pyrocms/pyrocms/milestones/22","html_url":"https://github.com/pyrocms/pyrocms/milestones/v3.1.0","labels_url":"https://api.github.com/repos/pyrocms/pyrocms/milestones/22/labels","id":1110543,"number":22,"title":"v3.1.0","description":"","creator":{"login":"RyanThompson","id":1099967,"avatar_url":"https://avatars.githubusercontent.com/u/1099967?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanThompson","html_url":"https://github.com/RyanThompson","followers_url":"https://api.github.com/users/RyanThompson/followers","following_url":"https://api.github.com/users/RyanThompson/following{/other_user}","gists_url":"https://api.github.com/users/RyanThompson/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanThompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanThompson/subscriptions","organizations_url":"https://api.github.com/users/RyanThompson/orgs","repos_url":"https://api.github.com/users/RyanThompson/repos","events_url":"https://api.github.com/users/RyanThompson/events{/privacy}","received_events_url":"https://api.github.com/users/RyanThompson/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":5,"state":"open","created_at":"2015-05-14T17:03:19Z","updated_at":"2016-05-31T13:53:52Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-05-29T23:38:40Z","updated_at":"2016-06-03T14:02:51Z","closed_at":null,"body":"It looks like currently Pyro is just parsing the \"layouts\" directory and offering these as options for a template to associate with a page.  For the most part I would prefer to create top level directories for each section of the site (see below).  So for a blog page i would like to just type in \"blog.index\" and for an about page \"about.index\" rather than being forced to put these templates in a layouts directory.\r\n\r\nAdditionally, it would be nice to have the option to assign a page to a controller rather than a route and have the entry passed in as an argument.\r\n\r\n- layouts\r\n   - default\r\n   - error\r\n- team\r\n   - index\r\n   - detail\r\n- blog\r\n   - index\r\n   -detail\r\n- about\r\n    -index"},"comment":{"url":"https://api.github.com/repos/pyrocms/pyrocms/issues/comments/223587041","html_url":"https://github.com/pyrocms/pyrocms/issues/3721#issuecomment-223587041","issue_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/3721","id":223587041,"user":{"login":"RyanThompson","id":1099967,"avatar_url":"https://avatars.githubusercontent.com/u/1099967?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanThompson","html_url":"https://github.com/RyanThompson","followers_url":"https://api.github.com/users/RyanThompson/followers","following_url":"https://api.github.com/users/RyanThompson/following{/other_user}","gists_url":"https://api.github.com/users/RyanThompson/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanThompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanThompson/subscriptions","organizations_url":"https://api.github.com/users/RyanThompson/orgs","repos_url":"https://api.github.com/users/RyanThompson/repos","events_url":"https://api.github.com/users/RyanThompson/events{/privacy}","received_events_url":"https://api.github.com/users/RyanThompson/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T14:02:51Z","updated_at":"2016-06-03T14:02:51Z","body":"Yes they can be hidden with permissions - no permission, you don’t see it.\n\nMatt the page type layout designates the default layout to use. You can override that as desired and it’s not uncommon. We have a lot of clients that use it to create basically the same page but with different .. layouts lol. Sidebar is sometimes not desired so they will choose the default layout or one with a banner (then we use a partial to determine which banner they want to use). We’ve had 0 issues with it thus far.\n\n> On Jun 1, 2016, at 10:42 PM, John Ashton <notifications@github.com> wrote:\n> \n> Cant Page Types be hidden from content editors by Permissions as in all previous versions ?\n> \n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub <https://github.com/pyrocms/pyrocms/issues/3721#issuecomment-223188004>, or mute the thread <https://github.com/notifications/unsubscribe/ABDIvx32boKf-fC2UYwMLuXTe_lily17ks5qHlEqgaJpZM4IpaB4>.\n> \n\n"}}
{"actor":{"display_login":"RyanThompson"}}