I need to tag keywords through the body which will display as links.

Let's say in the middle of the text I want to tag job listing. When the page is displayed, it would look like http://urlprefix&keyword1+keyword2&urlappendix, where urlprefix and urlappendix is hardcoded in the module.

How do I build a custom shortcode for the Shortcode module?

  • If you are trying to alter outgoing links by a fixed ruleset, you might consider the OutboundPathProcessor. There are multiple questions with code examples here on SE. AFAIK this does work on all internal links (even inside CKeditor), but not for exteral links though. – Hudri Sep 4 '18 at 7:18
  • I am not trying to process all outgoing links. Only certain keyword that will be tagged while the user creates the content. – Progonat Sep 4 '18 at 12:38

Your Answer

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

Browse other questions tagged or ask your own question.