Integrating Gallery3 with existing Kohana based CMS

nicky77

Joined: 2009-02-03
Posts: 3
Posted: Tue, 2009-10-27 11:44

Hi guys, first off - many congrats on a great product!
I'm looking for a bit of guidance on the best way to integrate Gallery3 with a CMS which I've just set up. The CMS is built on Kohana 2.3.4, so I would have expected it to be fairly straightforward to link up both apps (authorisation etc). That said, I'm still learning Kohana and am not sure how best to do this. My CMS uses the Auth module for authorisation, whereas Gallery3 uses a different system (Access helper). Normally, if I integrate a 3rd party app with Kohana, I use a hook to access my Kohana index.php file which then allows me to access the Auth classes where I can check roles/access etc, however on this occasion I can't do that, as the Gallery3 app has its' own index.php file which is essential. Can anyone give me some pointers as how best to do the integration?

Many thanks in advance.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-10-27 17:53

No work on integration has been done yet. There is no API for this yet.

Well actually I think the ground work has started to be laid, but nothing is ready yet and probably won't be until 3.1 is released and we haven't released 3.0 yet.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nicky77

Joined: 2009-02-03
Posts: 3
Posted: Tue, 2009-10-27 18:25

Thanks for the reply. I wasn't expecting a pre-built solution for integration, I was really just looking for some advice on where I should concentrate my energy to try and find a neat integration between my own Kohana app and Gallery3, existing on the same domain. I've spent some time looking at the authentication code for Gallery3 and I'm just unsure how best to tailor this to work with Kohana's Auth module.