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?????
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
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
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 andre
I download your ultimate version, but this is incomplete.
Can you send me your module in my emal?
diefe@hotmail.com thanks
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?
Hi master
where insert this change?
Diego
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
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é
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é
this is the error
http://www.zignoz.com/mambo/
how redirect path and root in the pmfetch_config1.php (this is a file for the second gallery)
Do you can send me a example code_ please.
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