{"action":"created","issue":{"url":"https://api.github.com/repos/gantry/gantry5/issues/1750","repository_url":"https://api.github.com/repos/gantry/gantry5","labels_url":"https://api.github.com/repos/gantry/gantry5/issues/1750/labels{/name}","comments_url":"https://api.github.com/repos/gantry/gantry5/issues/1750/comments","events_url":"https://api.github.com/repos/gantry/gantry5/issues/1750/events","html_url":"https://github.com/gantry/gantry5/issues/1750","id":195676832,"number":1750,"title":"Grav attributes within Gantry Menu Particle?","user":{"login":"paulhibbitts","id":1812771,"avatar_url":"https://avatars.githubusercontent.com/u/1812771?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhibbitts","html_url":"https://github.com/paulhibbitts","followers_url":"https://api.github.com/users/paulhibbitts/followers","following_url":"https://api.github.com/users/paulhibbitts/following{/other_user}","gists_url":"https://api.github.com/users/paulhibbitts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhibbitts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhibbitts/subscriptions","organizations_url":"https://api.github.com/users/paulhibbitts/orgs","repos_url":"https://api.github.com/users/paulhibbitts/repos","events_url":"https://api.github.com/users/paulhibbitts/events{/privacy}","received_events_url":"https://api.github.com/users/paulhibbitts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-14T23:36:49Z","updated_at":"2016-12-18T16:14:44Z","closed_at":null,"body":"Trying out Gantry5 with Grav... pretty amazing stuff!!\r\n\r\nI've been able to create my first custom Menu particle, but I can't seem to access Grav attributes in the same manner as with a Grav template. For example, both 'page.filePathClean' and 'page.title' seem to produce null.\r\n\r\nAm I missing something specific to accessing Grav attributes in a Gantry Menu particle or perhaps this is a bug?\r\n\r\nThanks very much,\r\nPaul"},"comment":{"url":"https://api.github.com/repos/gantry/gantry5/issues/comments/267829973","html_url":"https://github.com/gantry/gantry5/issues/1750#issuecomment-267829973","issue_url":"https://api.github.com/repos/gantry/gantry5/issues/1750","id":267829973,"user":{"login":"paulhibbitts","id":1812771,"avatar_url":"https://avatars.githubusercontent.com/u/1812771?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhibbitts","html_url":"https://github.com/paulhibbitts","followers_url":"https://api.github.com/users/paulhibbitts/followers","following_url":"https://api.github.com/users/paulhibbitts/following{/other_user}","gists_url":"https://api.github.com/users/paulhibbitts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhibbitts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhibbitts/subscriptions","organizations_url":"https://api.github.com/users/paulhibbitts/orgs","repos_url":"https://api.github.com/users/paulhibbitts/repos","events_url":"https://api.github.com/users/paulhibbitts/events{/privacy}","received_events_url":"https://api.github.com/users/paulhibbitts/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T16:14:44Z","updated_at":"2016-12-18T16:14:44Z","body":"Thanks to a tip from @w00fz I've found the answer: prefix whatever Grav attribute you want with 'grav.'. So for example, to access 'page.filePathClean' you would use 'grav.page.filePathClean'."}}
{"actor":{"display_login":"paulhibbitts"}}