[TYPO3-dev] Remove the header of a plugin from within the plugin
Bernhard Kraft
kraftb at kraftb.at
Wed Oct 21 22:20:29 CEST 2009
David Bruchmann schrieb:
> I'd like being enlighted referring this case and appreciate your tip.
> Id like to deactivate the header for a special plugin depending just on
> prefixId. If you have examples with other parameters, selects or
> sub-CASE it would be nice too but I don't need it in the moment.
--------------------------------------------------------
# Disable default header
tt_content.list.10 >
# Add "CASE" statement, with header except for listed elements
tt_content.list.10 = CASE
tt_content.list.10 {
# Depending on the type of plugin
key.field = list_type
# Usually just render the default stdHeader
default = < lib.stdheader
# Do nothing (empty "TEXT" object) for "my_plugin_pi1"
# and "kb_plugin_pi1". Both wont get a header rendered
my_plugin_pi1 = TEXT
kb_plugin_pi1 = TEXT
}
--------------------------------------------------------
greets,
Bernhard
More information about the TYPO3-dev
mailing list