This could potentially go into the mambo embedding thread, but it's a fairly specific question, so I thought I would make a new thread.
I have gallery successfully embedded in mambo (thanks to Dr. Bob's work!), but now I am hoping to display the gallery sidebar on all of my mambo pages, not just the gallery pages. valiant suggested that this might cause a performance hit to the site, but I am willing to accept that since this functionality is quite important to me.
I don't know if this is possible with the current module. If it is, can anyone suggest where I would star to work on that. If not, please let me know if this is likely to show up when the integration module is more complete. If this is something that is unlikely to ever happen, please let me know that as well and I will attempt to find another solution.
The reason behind this query is that my site will be focused on the gallery content, but there will be other content there as well. I want mambo to handle the non-gallery content, but I want users to have quick and easy access to the gallery content at all times. Having the sidebar present on all pages seems like the best solution for this goal.
Thanks for any help anyone can provide.
Posts: 32509
do you just want imageblocks all over the site or do you really want the sidebar? and if you want the sidebar, what of the sidebar? search box + shopping cart? i.e. links and the search box could be coded hard. but if you need dynamic content like the shopping cart, then you'd have to run a complete G2 request at the moment, AFAIK, just to get the sidebar. maybe not, you'd have to investigate in this.
Posts: 84
Well, I would want the search, the item list, the album selector dropdown and a random image. The shopping cart may be added later. I'm guessing I'll need to run a complete G2 request, but at this stage of my learning these tools, I have no idea how to do that.
I suspect I will have to have sidebar.tpl rendered at some point, but I don't know how to get that to work inside a seperate mambo module area from the main content. I also do know how to make the sidebar synchronize with the content of the gallery (i.e. the sidebar displays the correct item list for a particular gallery).
I think I'm in a bit over my head in terms of the programming at this point, but if someone could point me in the right direction, I might be able to get the ball rolling.
Posts: 32509
this has more to do with mambo. You'll have to create a mambo block or how ever this is called in mambo lingo. This mambo block would call GalleryEmbed::init() and GalleryEmbed::handleRequest(), that's it.
Can't help you there with mambo development.
Posts: 100
The official Mambo + G2 Development Thread is now here:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=30543
Please post there if you were able to find a solution to your issue. Thanks