percussion / percussioncms

Percussion CMS - Content Management System
https://percussioncmshelp.intsof.com/percussioncms
Apache License 2.0
12 stars 9 forks source link

Configure custom title field for inline links #750

Open mariosm1 opened 1 year ago

mariosm1 commented 1 year ago

Is your feature request related to a problem? Please describe. You can not configure the title of an inline link to point to a custom field. It is always going to use the "displaytitle" shared field for the page you are linking to. You can configure a static title for the field, but then this would give the same title to all links on the page.

Describe the solution you'd like In the control settings for a field (e.g. a tinymce body field) you should have an option to configure the field name that you would like inline links to use. If all your pages use a title field called "pagetitle" instead of the default "displaytitle" field, you should be able to enter "pagetitle" into a text box in those control settings.

ramdev1980 commented 1 year ago

@natechadwick We need your insight to understand this enhancement.

ramdev1980 commented 1 year ago

com/percussion/services/assembly/impl/PSInlineLinkContentHandler.java com/percussion/linkmanagement/service/impl/PSManagedLinkService.java com/percussion/services/assembly/impl/PSInlineLinkProcessor.java

Explore these files after adding breakpoint and try to understand the display title functionality.