Hi,
I found some posts regarding the embed status for Gallery3 from last year and at that point there wasn't much work done on it yet. So I'd like to know if it can be expected to be released any time soon?
Let me clarify what I mean with embed in my case. I have Gallery2 installation in directory gallery/ . I am calling it from two php files (due to bilingual site) such as /kuvat.php and english/pics.php using the following method
require_once ('/path/to/gallery/embed.php');
$ret = GalleryEmbed::init( array ('g2Uri'=>'http://www.mysite.com/gallery/main.php', 'embedUri'=>'http://www.mysite.com/kuvat.php?g2_language=fi', 'fullInit'=>'false'));
if ($ret) {
print 'G2 init error: '.$ret->getAsHtml();
}
$gallery->setConfig('showSidebarBlocks', false);
$g2data = GalleryEmbed::handleRequest();
if ($g2data['isDone']) {
exit;
}
GalleryEmbed::done();
And then I just embed the different parts to correct places in my html via echo $g2data['bodyHtml']
As it is currently I haven't found out how to do this with Gallery3, or if it's possible at all yet.
Posts: 25940
we are working on the embedded API for the next major release. As for the time frame, we don't give those out because we don't know.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 9
Ok. Thanks for the answer!
Posts: 150
Any further updates on this? It's been 15 months since G3 went final. The embed/integration functionality is one of the greatest features of Gallery 2, so it's difficult for me to understand why there's so little focus on returning this to the 3.x branch.
---------------------
The Oldiesmann
SMF Marketing Team member
SMF+G2 Integration Project - 1.0 now available! (Supports SMF 2.0 and higher, released 11/17/11
Posts: 73
I'd like to know this as well. I just paid someone to upgrade my very ancient v1 Gallery to v3. I was assuming that my old embedded gallery would simply be updated to v3 and still be embedded. Instead the poor fellow is trying to manually recreate and custom code a look to match my site! And not doing a particularly good job of it. I'm flabbergasted. I can't believe there's not a simple way to do this when I was doing it in 2008 on my old site! Is there any new way to do this? I used to just make custom header and footer wrappers.
Posts: 25940
There is visual embedding that can be done with header and footer.
When we talk embedding we talk about user integration as well as permissions and top of that the visual aspect. The visual aspect includes but is not limited to the breadbrumb of navigation if embedded in the content management system (not having 2 different navigation structures).
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 9
I am sorry Floridave but I am not sure I follow. Could you perhaps elaborate a little and give me a some kind of pointers how I can move my Gallery to G3? I am not using any CMS on my site rather I have pretty much static html/php pages without a dynamic header/footer parts. So my site has pretty much two html files for a "page", one in Finnish and one in English. With G2 I have been able to have the same underlying gallery but the language has been different by having the language in the url address as parameter. So I have been able to load the gallery from two different php pages.
Posts: 25940
Please start a new thread it is not the "Status of embed".
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 150
Another couple of months go by and still no status update. Really disappointing!
---------------------
The Oldiesmann
SMF Marketing Team member
SMF+G2 Integration Project - 1.0 now available! (Supports SMF 2.0 and higher, released 11/17/11)
Posts: 150
2 more months fly by and still no updates
---------------------
The Oldiesmann
SMF Marketing Team member
SMF+G2 Integration Project - 1.0 now available! (Supports SMF 2.0 and higher, released 11/17/11)
Posts: 7885
I have an example using the rest interface http://gallery.menalto.com/node/106581
-s