Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Joomla Bridge Support => Topic started by: Sven0 on January 30, 2006, 01:34:58 PM

Title: SEF URLs in ssi.php used at Joomla startsite
Post by: Sven0 on January 30, 2006, 01:34:58 PM
Hi,

i use ssi_boardNews in Joomla and the problem is that the Bridge don´t use SEF URLs at the comment links, check it at www.rapz.de

what do i have to change to get it work with SEF URLs?
Title: Re: SEF URLs in ssi.php used at Joomla startsite
Post by: Kindred on January 30, 2006, 03:16:15 PM
you'll probably have to re-write ssi_boardnews...
Title: Re: SEF URLs in ssi.php used at Joomla startsite
Post by: Sven0 on February 06, 2006, 10:07:53 AM
yea that´s right, but how?
Title: Re: SEF URLs in ssi.php used at Joomla startsite
Post by: Thunderace on February 06, 2006, 10:46:00 AM
You could try something like this ..

   ob_start();

//include page here
//this might even work if just ssi_boardnews() is called here.

$contents = ob_get_contents();
       ob_end_clean();
$contents = fixssiurl($contents);

function fixssiurl($contents)
{
This function would contain the rewrite functions of Orstios smf.php from his bridge.
Please check with him that you are allowed to do this
return $contents;
}