G2 retaining user management

lankybutmacho

Joined: 2005-07-09
Posts: 1
Posted: Sat, 2005-07-09 17:05

Hey, I'm sure this question's been asked before, but I couldn't come up with an answer by searching. I'm embedding Gallery2 into my own site, not a CMS of any kind. However, I'm doing it just for visual integration, not to integrate with my own user management, since my site doesn't have any. So I'd like G2 to do its own user management like the non-embedded version does. In my embedded version, everything works fine except I don't have the Login link up in the top right corner among the other navigation links. How do I get this back? Thanks in advance.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-07-09 17:38

if you don't need the user synchronization, you don't need to use GalleryEmbed.
you can just customize the G2 templates, add your menus / Stuff before and after the G2 stuff.

and if you want to do it with GalleryEmbed:: (it only complicates things), then you'd have to set GalleryCapabilities::set('login', true); after the GalleryEmbed::init() call.

note that there was a huge change in themeing / templates since beta 3.
before customizing G2, you should upgrade to tomorrows nightly snapshot.