pageTitle .= ' » Venues'; // pagination $this->Pages->init($this->Venue); $this->Pages->itemsPerPage = 10; $this->Pages->currentPage = isset($this->params['pass'][0]) ? $this->params['pass'][0] : 0; $this->Pages->relativePath = '/venues/'; $this->set('Pages',$this->Pages); // display the defined resultset // Added AD7six $this->Word->recursive = 2; // End AD7six $this->set('data',$this->Word->findAll(array('Word.preferred' => 1, 'Word.tour_id' => 0), null, 'Word.word asc', $this->Pages->itemsPerPage, $this->Pages->currentPage)); } } ?>