Jump to:

23477 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » custom urls in Model Admin

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 658 Views
  • Graphicator
    Community Member
    62 Posts

    custom urls in Model Admin Link to this post

    Quick question?

    I have a text field 'FavoriteURL' in my dataobject to remember some bookmarks. I was wondering if ModelAdmin has a function to link to the url, instead of jumping to a record on just the FavoriteURL column.

  • swaiba
    Forum Moderator
    1792 Posts

    Re: custom urls in Model Admin Link to this post

    hmmm, not sure I follow...

    maybe you can use a LiteralField to create a straight HTML link to the location and push that on to the fields ModelAdmin scaffolds with the getCMSFields. Or maybe in create a "casted" field to provide it in the summary results?

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.