You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to silverst...@googlegroups.com
Hi all!
SilverStripe should have a field type 'Insert Link' (InsertLinkField). This field would be similar to the floating window Insert Link of the HTMLEditor. This way, it would be very easy to place in any CMS form the ability to link
to a page on the site, outside it, a link to a file, to an anchor, etc.
Thanks, Regards, Jose A.
Sam Minnée
unread,
Jan 15, 2013, 5:09:24 PM1/15/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to silverst...@googlegroups.com
Seems like a good idea to me. Patches welcome! ;-)
Nathan Cox
unread,
Jan 15, 2013, 6:08:21 PM1/15/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to silverst...@googlegroups.com
I had a look at the existing Insert Link dialog to see if it could be
re-used for a field like this but it's very heavily tied in to the
HTMLEditorField so it'd probably take a lot of reworking to make it
reusable. Which is a shame since a consistent link inserting UI seems
like a good thing.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to silverst...@googlegroups.com
A refactoring of that, so that HtmlEditorField relied mainly on InsertLinkForm (not to mention InsertMediaForm), would seem like a reasonable patch. I guess you may need InsertLinkEndpoint and InsertMediaEndpoint interfaces, that provide a number of methods that InsertLinkForm/InsertMediaForm can call to save all the data.