{"action":"created","issue":{"url":"https://api.github.com/repos/caffeinated/plugins/issues/1","labels_url":"https://api.github.com/repos/caffeinated/plugins/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/caffeinated/plugins/issues/1/comments","events_url":"https://api.github.com/repos/caffeinated/plugins/issues/1/events","html_url":"https://github.com/caffeinated/plugins/issues/1","id":66267331,"number":1,"title":"difference from / to widgets","user":{"login":"illuminate3","id":5723311,"avatar_url":"https://avatars.githubusercontent.com/u/5723311?v=3","gravatar_id":"","url":"https://api.github.com/users/illuminate3","html_url":"https://github.com/illuminate3","followers_url":"https://api.github.com/users/illuminate3/followers","following_url":"https://api.github.com/users/illuminate3/following{/other_user}","gists_url":"https://api.github.com/users/illuminate3/gists{/gist_id}","starred_url":"https://api.github.com/users/illuminate3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illuminate3/subscriptions","organizations_url":"https://api.github.com/users/illuminate3/orgs","repos_url":"https://api.github.com/users/illuminate3/repos","events_url":"https://api.github.com/users/illuminate3/events{/privacy}","received_events_url":"https://api.github.com/users/illuminate3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caffeinated/plugins/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-04T02:55:54Z","updated_at":"2015-07-05T19:55:38Z","closed_at":null,"body":"How is this package different from your widgets package?\r\n\r\nlol, l just love how you're one step ahead of what I'm doing! Thanks!"},"comment":{"url":"https://api.github.com/repos/caffeinated/plugins/issues/comments/118661646","html_url":"https://github.com/caffeinated/plugins/issues/1#issuecomment-118661646","issue_url":"https://api.github.com/repos/caffeinated/plugins/issues/1","id":118661646,"user":{"login":"illuminate3","id":5723311,"avatar_url":"https://avatars.githubusercontent.com/u/5723311?v=3","gravatar_id":"","url":"https://api.github.com/users/illuminate3","html_url":"https://github.com/illuminate3","followers_url":"https://api.github.com/users/illuminate3/followers","following_url":"https://api.github.com/users/illuminate3/following{/other_user}","gists_url":"https://api.github.com/users/illuminate3/gists{/gist_id}","starred_url":"https://api.github.com/users/illuminate3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illuminate3/subscriptions","organizations_url":"https://api.github.com/users/illuminate3/orgs","repos_url":"https://api.github.com/users/illuminate3/repos","events_url":"https://api.github.com/users/illuminate3/events{/privacy}","received_events_url":"https://api.github.com/users/illuminate3/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T19:55:38Z","updated_at":"2015-07-05T19:55:38Z","body":"gonna add my vespoken menu code as a reference:\r\n\r\nmy plugin (older type it seems ... :frowning: )\r\n```\r\n\t\tMenu::handler('top')->hydrate(function()\r\n\t\t\t{\r\n\t\t\t$pages = Content::where('print_status_id', '=', 2)->orderBy('order')->get();\r\n//dd($pages);\r\n\t\t\treturn $pages;\r\n\t\t\t},\r\n\t\t\tfunction($children, $item)\r\n\t\t\t{\r\n\t\t\t\tif($item->depth < 1) {\r\n\t\t\t\t\t$children->add($item->slug, $item->translate(Config::get('app.locale'))->title, Menu::items($item->as));\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\treturn view(\"plugins.navigation_menu\");\r\n```\r\n\r\nmy main template call:\r\n```\r\n<ul class=\"nav navbar-nav\">\r\n{!!\r\n\tPlugin::MenuNavigation()\r\n!!}\r\n</ul>\r\n```\r\n\r\nmy actual view:\r\n```\r\n<! -- Plugin -->\r\n\r\n{!!\r\n\tMenu::handler('top')\r\n\t\t->getItemsAtDepth(0);\r\n!!}\r\n```"}}