{"action":"created","comment":{"url":"https://api.github.com/repos/sulu/sulu-docs/pulls/comments/58659033","id":58659033,"diff_hunk":"@@ -0,0 +1,32 @@\n+How to define a default-snippet?\n+================================\n+\n+Sulu gives the content-manager an easy way to define default snippets per type.\n+This default-snippets automatically be used if the snippet-selection is empty on\n+a specific page. Be aware of that this \"default\" selection will not be displayed\n+in the form and can have a big impact on the page.\n+\n+.. note::\n+\n+    This feature is disabled by default and can be activated by setting the\n+    config value `sulu_snippet.types.snippet.fallback_enabled` to true.\n+\n+When the defaults will be used?","path":"cookbook/default-snippets.rst","position":14,"original_position":14,"commit_id":"11480efa338a6c16e90ee160f47dc0837c2746c7","original_commit_id":"11480efa338a6c16e90ee160f47dc0837c2746c7","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"body":"`When will the defaults be used?`","created_at":"2016-04-06T06:55:36Z","updated_at":"2016-04-06T06:55:36Z","html_url":"https://github.com/sulu/sulu-docs/pull/198#discussion_r58659033","pull_request_url":"https://api.github.com/repos/sulu/sulu-docs/pulls/198","_links":{"self":{"href":"https://api.github.com/repos/sulu/sulu-docs/pulls/comments/58659033"},"html":{"href":"https://github.com/sulu/sulu-docs/pull/198#discussion_r58659033"},"pull_request":{"href":"https://api.github.com/repos/sulu/sulu-docs/pulls/198"}}},"pull_request":{"url":"https://api.github.com/repos/sulu/sulu-docs/pulls/198","id":65417017,"html_url":"https://github.com/sulu/sulu-docs/pull/198","diff_url":"https://github.com/sulu/sulu-docs/pull/198.diff","patch_url":"https://github.com/sulu/sulu-docs/pull/198.patch","issue_url":"https://api.github.com/repos/sulu/sulu-docs/issues/198","number":198,"state":"open","locked":false,"title":"Added chapter for default-snippets and custom-urls","user":{"login":"wachterjohannes","id":1464615,"avatar_url":"https://avatars.githubusercontent.com/u/1464615?v=3","gravatar_id":"","url":"https://api.github.com/users/wachterjohannes","html_url":"https://github.com/wachterjohannes","followers_url":"https://api.github.com/users/wachterjohannes/followers","following_url":"https://api.github.com/users/wachterjohannes/following{/other_user}","gists_url":"https://api.github.com/users/wachterjohannes/gists{/gist_id}","starred_url":"https://api.github.com/users/wachterjohannes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wachterjohannes/subscriptions","organizations_url":"https://api.github.com/users/wachterjohannes/orgs","repos_url":"https://api.github.com/users/wachterjohannes/repos","events_url":"https://api.github.com/users/wachterjohannes/events{/privacy}","received_events_url":"https://api.github.com/users/wachterjohannes/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-06T06:43:45Z","updated_at":"2016-04-06T06:55:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa1255c2968e9dea844777da7e2d6ee0cb31b4d6","assignee":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/sulu/sulu-docs/pulls/198/commits","review_comments_url":"https://api.github.com/repos/sulu/sulu-docs/pulls/198/comments","review_comment_url":"https://api.github.com/repos/sulu/sulu-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sulu/sulu-docs/issues/198/comments","statuses_url":"https://api.github.com/repos/sulu/sulu-docs/statuses/11480efa338a6c16e90ee160f47dc0837c2746c7","head":{"label":"sulu:feature/custom-urls","ref":"feature/custom-urls","sha":"11480efa338a6c16e90ee160f47dc0837c2746c7","user":{"login":"sulu","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu","html_url":"https://github.com/sulu","followers_url":"https://api.github.com/users/sulu/followers","following_url":"https://api.github.com/users/sulu/following{/other_user}","gists_url":"https://api.github.com/users/sulu/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu/subscriptions","organizations_url":"https://api.github.com/users/sulu/orgs","repos_url":"https://api.github.com/users/sulu/repos","events_url":"https://api.github.com/users/sulu/events{/privacy}","received_events_url":"https://api.github.com/users/sulu/received_events","type":"Organization","site_admin":false},"repo":{"id":22838344,"name":"sulu-docs","full_name":"sulu/sulu-docs","owner":{"login":"sulu","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu","html_url":"https://github.com/sulu","followers_url":"https://api.github.com/users/sulu/followers","following_url":"https://api.github.com/users/sulu/following{/other_user}","gists_url":"https://api.github.com/users/sulu/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu/subscriptions","organizations_url":"https://api.github.com/users/sulu/orgs","repos_url":"https://api.github.com/users/sulu/repos","events_url":"https://api.github.com/users/sulu/events{/privacy}","received_events_url":"https://api.github.com/users/sulu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu/sulu-docs","description":"Sulu documentation","fork":false,"url":"https://api.github.com/repos/sulu/sulu-docs","forks_url":"https://api.github.com/repos/sulu/sulu-docs/forks","keys_url":"https://api.github.com/repos/sulu/sulu-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu/sulu-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu/sulu-docs/teams","hooks_url":"https://api.github.com/repos/sulu/sulu-docs/hooks","issue_events_url":"https://api.github.com/repos/sulu/sulu-docs/issues/events{/number}","events_url":"https://api.github.com/repos/sulu/sulu-docs/events","assignees_url":"https://api.github.com/repos/sulu/sulu-docs/assignees{/user}","branches_url":"https://api.github.com/repos/sulu/sulu-docs/branches{/branch}","tags_url":"https://api.github.com/repos/sulu/sulu-docs/tags","blobs_url":"https://api.github.com/repos/sulu/sulu-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu/sulu-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu/sulu-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu/sulu-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu/sulu-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu/sulu-docs/languages","stargazers_url":"https://api.github.com/repos/sulu/sulu-docs/stargazers","contributors_url":"https://api.github.com/repos/sulu/sulu-docs/contributors","subscribers_url":"https://api.github.com/repos/sulu/sulu-docs/subscribers","subscription_url":"https://api.github.com/repos/sulu/sulu-docs/subscription","commits_url":"https://api.github.com/repos/sulu/sulu-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu/sulu-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu/sulu-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu/sulu-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu/sulu-docs/contents/{+path}","compare_url":"https://api.github.com/repos/sulu/sulu-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu/sulu-docs/merges","archive_url":"https://api.github.com/repos/sulu/sulu-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu/sulu-docs/downloads","issues_url":"https://api.github.com/repos/sulu/sulu-docs/issues{/number}","pulls_url":"https://api.github.com/repos/sulu/sulu-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu/sulu-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu/sulu-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu/sulu-docs/labels{/name}","releases_url":"https://api.github.com/repos/sulu/sulu-docs/releases{/id}","deployments_url":"https://api.github.com/repos/sulu/sulu-docs/deployments","created_at":"2014-08-11T12:31:16Z","updated_at":"2016-01-11T13:21:53Z","pushed_at":"2016-04-06T06:43:45Z","git_url":"git://github.com/sulu/sulu-docs.git","ssh_url":"git@github.com:sulu/sulu-docs.git","clone_url":"https://github.com/sulu/sulu-docs.git","svn_url":"https://github.com/sulu/sulu-docs","homepage":"docs.sulu.io","size":2551,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":39,"forks":18,"open_issues":39,"watchers":2,"default_branch":"develop"}},"base":{"label":"sulu:develop","ref":"develop","sha":"70bce405a9f37944c74755e98936f0e769fac385","user":{"login":"sulu","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu","html_url":"https://github.com/sulu","followers_url":"https://api.github.com/users/sulu/followers","following_url":"https://api.github.com/users/sulu/following{/other_user}","gists_url":"https://api.github.com/users/sulu/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu/subscriptions","organizations_url":"https://api.github.com/users/sulu/orgs","repos_url":"https://api.github.com/users/sulu/repos","events_url":"https://api.github.com/users/sulu/events{/privacy}","received_events_url":"https://api.github.com/users/sulu/received_events","type":"Organization","site_admin":false},"repo":{"id":22838344,"name":"sulu-docs","full_name":"sulu/sulu-docs","owner":{"login":"sulu","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu","html_url":"https://github.com/sulu","followers_url":"https://api.github.com/users/sulu/followers","following_url":"https://api.github.com/users/sulu/following{/other_user}","gists_url":"https://api.github.com/users/sulu/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu/subscriptions","organizations_url":"https://api.github.com/users/sulu/orgs","repos_url":"https://api.github.com/users/sulu/repos","events_url":"https://api.github.com/users/sulu/events{/privacy}","received_events_url":"https://api.github.com/users/sulu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu/sulu-docs","description":"Sulu documentation","fork":false,"url":"https://api.github.com/repos/sulu/sulu-docs","forks_url":"https://api.github.com/repos/sulu/sulu-docs/forks","keys_url":"https://api.github.com/repos/sulu/sulu-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu/sulu-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu/sulu-docs/teams","hooks_url":"https://api.github.com/repos/sulu/sulu-docs/hooks","issue_events_url":"https://api.github.com/repos/sulu/sulu-docs/issues/events{/number}","events_url":"https://api.github.com/repos/sulu/sulu-docs/events","assignees_url":"https://api.github.com/repos/sulu/sulu-docs/assignees{/user}","branches_url":"https://api.github.com/repos/sulu/sulu-docs/branches{/branch}","tags_url":"https://api.github.com/repos/sulu/sulu-docs/tags","blobs_url":"https://api.github.com/repos/sulu/sulu-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu/sulu-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu/sulu-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu/sulu-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu/sulu-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu/sulu-docs/languages","stargazers_url":"https://api.github.com/repos/sulu/sulu-docs/stargazers","contributors_url":"https://api.github.com/repos/sulu/sulu-docs/contributors","subscribers_url":"https://api.github.com/repos/sulu/sulu-docs/subscribers","subscription_url":"https://api.github.com/repos/sulu/sulu-docs/subscription","commits_url":"https://api.github.com/repos/sulu/sulu-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu/sulu-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu/sulu-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu/sulu-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu/sulu-docs/contents/{+path}","compare_url":"https://api.github.com/repos/sulu/sulu-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu/sulu-docs/merges","archive_url":"https://api.github.com/repos/sulu/sulu-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu/sulu-docs/downloads","issues_url":"https://api.github.com/repos/sulu/sulu-docs/issues{/number}","pulls_url":"https://api.github.com/repos/sulu/sulu-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu/sulu-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu/sulu-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu/sulu-docs/labels{/name}","releases_url":"https://api.github.com/repos/sulu/sulu-docs/releases{/id}","deployments_url":"https://api.github.com/repos/sulu/sulu-docs/deployments","created_at":"2014-08-11T12:31:16Z","updated_at":"2016-01-11T13:21:53Z","pushed_at":"2016-04-06T06:43:45Z","git_url":"git://github.com/sulu/sulu-docs.git","ssh_url":"git@github.com:sulu/sulu-docs.git","clone_url":"https://github.com/sulu/sulu-docs.git","svn_url":"https://github.com/sulu/sulu-docs","homepage":"docs.sulu.io","size":2551,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":39,"forks":18,"open_issues":39,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sulu/sulu-docs/pulls/198"},"html":{"href":"https://github.com/sulu/sulu-docs/pull/198"},"issue":{"href":"https://api.github.com/repos/sulu/sulu-docs/issues/198"},"comments":{"href":"https://api.github.com/repos/sulu/sulu-docs/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/sulu/sulu-docs/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/sulu/sulu-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sulu/sulu-docs/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/sulu/sulu-docs/statuses/11480efa338a6c16e90ee160f47dc0837c2746c7"}}}}