[TYPO3-english] Exclude typeNum from search results?

Jigal van Hemert jigal at xs4all.nl
Tue Aug 9 23:40:29 CEST 2011


Hi,

On 9-8-2011 17:09, typo3 at wehe-online.de wrote:
> Does anyone know how I can exclude pdf files (typeNum=123) from the result
> page? Thanks!

This typeNum has its own PAGE object (let's call it 'pdf'):
pdf = PAGE
pdf {
   typeNum = 123
     # disable indexing for this type
   config.index_enable = 0
}

You have to remove the results for this typeNum from the current 
indexes, but this should prevent indexing.

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert.


More information about the TYPO3-english mailing list