[Typo3-dev] [Typo3] Re: Linking a menu entry to a PDF document
Andreas Otto
ao-lists at php4win.de
Mon Aug 29 10:54:14 CEST 2005
Hi Markus,
On Montag, 29. August 2005 09:53, Markus M. wrote in typo3.dev:
> Sorry if you find this off-topic, but I didn't get ANY response on
> this in other groups.
That is no reason to post a question regarding the usage of TYPO3 /
TypoScript to the dev list ;-)
> The requirement is pretty simple:
>
> I want to link a menu entry with a PDF-document placed on my server.
> I don't want to use HTML-EMBED oder PHP-INCLUDE neither hardlinking to
> the absolute URL by using the T3-pagetype "External URL".
> Imho there should exist a page type "Internal file/URL".
BE = Backend
TS = TypoScript
BE: Attach the PDF file in question to the page record (media field).
TS: In your menu rendering check if the media field of page record is
not empty. Create a link to the content of the media field.
Cheers,
Andreas
--
Avoid unnecessary branches.
- The Elements of Programming Style (Kernighan & Plaugher)
More information about the TYPO3-dev
mailing list