Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Ability to Create and Arbitrary Title for a DOM?

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 617 Views
  • ttyl
    Avatar
    Community Member
    114 Posts

    Ability to Create and Arbitrary Title for a DOM? Link to this post

    I have a data object I'm creating using model admin, and within that there is a data-object-manger to select a related object. my issue is that it automatically generates a title which isn't appropriate for the page and I'd like to replace it with something of my own choosing, and possibly a note as well. I have a picture that explains is better, but I don't see the image upload field for some reason?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Ability to Create and Arbitrary Title for a DOM? Link to this post

    Are you talking about the text on the add button? You can use setAddTitle() for that.

  • ttyl
    Avatar
    Community Member
    114 Posts

    Re: Ability to Create and Arbitrary Title for a DOM? Link to this post

    no, not on add. the dom appears below my normal text fields for the object, but the automatic title is 'persons' because it managed a 'person' object. but it looks weird so I want it to say 'people'.

    I have another where a MMDOM is on it's own tab. it says 'medias' whereas I want it to say 'media'.

    617 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.