{"action":"created","issue":{"url":"https://api.github.com/repos/modxcms/revolution/issues/12347","labels_url":"https://api.github.com/repos/modxcms/revolution/issues/12347/labels{/name}","comments_url":"https://api.github.com/repos/modxcms/revolution/issues/12347/comments","events_url":"https://api.github.com/repos/modxcms/revolution/issues/12347/events","html_url":"https://github.com/modxcms/revolution/pull/12347","id":56947989,"number":12347,"title":"Allowing empty resource pagetitle. Will be set automatically to \"Untitled Resource {id}\"","user":{"login":"bertoost","id":398492,"avatar_url":"https://avatars.githubusercontent.com/u/398492?v=3","gravatar_id":"","url":"https://api.github.com/users/bertoost","html_url":"https://github.com/bertoost","followers_url":"https://api.github.com/users/bertoost/followers","following_url":"https://api.github.com/users/bertoost/following{/other_user}","gists_url":"https://api.github.com/users/bertoost/gists{/gist_id}","starred_url":"https://api.github.com/users/bertoost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertoost/subscriptions","organizations_url":"https://api.github.com/users/bertoost/orgs","repos_url":"https://api.github.com/users/bertoost/repos","events_url":"https://api.github.com/users/bertoost/events{/privacy}","received_events_url":"https://api.github.com/users/bertoost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-08T11:15:37Z","updated_at":"2015-02-09T09:30:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/modxcms/revolution/pulls/12347","html_url":"https://github.com/modxcms/revolution/pull/12347","diff_url":"https://github.com/modxcms/revolution/pull/12347.diff","patch_url":"https://github.com/modxcms/revolution/pull/12347.patch"},"body":"### What does it do ?\r\nIt checks if you submit empty pagetitles and when you do, it uses Lexicon \"resource_untitled\" concatenated with the new ID of the resource and also updates the alias when you create a new resource.\r\nAt update, it is checking the pagetitle again to, also updating the title, not the alias.\r\nAlso added a system setting \"resource_allow_empty_pagetitle\" to enable/disable this feature.\r\n\r\n### Why is it needed ?\r\nIt's not really necessary but it's a cool feature to allow empty pagetitles at creation and updating. Especially for those who sets the pagetitle hidden in FC\r\n\r\n### Related issue(s)/PR(s)\r\nShould resolve https://github.com/modxcms/revolution/issues/12239"},"comment":{"url":"https://api.github.com/repos/modxcms/revolution/issues/comments/73479527","html_url":"https://github.com/modxcms/revolution/pull/12347#issuecomment-73479527","issue_url":"https://api.github.com/repos/modxcms/revolution/issues/12347","id":73479527,"user":{"login":"TheBoxer","id":845220,"avatar_url":"https://avatars.githubusercontent.com/u/845220?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBoxer","html_url":"https://github.com/TheBoxer","followers_url":"https://api.github.com/users/TheBoxer/followers","following_url":"https://api.github.com/users/TheBoxer/following{/other_user}","gists_url":"https://api.github.com/users/TheBoxer/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBoxer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBoxer/subscriptions","organizations_url":"https://api.github.com/users/TheBoxer/orgs","repos_url":"https://api.github.com/users/TheBoxer/repos","events_url":"https://api.github.com/users/TheBoxer/events{/privacy}","received_events_url":"https://api.github.com/users/TheBoxer/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T09:30:46Z","updated_at":"2015-02-09T09:30:46Z","body":"In both options I wrote you don't have to worry about allowBlank field, because you'll set the value to that field (so it will not be empty after submitting the form)"}}