Drupal Menu in the PHPbb Forum

public
group: phpbb
markus_cz - Mon, 2008-09-01 13:43

Hello,

I installed the 6.0 version of this mod and so far it seems to be working great. Thank you! I have a question though, and hope someone would be able to help me.

How can I include the Drupal menu in the Forum page? The default installation seems to leave both Drupal and Forums as separate pages which "only" share database and users. I guess that was the point, but I'd still like to merge both to create one portal. I can easily edit the forum skin, so It look exactly like Drupal, has the same header, the same footer, etc... but I don't know how to add the menu. I tried to inlude the menu part of Drupal code to the forum code but - unsuprisingly - it didn't do anythyng. I can also write the menu manually, but that way it wouldn't read the changes in Drupal and I'd have to reedit it manually everytime I'd change something.

Just for the reference, this is how my page look like. Don't mind the language:
http://img524.imageshack.us/my.php?image=designjv8.png
The bar that reads "Co nového? / RPG Fórum" etc. is the menu (Primary Links, to be more precise), and I'd like to include this to the forums. The sidebars won't be visible with the forum opened, obviously.

Ideally, the forum should appear in the main center frame, and the user shouldn'd even notice he was redirected to a different page. AFAIK there are two ways how to do it:

1) I can modify the PHPbb theme (overall_header.tpl, if I'm not mistaken) and include some code that would read the Drupal Primary Links. No idea how to do it, though. This is the way I'd prefer if I were able to do it.

2) Since I can write PHP code to the Drupal nodes (stories, pages...), I could perhaps write some code that would include the whole forum in a single Drupal page. Tried and failed. No idea if this can work.

And because I'm not very skilled at PHP, this is all I managed to figure out, and now don't know what to do. Any help would be very appretiated. Surely there must be someone who already did something like this for his implementation?

Thanks in advance,

Jiri

OK, so I browsed older

markus_cz - Fri, 2008-09-05 21:59

OK, so I browsed older topics in this discussion and came to a conclusion that my wish is currently not possible. I have therefore edited the PHPbb skin and added a code with the menu to overlall_header.tpl (or .php, I always forget the file type). It is hardcoded, which means I have to manually rewrite the overlall_header.tpl everytime I want to change the menu, but it works and a common user won't recognize a thing.

I still wonder if there is some way how to tech PHPbb to read the Drupal menu. I imagine it can't be so difficult - it already reads user information, so why not primary links? Anyway, this is just a dream. I don't change the menu very often anyway.