sodesign Posted September 9, 2024 Posted September 9, 2024 I'm developing a menu builder for a client with some specific design requirements. It would be great to be able to use a matrix repeater field on one of the admin pages but I can't see any docs or examples which describe how to do this. Can anyone point me in the right direction? Thank you!
Ivan Gretsky Posted September 9, 2024 Posted September 9, 2024 @sodesign, you do not need to create process module for it. You can put this Repeater Matrix menu builder field on any template. For example, on home page. Or create a dedicated template and page for the settings and put it there. You can make a link to it in the top menu with this module (to make it easy). Then you will use these field's value wherever you need to render menu: <?php $menuBuilder = $pages->get('/settings-page/')->menu_builder;
sodesign Posted September 9, 2024 Author Posted September 9, 2024 That's a useful module, thanks for suggesting it! I'll go with this route.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now