RenderField processor for tooltip links
A couple of days ago I've got a requirement from my client about inline tooltips functionality. Those tooltips needed to have formatted text so RTE field should be used.
I started with creating repository folder for those tooltips
Template for tooltip item was really simple, just one RTE field
To have a link which will open a tooltip I had to write a pipeline processor which
This pipeline processor must be run after field value is read, so after
Sitecore.Pipelines.RenderField.GetFieldValue, Sitecore.Kernel
I started with creating repository folder for those tooltips
Template for tooltip item was really simple, just one RTE field
To have a link which will open a tooltip I had to write a pipeline processor which
- Will read RTE field content
- Find internal links
- Check if they point to tooltip item
- If yes then process link
This pipeline processor must be run after field value is read, so after
Sitecore.Pipelines.RenderField.GetFieldValue, Sitecore.Kernel
0 comments:
Post a Comment