coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: hangnguyen on April 13, 2008, 08:45:03 AM

Title: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
Post by: hangnguyen on April 13, 2008, 08:45:03 AM
Hi
The bridge done already (http://www.mehdiplugins.com/misc/), but have small proplem, they did bridge for joomla 1.5.2 and coppermine 1.4.16, not 1.4.17
QuoteNow in the include subfolder , edit the file functions.inc.php . Look for the line:
Quote$template = fread(fopen($template_file, 'r'), filesize($template_file));
Replace it with the following lines:
Quote//-----------------------------------------------------------------------     
        global $BRIDGE;
     
        $integrateTest= false;
        $shortN=$BRIDGE['short_name'];
        if($shortN=='joomla' || $shortN=='joomla15')
        $integrateTest=file_exists("bridge/". $shortN .".integ.php");                     
        if($integrateTest) include ("bridge/". $shortN .".integ.php"); //integrate.php will affect $template var       
       else {
            $template = fread($fileres = fopen($template_file, 'r'), filesize($template_file));
            fclose($fileres);
       }      
        //----------------------------------------------------------------------

but I did not see the line
Quote$template = fread(fopen($template_file, 'r'), filesize($template_file));
in the file functions.inc.php, so which line of fine functions.inc.php so I remove (coppermine 14.17) ???

thanks for your time !
Title: Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
Post by: Joachim Müller on April 13, 2008, 04:21:37 PM
There is no support here for the Mehdi bridge. As far as we're concerned, the Mehdi stuff is not a bridge, but a hack. Ask Mehdi.
Title: Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
Post by: bukavu on May 08, 2008, 12:55:10 PM
what is the best bridge for joomla and coppermine please
Title: Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
Post by: Joachim Müller on May 08, 2008, 05:13:10 PM
I have no idea - I don't use Joomla.
Title: Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
Post by: bukavu on May 09, 2008, 02:14:49 PM
I managed to hack coppermine into my joomla website http://www.wisdomhouseint.net/coppermine/index.php the problem is that the gallery is not respecting the menu i set it too and appearing in the content space of my website, what can i do?

sorry if this is the wrong place to ask for that kind of help  :'(
Title: Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
Post by: Joachim Müller on May 09, 2008, 05:04:00 PM
This is the wrong place - we don't know Joomla. Ask on Joomla-support-boards (or better search and only asked if this hasn't been asked before).
Title: Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
Post by: phill104 on May 09, 2008, 10:38:45 PM
Quote from: bukavu on May 09, 2008, 02:14:49 PM
I managed to hack coppermine into my joomla website http://www.wisdomhouseint.net/coppermine/index.php the problem is that the gallery is not respecting the menu i set it too and appearing in the content space of my website, what can i do?

sorry if this is the wrong place to ask for that kind of help  :'(

I really should know better than to respond to someone who has hijacked a thread but if you simply remove the poll module from just that page then your gallery will display properly as your theme is too wide for the area you are trying to fit it in.

If you do not know hoe to remove that module from that page read the joomla docs.