--- old/class.tslib_menu.php 2005-05-22 19:41:24.000000000 -0500 +++ new/class.tslib_menu.php 2005-05-24 14:04:19.000000000 -0500 @@ -550,10 +550,14 @@ if ($this->conf['special.']['excludeNoSearchPages']) { $extraWhere.= ' AND pages.no_search=0'; } - // start point - $eLevel = tslib_cObj::getKey (intval($this->conf['special.']['entryLevel']),$this->tmpl->rootLine); - $startUid = intval($this->tmpl->rootLine[$eLevel]['uid']); + // Get a alternative start UID if supplied with TS, the entryLevel is ofcourse ignored then.... + if ($this->conf['special.']['startUid'] || $this->conf['special.']['startUid.']) { + $startUid = $this->parent_cObj->stdWrap($this->conf['special.']['startUid'], $this->conf['special.']['startUid.']); + } else { + $startUid = intval($this->tmpl->rootLine[ tslib_cObj::getKey (intval($this->conf['special.']['entryLevel']),$this->tmpl->rootLine) ]['uid']); + } + // which field is for keywords $kfield = 'keywords'; if ( $this->conf['special.']['keywordsField'] ) {