когда мне потребовалось делать списки, создаваемые сложными запросами - я испльзовал экстеншен Select Pro.
Впечатление от экстеншена хорошее, патчится легко :-)
Как сделать в TS что-то сложнее, чем
в TSref, не смотрел (советую поискать в юзер листе по соотв свойствам типа andWhere, groupBy и т.п)
В TSref ты это смотрел:
5.0.5 select:
This object generates an SQL-select statement needed to select records from the database.
Some records are hidden or timed by start and end-times. This is automatically added to the SQL-select by looking in the tables.php-array (enablefields)
Also, if the \"pidInList\" feature is used, any page in the pid-list that is not visible for the user of the website IS REMOVED from the pidlist. Thereby no records from hidden, timed or access-protected pages are selected! Nor records from recyclers.
|