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

View Contact Pages Insert an <img> Tag in the Page Title (Contact-type Icon)

    Details

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

      Description

      I'm resubmitting this because I don;t think david understood the original problem. CRM is inserting an html img tag into the $title variable that is passed to the page in many themes. It shouldn't be that way. It should just be the text.

      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: