when i pass parameter using syntax { 'slug' : 'my-page-slug' } i get 'default' instead of 'my-page-slug'... any solutions ???
MenuManager
A plugin to enable management of menus within October CMS
It must be valid JSON. I haven't gotten around to creating a validator for this yet. So, for it to be valid, use double quotes not single, as per the json specification.
Sorry mate, will look into this soon. Been very busy here sorry, so I've had to neglect this plugin a bit.
Still haven't looked at this, but I thinkit should be {":slug" : "my-page-slug" }. From memory it's doing a find replace on the key, which needs to include the :
I didn't actually write that part of the plugin, it was a merge request from someone else, which is why I'm not 100% on top of it.
Sorry to reply to such an old thread. I am having the same issue. Using {":slug" : "my-page-slug" } or {"slug" : "my-page-slug"} doesn't work for me - either way it still makes the first item active.
Is there a solution for this? Thanks in advance :)
edit: a bit more info, the active item works correctly for pages that are not using slugs
Last updated
1-8 of 8