[TYPO3-dev] Page information handling in page modules

Tapio Markula tapio.markula at xetpoint.fi
Thu Aug 16 17:46:04 CEST 2007


Hi

TemplaVoila has quite working system in pagemodule.
For example, when the doktype is 'shortcut' it doesn't show content.

The system has endeed some flaws.
Content rendering should allow for shortcut in some circumstances and
TemplaVoila misses function for 'spacer'.

I have made corresponding system for the classic page module and I have 
added some improvements like testing if fields 'shorcut' and 
'content_from_pid' have valid values - if they don't have, then an error 
message.

Test for field 'content_from_pid' added for undefined or unknown page 
types - function name for those will be 'renderDoktype_1001' - unknown 
or undefined doktype has been reset as fake doktype '1001'.

Works fine in test environment - not public.




More information about the TYPO3-dev mailing list