> I would like to know, if a function exists (like enablefied to generate > the 'Where' clause) to display items with the right version when I switch > between the Draft and the live workspace? Just have a look at the functions fixVersioningPid and getWorkspaceVersionOfRecord in class t3lib_page for this. Andreas