Greetings all. I need help embedding G2 into Mambo, please.
I have been poring over the docs, FAQs and searching the G2 topics for about a week, but I cannot figure out how to embed G2 into Mambo 4.5.1.3 or 4.5.2. (Two separate Mambos... G2 modules don't work on either).
G2 (6-28-05 nightly snapshot) is working properly as a stand-alone. On the older Mambo, G2 it is installed under /mambo/. On the newer Mambo version, G2 is located outside /mambo/ and outside the site's domain, in /home/webs/gallery2.
Com_gallery2-v2[1].0.5.zip is installed. I created a menu item for this component within both Mambos. Except for style issues, G2 works fine within Mambo as a "wrapped" component.
Actually, com_gallery is not required to create a menu link to a "wrapped" version of the gallery. But the component IS needed for embedding!
I changed mode.embed.only in config.php to true. Within G2, Registration, url rewrite are disabled. I don't have user issues (I think).
When I attempt to install two of the G2/Mambo modules (mod_galleryside 2.1 and mod_gallery_block 1.5), I get a message in the module position that says, "this module is only loaded when gallery2 embedded is loaded, this doesn't seem to be the case."
"...When gallery2 embedded is loaded"... ?
So, what are the steps to loading gallery2 embedded into Mambo?
Do I need an include statement to load the embedding? If so, in which file should I put it?
What about the mos_gallery2 table? I have seen error messages that say this table does not exist. Is there an sql anywhere? Is THIS where I set the embed path?
Do I need to alter GalleryEmbed.class?
I've read about init:embed and URI paths. Do I set those in the GalleryEmbed.class file by uncommenting those lines there and filling in the paths?
Does it matter if config.php mode.embed.only is set to true before or after installing the embedding Mambo com_gallery2?
If I have missed answers to these questions posted elsewhere, forgive me. I am an fairly experienced Mambo user, but a G2 noob. I installed four stand-alone and embedded photo galleries for my client... guess which one he picked?! Gallery2! (Yes, he knows it's a beta, but it is already more stable than what we were using!)
I usually work pretty well on my own, but instead, I need help to embed, because i'm numb in the head, from all the posts I have read. :lol:
Thank you, G2-Mambers!
Posts: 430
Hi,
use version 2 or higher for modules and the component.
Don't use the wrapper, make a component link, so that the url will be like:
index?option=com_gallery2&etz...
sorry for the confusion on version numbers!
grtz,
Michiel
Posts: 4
Thanks, Michiel for your reply. I'm sorry to confuse anyone. I am not using the wrapper, but am linking to the component. To me, it seems the result is the same whether making a Mambo link to a url or a Mambo link to the G2 component. I'm off to find version 2 or higher of the modules.
Posts: 4
OMG! I just got the big KABONG! The light came on, and now i see! (This is good, as I was getting pretty discouraged).
To ensure that the G2 sidebar displays properly, it must be displayed on the Gallery2 component page in Mambo.
Now I understand what this error message means:
"...When gallery2 embedded is loaded"... ?
I can't believe I was the only one having a problem figuring this out!
Posts: 430
no problem SLoonam.
goodluck,
Michiel
Posts: 18
all installed and the picutres show in direct url to g2 but not thur mambo the boxes r there with red X int hem ?????????
Posts: 430
snapple,
don't double post and if you search the forum or have read anything here, you should give somae more info. I can't work with the info you have given.
the only thing i can tell is your path's are configured incorrectly, give the site url and i can help you the fastest else give your config values of the component with the version of G2 and the version of the component.
grtz,
Michiel