Bug #14178
closedindexed search [result] (paging, ancor corrupt)
0%
Description
pager doesn't work anymore
this is the same problem like at typo3.org
take a look
or
take a look at my site, there ancoring doesn't work either
http://www.goldkueste.ch/suchen.html
and look for "gastro"
when you hit
page 1 | page 2 | page x
it doesn't work.
also the ancors which are set doesn't work. ( => goes to home)
Installation:
LAMP
Typo3 3.6.1
indexed search 1.2.8
(issue imported from #M112)
Files
Updated by old_mrmodulo over 20 years ago
anchoring corrected:
corrected anchor link
function printResultSectionLinks() {
$lines=array();
reset($this->resultSections);
while(list($id,$dat)=each($this->resultSections)) {
// added '.$this > pi_getPageLink($GLOBALS["TSFE"] -> id).' if you have a <base> it doesn't work without>pi_getLL("unnamedSection")).' ('.$dat1.' '.$this->pi_getLL("word_page".($dat1>1?"s":"")).')</a></li>';
$lines[]='<li><a href="'.$this -> pi_getPageLink($GLOBALS["TSFE"] -> id).'#'.md5($id).'">'.(trim($dat0)?htmlspecialchars(trim($dat0)):$this
}
$out = '<ul>'.implode(chr(10),$lines).'</ul>';
return '<div'.$this->pi_classParam("sectionlinks").'>'.$this->cObj->stdWrap($out, $this->conf["sectionlinks_stdWrap."]).'</div>';
}
Updated by old_herlaar over 20 years ago
mrmodulo, i've tried that piece of code and it generates an PHP error on line 921, so something is wrong with it.
Updated by miikaawaadizi over 20 years ago
Check to see if you're using language detection, and if you are, try with it uninstalled? (See 0000139)
Updated by Ingmar Schlecht over 20 years ago
please don't post PHP code directly in here anymore, I just dicovered mantis doesn't properly htmlspecialchars() and thus the code isn't output correctly... Better make attachments.
Updated by old_herlaar over 20 years ago
the attacment you attached just does not work, it even makes the problem worse, now the section header links dont even jump to right location one page.
and page 1 - page 2 - page 3 still dont work!
don't have language detection, whatever that is
Updated by old_herlaar over 20 years ago
well i've tried it again , and i do not have language detection.
the piece of code only makes it worse, now the section header links dont work also.
Updated by Franz Holzinger over 20 years ago
The search at http://Typo3.org does only work for the first page of results.
When you hit
Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Next >
nothing works.
Updated by Ingmar Schlecht over 20 years ago
This is related to the extension RealURL being installed on Typo3.org.
Updated by Michael Stucki about 20 years ago
@Ingmar: Did you refer to Franz' comment or on this bug?
Updated by Franz Holzinger about 20 years ago
The search at http://Typo3.org works now. Great and important!
@Michael Stucki : He has answered to my question.
Updated by Karsten Dambekalns about 19 years ago
With your changes to indexed search, is this fixed as well?
Updated by Michael Stucki about 19 years ago
I didn't touch this function but I think it is fixed because it works on typo3.org and I've never heard of similar problems since then.
Otherwise, just reopen.