Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-20 17:55:43

plusonetwo
Member
From: Seattle, WA
Registered: 2006-02-23
Posts: 18
Website

Display content based on text in an article?

Hi everyone,

I’m curious if the following is possible. I have a number of articles on a client’s site that allows a user to download a PDF file or related material but there’s also a number of articles that don’t use PDF support files as well. In addition, I have a side module that provides info on what folks will need to view PDF files and where they can get the reader (basically, a PDF info module). Is it possible to have this module show up only on pages where the article’s text references a PDF file?

I know you can use keywords and custom fields to display conditional info but was wondering if there’s a way for TXP to actually look for the word PDF within the body of an article.

Thanks!

- Michael

Offline

Board footer

Powered by FluxBB