Hi,
I'd like to block 3 out of 4 section blocks on the Menu.
Can anyone point me in the right direction please?
Hi,
I'd like to block 3 out of 4 section blocks on the Menu.
Can anyone point me in the right direction please?
Hi Mayuir,
For this you'll need to build a custom menu. Unfortunately we don't have an example of this but you'll be able to adjust the menu template and JS. If you take the BoxMenu and in the View work out the last one. By adding a click event on that item you'll be able to prevent the routing until a condition is met. The nice thing about Adapt is that it's pluggable - so you're able to do pretty much anything with it.
Thanks,
Daryl
Hi Mayuir,
If you are looking for sequential menu, e.g. user completes section 1, before section 2.
If so there is a plug-in called adapt-sequentialBoxMenu. This was developed for the first framework so might need some adjustments but might give you some insight into how to achieve locking on the menu if you look at the javascript / handlebar files.
You will need to uninstall adapt-contrib-boxmenu, then install adapt-sequentialBoxMenu which can be done via the adapt-cli calls 'adapt install' or 'adapt uninstall'
Regards
Alan