Jump to content

Pagination URL problems


mene

Recommended Posts

hi,

 

I had problems with pagination url on listing pages by using SH404.

And the way I solved this was that I changed the line 71 in sef_ext/com_jreviews.php by

replacing "menu" to "$menu" and unexpectedly work fine so far.

Are there any trouble with the change I did in the future? Or can I leave the way I changed?

What the scripts below do for briefly? Sorry for so may qustions.

 

 

foreach( $urlParams as $urlParam)

{

if($urlParam != '') {

// Segments    

if (false === strpos($urlParam,$_PARAM_CHAR)) {

$tmpParam = str_replace('$menu',$menu,$urlParam);

    $title[] =  rtrim($tmpParam , '/');

        $newUrl .= $tmpParam . '/';

    // Internal to external parameter conversion    

    } else {       

    $bits = explode($_PARAM_CHAR,$urlParam);

    shAddToGETVarsList($bits[0], stripslashes(urldecode($bits[1])));

    }

}

}

 

 

Thank you in advance.

Link to comment
×
×
  • Create New...