I am looking to build a site, and for one of my templates, the user should be able to post an unlimited number of a certain content type, which in this case is links. For each link, I want the user to be able to add a title, and URL.
Instead of creating say 10 link fields for the client to populate in the CMS, I would like this to be flexible, so the client can have as many of these as they need. Is there a way in the CMS that I can make a "repeating field", so the client can add or remove the elements as needed? If so, can anyone tell me how to go about setting these up?
Sounds like you need to build a link data type having fields URL and title. Then, from your page type, create a one-to-many relationship with the link data type. On your page type, you could use something like DataObjectManager in getCMSFields() to give you a way to create the link entries from the CMS admin interface.