Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-535

CRM inserts <img> tag into drupal $title variable

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      When on the "view contact" or "edit contact" pages:

      <img src="/modules/civicrm/i/contact_ind.gif" alt="Individual" />

      is somehow inserted into the $title variable. This won't show on a default theme. You have to call the title variable to see it. for example, in the the header of a phptemplate theme, put something like

      <meta name="description" content="<?php if ($title)

      {print $title;}

      ?> /> and you get

      <meta name="description" content="<img src="/modules/civicrm/i/contact_ind.gif" alt="Individual" /> + the title of the contact />

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              Anonymous
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: