[TYPO3] top content extension - how to ignore certain content types?

James Knuckey james.faction at gmail.com
Thu Nov 22 21:45:09 CET 2007


That's certainly a start! One of the content types it was looking up was  
itself, and now it's not. Thank you.

Now I need to figure out what to put there to exclude other content  
types... and how to add multiple exclusions...

On Fri, 23 Nov 2007 05:04:35 +1300, Katja Lampela  
<katja.lampela at lieska.net> wrote:

>> The one thing I'm trying to figure out is how to make it not display -  
>> or
>> ignore - content elements that have no bodytext, such as header content
>> elements, plugins or images-only.
>>
>> Can anyone give me any tips on how to do this?
>
> Hi James,
> Quick look at the manual showed these lines:
> --------------------------------------------
> If you don't want your Top Content plugin (insert plugin CE) to be
> recognized as a result of the tt_content query, you can exclude all of  
> those
> records by an additional WHERE clause.
> Example (constants)
>
> plugin.gsttopcontent.sqlAndWhere = AND tt_content.list_type not like
> 'gst_topcontent_pi1'
>
> ----------------------------------------------
> and check the configuration section abou sqlAndWhere too.
>
> maybe you could try to insert something instead of 'gst_topcontent_pi1'
>
> just a thought..
> - katja
>
>
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the TYPO3-english mailing list