Found the problem in artikel.php line 123 change the following url mangler as follows....
Code: Select all
// Search for href attributes only
if (isset($oLnk->urlpool['href'])) {
$linkArray = array_unique($oLnk->urlpool['href']);
foreach ($linkArray as $_url)
{
$xpos = strpos( $_url, 'index.php?action=artikel' );
if ( !( $xpos === false ) )
{
// Get the Faq link title
preg_match('/id=([\d]+)/ism', $_url, $matches);
$_id = $matches[1];
preg_match('/artlang=([a-z\-]+)$/ism', $_url, $matches);
$_lang = $matches[1];
$_title = $faq->getRecordTitle($_id, false);
$_link = substr($_url, $xpos + 9);
// Move the link to XHTML
if (strpos($_url, '&') === false) {
$_link = str_replace('&', '&', $_link);
}
$oLink = new PMF_Link(PMF_Link::getSystemRelativeUri().$_link);
$oLink->itemTitle = $_title;
$oLink->tooltip = PMF_htmlentities($_title, ENT_QUOTES, $PMF_LANG['metaCharset']);
$newFaqPath = $oLink->toString();
$fixedContent = str_replace($_url, $newFaqPath, $fixedContent);
}
}
}
$content = $fixedContent;
The code is assuming no leading http information.
Larry