Jump to content

Is it possible to use a Matrix Repeater field in a custom admin page/module?


Recommended Posts

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!

Link to comment
Share on other sites

@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;

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...