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.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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.
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?