Many pages on the old site referenced PDF files, and those pages thoughtfully included a link by which the user could download the Adobe Reader program (formerly Adobe Acrobat Reader.) However there were several problems with this approach:
- The same text and logo were repeated on multiple pages, making site maintenance more difficult and leading to over a dozen copies of the logo in various directories.
- Adobe updated the "Get Adobe Reader" graphic
- Adobe changed the URL of the download page
To address these problems, I first added a new taxonomy value, PDF, to the Tags vocabulary. I added the field_tag field to the following content types: Article, Basic Page, and Legacy Page.
Then I created a Drupal block named Get Adobe Reader. That block contains the simple statement: "This page contains files in PDF format." and Adobe's updated graphic. In the block's configuration settings, under Show block on specific pages, I added PHP code that determines if the PDF tag was applied to the page. The block looks like this:

Then I used the site's Search function to locate all pages than mention Adobe or PDF , edited those pages and added the PDF tag.
IMPORTANT: Henceforth, if you have a page with a link to a PDF file, simply apply the PDF taxonomy tag to the page. To do so, edit the page, scroll down past the page content and look for a dialog box marked Tags. In the box, simply type "PDF" (no quotes), and click on the Save button.