Not working in Drupal 10 Views

Created on 14 August 2023, 11 months ago
Updated 24 June 2024, 5 days ago

I installed the module using composer, and I added the library info to my theme's info.yml file. I created a Calendar view with a rewritten field as described at https://www.drupal.org/docs/contributed-modules/tooltip/how-to-display-a... β†’ , but the tooltip "link" doesn't work and the output looks like this:

<div class="views-field views-field-title-2"><span class="field-content"><div data-tooltip="{&quot;content&quot;:&quot;<div>

<article role=\&quot;article\&quot; class=\&quot;contextual-region node node--type-event node--view-mode-default clearfix\&quot;>
  <header>
    
          <h2 class=\&quot;node__title\&quot;>
        <a href=\&quot;/mysite/public_html/test-event-single-day-smart-event-2\&quot; rel=\&quot;bookmark\&quot;><span class=\&quot;field field--name-title field--type-string field--label-hidden\&quot;>Test Event, Single Day (Smart Event 2)</span>
</a>
      </h2>
        <div data-contextual-id=\&quot;node:node=110:changed=1692043536&amp;amp;langcode=en\&quot; data-contextual-token=\&quot;rYDEEG6Uftyr9Pn138BwtqU0VIjul1mbBj2RRuyQfKY\&quot;></div>
      </header>
  <div class=\&quot;node__content clearfix\&quot;>
    


  <div class=\&quot;field field--name-field-smart-date field--type-smartdate field--label-above\&quot;>
    <div class=\&quot;field__label\&quot;>Smart Date</div>
          <div class='field__items'>
              <div class=\&quot;field__item\&quot;><time datetime=\&quot;2023-08-23T07:27:00-05:00\&quot; class=\&quot;datetime\&quot;>Wed, Aug 23 2023, 7:27</time>
 - <time datetime=\&quot;2023-08-23T08:27:00-05:00\&quot; class=\&quot;datetime\&quot;>8:27am</time>
</div>
              </div>
      </div>

  <div class=\&quot;field field--name-field-event-category field--type-entity-reference field--label-inline\&quot;>
    <div class=\&quot;field__label\&quot;>Event Category</div>
              <div class=\&quot;field__item\&quot;>Lighthouse</div>
          </div>

            <div class=\&quot;clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item\&quot;>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
      
  </div>
</article>
</div>&quot;,&quot;placement&quot;:&quot;top&quot;}" data-once="tooltip" tabindex="0" aria-describedby="1692055964150-53" data-popper-placement="top">Test Event, Single Day (Smart Event 2)</div></span></div>

The tooltip link does show a question mark when hovered, and it has the dotted underline effect, but that's it. Nothing opens when clicked.

Perhaps the issue is with the """ elements in the code? They look like normal quotation marks in the code I copied from https://www.drupal.org/docs/contributed-modules/tooltip/how-to-display-a... β†’

How can I fix this issue?

Thanks!

πŸ’¬ Support request
Status

Active

Version

1.1

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States hockey2112

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024