Verdiğiniz dosyada aşağıdaki kodu bulun:
foreach( $arr as $ele ) {
if ( true == wfl_checkgroups( $ele['cid'] ) ) {
if ( $xoopsModuleConfig['subcats'] == 1 ) {
$chtitle = $wfmyts -> htmlSpecialCharsStrip( $ele['title'] );
if ( $chcount > 6 ) {
$subcategories .= '...';
break;
}
if ( $space > 0 ) {
$subcategories .= "<a href='" . XOOPS_URL . "/modules/" . $xoopsModule -> getVar( 'dirname' ) . "/viewcat.php?cat=$chtitle&cid=" . $ele['cid'] . "' title='$chtitle'>" . $chtitle . "</a>, ";
}
$space++;
$chcount++;
}
}
}Bununla değiştirin:
function seolulink($text){
$tr = array('ş','Ş','ı','İ','ğ','Ğ','ü','Ü','ö','Ö','Ç','ç');
$eng = array('s','S','i','I','g','G','u','U','o','O','C','c');
$text = str_replace($tr,$eng,$text);
$text = eregi_replace('[^0-9A-Za-z]',"-",$text);
$text = preg_replace("@--*@","-",$text);
return strtolower($text);
}
foreach( $arr as $ele ) {
if ( true == wfl_checkgroups( $ele['cid'] ) ) {
if ( $xoopsModuleConfig['subcats'] == 1 ) {
$chtitle = $wfmyts -> htmlSpecialCharsStrip( $ele['title'] );
if ( $chcount > 6 ) {
$subcategories .= '...';
break;
}
if ( $space > 0 ) {
$subcategories .= "<a href='" . XOOPS_URL . "/modules/" . $xoopsModule -> getVar( 'dirname' ) . "/viewcat.php?cat=".seolulink($chtitle)."&cid=" . $ele['cid'] . "' title='$chtitle'>" . $chtitle . "</a>, ";
}
$space++;
$chcount++;
}
}
}Eğer hata alırsanız, burada aldığınız hatayı belirtin. Hata almazsanız, hayırlı olsun.