[TYPO3-dev] Writing to page type 97 from extension

Dmitry Dulepov typo3 at accio.lv
Mon May 8 14:25:15 CEST 2006


Hi!

Christian Lerrahn wrote:
> I'd like to get one of my extensions to write WML to page type 97 so that
> I can use it in WAP pages. However, I have no clue how to find out about
> the page type I'm in or how to produce valid output for a specific page
> type. Any hints where I could find more info?

To set page type ftom TS:
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/7/5/

To read page type in extension:
	$GLOBALS['TSFE']->type

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)




More information about the TYPO3-dev mailing list