================================ Exclude contents from the parser ================================ .. _example-exclude-pages: Exclude whole pages from being parsed ------------------------------------- Pages can be statically excluded from parsing via TypoScript:: plugin.tx_dpnglossary { settings.parsingExcludePidList = 42, 185, 365 } Pages can also dynamically excluded from parsing by page properties :guilabel:`Page Properties > Behaviour > Settings for dreipunktnull Glossary`: .. figure:: /Images/ExcludePageFromParsing.png :alt: Exclude page from parsing Exclude page from parsing By making field :sql:`tx_dpnglossary_parsing_settings` of table :sql:`pages` available for your editors, it is also possible to let (power) editors decide, which pages should be parsed. .. _example-exclude-content: Exclude content elements from being parsed ------------------------------------------ The following TypoScript constant defines HTML classes whose content will be excluded from parsing:: plugin.tx_dpnglossary { settings.forbiddenParsingTagClasses = tx_dpn_glossary_exclude, my_search_results } Content wrapped with one of these classes will be excluded from parsing. Content can also dynamically excluded from parsing by content properties :guilabel:`Content Properties > Appearance > Settings for DPN Glossary`. This only works if the default Fluid layout has been overriden to wrap the content with the HTML class :html:`tx_dpn_glossary_exclude` and this class is still found in the :typoscript:`settings.forbiddenParsingTagClasses`. You can set the following TypoScript constant to let this extension override the Fluid Styled Content default layout:: plugin.tx_dpnglossary { settings.overrideFluidStyledContentLayout = 1 } If you need to override the layout yourself make sure to add the following to the surrounding tags class: .. code-block:: html