Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Another phpbb plus Integration Problem  (Read 2609 times)

0 Members and 1 Guest are viewing this topic.

Bullett

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Another phpbb plus Integration Problem
« on: January 26, 2004, 01:31:26 pm »

Hi,

after reading a few threads in this forum,

http://forum.coppermine-gallery.net/index.php?topic=1196
-That one just deals with blocks in the portal...


i feel still alone with my problem... :cry: :

I integrated coppermine and it works fine, userbase and cookies.
The problem is, i canīt integrate it visually:
I build a link in my navigation bar, that links directly to the index.php (Coppermine) -> that one is cleaning the window and opens the index.php in the complete window.
What i want is, that the header from the webpage remains where it is and the navigation-bar at the left side as well.
I figured out, that my portal.php is building the page and integrates the templatefiles overall_header.tpl and portal_body.tpl, the portal_body file is in html-code and it maintains a table with 3 td-datafields.
I tried to take the portal_body and change it ->portal_gallerie.tpl tocall
<?php include "mygallerie/index.php");> in the second td-field, then i changed the portal.php ->into a gallerie.php and changed it to call the portal_gallerie.tpl as the tamplate file...
in my navigation bar i set up the link for gallerie on the gallerie.php.
guess what, nothing works... :evil: !
Has anyone food for thoughts?  :shock:

Thanks for reading,
and doublethanks for helping...
Bullett

*edit

Hey i went on trying it, with this code:

Code: [Select]

<?php

define
&#40;'IN_PHPBB', true&#41;;
$phpbb_root_path './';
include&
#40;$phpbb_root_path . 'extension.inc'&#41;;
include&#40;$phpbb_root_path . 'common.'.$phpEx&#41;;

// Start session management
$userdata session_pagestart&#40;$user_ip, PAGE_INDEX&#41;;
init_userprefs&#40;$userdata&#41;;
//
// End session management
//
//
// Start output of page
//
$page_title "Disclaimer";
include&
#40;$phpbb_root_path . 'includes/page_header.'.$phpEx&#41;;
?>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th class="catHead" height="25">
<b>Disclaimer</b></th>
</tr>
<tr>
<td class="row1" align="center">

<?php
include&#40;'mygallerie/index.'.$phpEx&#41;;
?>


</td></tr></table>

<?php
include&#40;'includes/page_tail.'.$phpEx&#41;;
?>



now i can see the writings from Coppermine index.php, i have the right header and footer from my phpbb, but i canīt see any image only the redcrosses, and the template is the wrong one...
do i have to define a root, or anything else?

still searching for help!
Thx
Bullett
Logged
------------------------------------
food for thoughts!
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 18 queries.