multiple gallery instances in mambo
|
jamesyap
Joined: 2004-11-08
Posts: 1 |
Posted: Mon, 2004-11-08 21:15
|
|
Anyone has any experience running multiple instances of gallery on the same machine and embedding them on the same mambo server? Is this possible? Please help. I'm running mambo 4.5 and gallery 1.4.4 Thanks |
|
| Login or register to post comments |

Posts: 15
Hi,
I tried this as you can read here:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=22340&sid=9fae58d46ccf31bed789eae10a2c316e
You can also find corresponding questions from me on forum.mamboserver.com
In short:
I tried to do this and didn't succeed - I don't know by now, why it doesn't work, souldn't be so hard to just clone the component, change some code and do some cloning/changing in the database, but fact is - I didn't get it working.
If you get it working I will gladly accept my stupidity and bow before you ;-)
Shouldn't be so hard and I still need this badly, but I didn't find my error, noone else could help and so I'm on the verge of migrating the whole thing to typo3 - which will be much more work indeed, but at least it should work in the end.
Sorry for being not helpful, but perhaps you find sth in my postings.
Greets, southy
Posts: 345
Hi,
here is a clone of the Gallery component.
I have tested it on my webspace with Mambo 4.5.1a, Gallery 1.4.4-pl2 and Gallery v1.5-cvs-b265 and it works for me.
Install the file as a component to your Mambo and enter the path to the second Gallery in the components settings. Then create a new menu item with the new component gallery2.
Please backup your files and database before install :o
I hope it works for you.
Kai
Posts: 15
Hi kai_tom,
Hey, this ist just what I tried to do all the time! And it's working just perfectly!
Thank you so very much!.
For everybody who wants to have more than two gals:
- unpack toms com_gallery2.zip
for any of the files, (toolbar.xxx doesn't need to be treated) do:
cat gallery2.xml | sed s/allery2/allery_newgal/g > gallery_newgal.xml
[By the way, I guess here is the mistake I made all the time: I guess I missed one string with is named "Gallery" not "gallery" - this is why my replace above just looks for "allery". Stupid me.]
then delete the old files and pack the whole thing to:
com_gallery_newgal.zip
done.
[Now:
- install the gal-script one more (and configure!)
- install the above created component in mambo
- configure com_gallery_newgal: set the right path to the gal-script
- place a new button for the new component.
done.]
Thanks Tom, for doing this and helping me find my mistake.
Greets,
southy.