Status of embed?

jarmake

Joined: 2006-08-29
Posts: 9
Posted: Wed, 2011-08-10 11:43

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25940
Posted: Wed, 2011-08-10 13:20

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

 
jarmake

Joined: 2006-08-29
Posts: 9
Posted: Wed, 2011-08-10 13:31

Ok. Thanks for the answer!

 
Oldiesmann
Oldiesmann's picture

Joined: 2005-05-18
Posts: 150
Posted: Sat, 2012-01-21 20:39

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

 
sheilahoff

Joined: 2003-02-06
Posts: 73
Posted: Fri, 2012-02-24 17:09

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25940
Posted: Fri, 2012-02-24 18:46

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

 
jarmake

Joined: 2006-08-29
Posts: 9
Posted: Fri, 2012-02-24 19:53

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25940
Posted: Fri, 2012-02-24 21:32

Please start a new thread it is not the "Status of embed".

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Oldiesmann
Oldiesmann's picture

Joined: 2005-05-18
Posts: 150
Posted: Sat, 2012-03-31 20:02

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)

 
Oldiesmann
Oldiesmann's picture

Joined: 2005-05-18
Posts: 150
Posted: Sat, 2012-06-02 19:09

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)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7885
Posted: Sat, 2012-06-02 20:15

I have an example using the rest interface http://gallery.menalto.com/node/106581

-s