G2 + Drupal Menus

cstenson

Joined: 2003-09-14
Posts: 13
Posted: Sat, 2006-05-06 19:01

Hey everyone,

My question is in regards to Drupal 4.7, menu.module and the gallery.module.

I have made a menu:

Parent Item
-- Child 1
-- Child 2

Where Child 2 is a link to a Gallery Album.

Here is my issue:

When I click into Parent Item it expands into Child 1 and Child 2, no problems here. When I click on Child 1, the link it self becomes active and nothing else changes as far as the expansion of the menu goes, again, no problems. However, when I click Child 2 (the link to Gallery.module) the menu folds up and you no longer see the Child Links under Parent Item, nor can you see the active link.

Since I am not really a programmer, I can only guess at what is happening here. Gallery is a seperate db than Drupal, so the menu.module and gallery cannot connect that way?? Aside from selecting the option in the menu.module that keeps a menu always in its expanded state, is there a way around this?

Please let me know when you get a chance.

Thanks all,
-txcrew

 
mph

Joined: 2006-05-18
Posts: 2
Posted: Thu, 2006-05-18 17:59

I'm having a hard time making the drupal nav links point to my galleries as well. It's embedded fine, with mod_rewrite working (or so it says). My clean URLs are working in Drupal, but not when it comes to Gallery2. If I go to /v/Picture+Gallery, it says Page Not Found. Then, if I make my nav links point to the long URL, the special chars in the URL get converted by Drupal, and it doesn't work.

For example, if I put

index.php?q=gallery&g2_itemId=45

into my menu table as the path for one of my nav links, it shows up in the browser address field as

index.php%3Fq%3Dgallery%26g2_itemId%3D45

which results in a 403 Forbidden error.

I should point out that I put my G2 tables into my Drupal database with a prefix of g2_.

Please help. Going insane. Thanks.

 
mph

Joined: 2006-05-18
Posts: 2
Posted: Thu, 2006-05-18 18:01

Oh, I meant to say that I uninstalled the URL Rewrite module on the G2 admin page and then reinstalled it. This actually updated the URL Rewrite configuration interface completely. But it still doesn't work.