[TYPO3-english] [TYPO3] CoolURI, urlsuffix and .xml extension
Jan Bednarik
info at bednarik.org
Thu Feb 26 22:41:24 CET 2009
Hi,
> You will do it with regexps or what's your idea now?
probably.
> So I would use it for some generated PDF files, getting by the extension
> "pdf_generator2" with the url param "type=123" - for now it will get the
> defined ".html" urlsuffix and it would be fine, when I can give the
> ".pdf" urlsuffix for this param type.
I guess that you have the mapping in valuemap, so you'd add .pdf to the
valuemap, which would result now in .pdf.html and you'd update the
element somehow like this:
<urlsuffix exclude="(\.pdf|\.xml)$">.html</urlsuffix>
I'd probably add attribute "include" too.
--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
More information about the TYPO3-english
mailing list