.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../../Includes.txt CountSubEntries ^^^^^^^^^^^^^^^ This one counts in another table. It's easier to explain with an example: You are displaying page entries and want to show the number of content elements on that page -- this is how you do that. sDatabase --------- String. If the database differs from dbal/sDatabase, enter it here. sTable ------ String. Table name of the table to count in. Following our page-contentelement-example: :: tt_content sTableColumn ------------ String. The other end of the relation. Connect the column/field on which this callback is performed with this sTableColumn in the foreign table (sTable) where you count in. The example would consist of the pages' *uid* column on which this callback would be performed. sTableColumn would in that case be set to :: pid sWrap ----- String. Maybe you want to show more than just the default raw number of entries. Just keep in mind to include the pipe sign (|). Example: :: | content elements on this page Of course, as always, you might want to use markers here: :: | content elements on this page