1

I have a Craft CMS powered site which has "Suppliers" set up as a user group. A route is being used to link through to these suppliers on the frontend; example.com/supplier/loremipsum.

Is it possible to add an option to the link button on the Rich editor field, that would allow me to choose a user from the supplier user group? Much like the "Link to an entry" option.

Link to an entry

0

You could do this with a custom plugin that used the addRichTextLinkOptions to add extra options to that dropdown.

You can use https://pluginfactory.io to generate boilerplate plugin code to get you up and running quickly.

| improve this answer | |
  • Ahhh ok great, thanks for pointing me in the right direction. – Chris Moorst Oct 19 '17 at 11:36
  • @ChrisMoorst did you end with a working plugin? I'm doing something related and I'd love to see an example – henry Nov 30 '18 at 0:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.