cpmFetch + coppermine modules cpmFetch + coppermine modules
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

cpmFetch + coppermine modules

Started by lordiefe, April 21, 2007, 01:40:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lordiefe

Why I cant in my joomla home page 2 modules apply to 2 diferent galleries?

is posible config two different  modules apply to two different galleries?

I have installing and ready cpmFetch in this galleries.  but in my joomla aplication i can view this galleries at the same time?????

vuud

Quote from: lordiefe on April 21, 2007, 01:40:09 AM
Why I cant in my joomla home page 2 modules apply to 2 diferent galleries?

is posible config two different  modules apply to two different galleries?

I have installing and ready cpmFetch in this galleries.  but in my joomla aplication i can view this galleries at the same time?????

You can, its just not as easy.

If you are using someones joomla plugin, you may need to modify that.

Basically:

1) Include cpmfetch.php only once in the first one you use

2) If you are connecting to another gallery use a different variable name $objCpm2 or something

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

viajero

Hi Lordiefe,

as I stated in the other answer - you can do that with mod_ExtCoppermine V1.1
because you can change the name of the configuration file at the backend
I did not tested it yet at my test development, but it should work out

if you have problems visit my forum or pm me directly

saludos
André alias viajero

lordiefe

Hello

I change $objCpm for $objCpm2 but the error continue......

Fatal error: Cannot redeclare class cpm in /home/.jeris/anc/ancsports.net/photogallery/cpmfetch/cpmfetch.php on line 1698

lordiefe

Hi andre

I download your ultimate version, but this is incomplete.

Can you send me your module in my emal?

diefe@hotmail.com   thanks

vuud

Quote from: lordiefe on April 23, 2007, 11:28:32 PM
Hi andre

I download your ultimate version, but this is incomplete.

Can you send me your module in my emal?

diefe@hotmail.com   thanks

Are you sure you are doing include_once and not just include?
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

lordiefe

Hi master

where insert this change?


Diego




lordiefe

Master, you can sen me the instructions step by step for the changes in cpmfecht and cpg modules.

This are my galleries

http://www.ancsports.net/ancgallery/cpmfetch/screen.php

http://www.ancsports.net/photogallery/cpmfetch/screen.php

and the joomla home page.

http://www.zignoz.com/mambo/

thanks master

viajero

Quote from: lordiefe on April 23, 2007, 11:13:45 PM
Hello

I change $objCpm for $objCpm2 but the error continue......

Fatal error: Cannot redeclare class cpm in /home/.jeris/anc/ancsports.net/photogallery/cpmfetch/cpmfetch.php on line 1698

Hi Lordiefe,

I can reproduce the error - but at the moment this module was not created to view pictures from several galleries at the same page. For different pages it should work without problems. I will have a look into it, how to make this $objCpm Variable changeable from the backend. At the moment it is not priority 1 - because I am getting Papa soon and this will reduce my spare time in finding faults. Things like that you can ask in my forum - I am not too often around here :)

saludos
André

viajero

Hi guys,

it solved  :)
and all is already there, you just have to do it !

as you have already stated - you have cpmFetch installed twice in both galleries - means you have already 2 config files: cpmfetch_config.php
1. you copy and rename the cpmfetch_config.php from the second gallery installation into the cpmfetch folder of your first gallery installation
2. point in the module at the backend to the renamed config file
3. ready
4. it works on my site !


saludos
André


lordiefe

how redirect path and root in the pmfetch_config1.php (this is a file for the second gallery)

lordiefe

Do you can send me a example code_ please.

viajero

Hi lordiefe,

I can just repeat, what I wrote, maybe I am not too patient  ???

if you have already installed joomla + coppermine gallery1 + gallery2 and cpmFetch for each gallery then you are able to do it

both cpmFetch installations contain by standard the cpmfetch_config.php file - and both are containing the different settings for each gallery.
So far you copy the cpmfetch_config.php from gallery1/cpmfetch/ to gallery2/cpmfetch/ and for sure rename it before.
in the module mod_Extcoppermine I included a field, where you can enter the cpmfetch_config.php filename
now you should have under gallery1/cpmfetch/  - 2 config files, to which you can point at the backend

Sorry, I cant do it for you, cause of restricted time
learning by selfdoing :)

saludos
André alias viajero