View previous topic :: View next topic |
Author |
Message |
gegeor
Joined: 11 Sep 2002 Posts: 2
|
Posted: Wed Sep 11, 2002 7:41 am Post subject: Merge b2 with phpnuke? |
|
|
Hello
i have b2 installed in my php nuke site in a folder called "news"
I am wondering ,is there a way to merge it with my phpnuke pages?The installation in in a different folder than phpnuke is in (etc http://mydomain.com/news-->(b2)
what must i do in order users to surf the web log but also see my phnuke mainpage , i mean the blocks left right ,header, footer, etc
thank you all in advance
 |
|
Back to top |
|
 |
GamerZ
Joined: 15 May 2002 Posts: 536 Location: Singapore
|
Posted: Wed Sep 11, 2002 8:47 am Post subject: |
|
|
y do u need b2 with phpnuke?
phpnuke got thier own news system already. _________________
++ GamerZ.Per.Sg - Complex Simplicity |
|
Back to top |
|
 |
gegeor
Joined: 11 Sep 2002 Posts: 2
|
Posted: Wed Sep 11, 2002 10:12 am Post subject: phpnuke+b2 |
|
|
Yes, i would like to use b2 into php nuke,offcourse if that is possible...
is it.?
thanks |
|
Back to top |
|
 |
Nodecam
Joined: 05 Apr 2002 Posts: 66 Location: Saskatoon, Saskatchewan, Canada
|
Posted: Wed Sep 11, 2002 7:19 pm Post subject: |
|
|
If you just want to have b2's posts included in your PHPNuke site, you can simply create a "partial" template for B2, call it something like "inline.php" so that it doesn't contain <html> or <body> tags - ie you could have the top level element as a <div> tag. Then include the file in your PHP nuke page with a Code: | <?php include ("/path/to/b2/inline.php"); ?> |
You might have to play with the "inline" template a little to get the links outputting properly etc, but it shouldn't be too bad.
Give it a whirl, and see how it goes. |
|
Back to top |
|
 |
chan
Joined: 17 Feb 2004 Posts: 1
|
Posted: Tue Feb 17, 2004 4:49 am Post subject: |
|
|
Can you please put that in lay mens turms man. I want to add b2 to my phpnuke site as well. You might ask why? well phpnuke isn't made for blogging. It doesn't have a good blog stuff built in and the news isn't very secure. Can you give more instuctions on how to add it to phpnuke as a module for the main page. |
|
Back to top |
|
 |
|