Posted by jwyckoff on July 16, 2009 at 9:00pm
Jump to:
| Project: | Gallery |
| Version: | 6.x-1.0 |
| Component: | User Synchronization |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
My admin account can get to the G2 content via both the "traditional" G2 web site (/gallery2), *AND* via drupal's UI at (gallery2). Anyone other user plus anonymous users can't get to the G2 content via Drupal. For example:
This doesn't work:
http://www.wyckoffglacier.org/drupal2/gallery
This does work:
http://www.wyckoffglacier.org/drupal2/gallery2
I obviously don't want people to use the /gallery2 URL, as it's not integrated with Drupal.
Thanks for your help in advance!
Regards,
Jason
Comments
#1
If you don't want the /gallery2 part to be available change the setting in the Gallery2 config.php to redirect to the Drupal path...
$gallery->setConfig('mode.embed.only', "http://example.com/gallery");
That assumes this path is working in Drupal. Why it is not working in yours I can't say from what you posted. It is working in 3 sites for me.
#2
you could always just create a separate menu block that is only visible to anonymous users and have all the links to content they should have access to listed there...
#3
Check the permissions in Drupal. If I remember correctly access to G2 is not granted to anonymous users. Check the box and you should be set.