2

So I was reading an article on craft, and found an example of something I am trying to do. Creating a global for header/footer links etc so they can be managed dynamically.

Here is a screenshot of what they did. enter image description here

I setup a Header global and Header goup for a matrix field. Any idea what field type they used to Add a row for the links?

I can't think of any field options in this matrix block to allow this kind of option. Seems like maybe this would be a custom plugin field type or something that creates this kind of option. Clicking Add a row could popup a modal to choose an entry, then inserts the url and label with the label being editable.

Anyone have any idea how they did this?


Update

I ended up finding a Craft menus plugin which is great and is now what I am going to use for my menus. You can find it here if anyone is looking for a menu system:

https://github.com/familiar-studio/craft-menus

2

1 Answer 1

4

Looks to me like a matrix field with 1 block (Navigation) and two fields :

  1. Plain Text - Headline
  2. Table - 2 columns with headings Label (Single-line text) and URL (Single-line text)

It's worth noting that the table field doesn't have a relations column, so they're probably inserting these URLs manually.

3
  • Thanks that makes sense and works, would be cool to have a entries relations table for something like this.
    – Bowenac
    Commented Apr 24, 2015 at 14:47
  • Check out the Super Table plugin... It's brand new, and allows entry relations in a table format!
    – Lindsey D
    Commented Apr 24, 2015 at 15:50
  • Ended up finding github.com/familiar-studio/craft-menus which works great and is what I will be using from now on for menus.
    – Bowenac
    Commented Apr 25, 2015 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.