Pagina 1 van 1

Inhoud site weergeven.

Geplaatst: 14 dec 2006, 14:20
door farid
Beste phpbb-ers,

Voor het maken van een nieuwe pagina op mijn site gebruik ik deze twee bestanden.

template.php

Code: Selecteer alles

<?php 

// standard hack prevent 
define('IN_PHPBB', true); 
$phpbb_root_path = './'; 
include($phpbb_root_path . 'extension.inc'); 
include($phpbb_root_path . 'common.'.$phpEx); 

// standard session management 
$userdata = session_pagestart($user_ip, PAGE_TEMPLATE); 
init_userprefs($userdata); 

// set page title 
$page_title = 'TEMPLATE'; 

// standard page header 
include($phpbb_root_path . 'includes/page_header.'.$phpEx); 

// assign template 
$template->set_filenames(array( 
        'body' => 'template.tpl') 
); 

$template->pparse('body'); 

// standard page footer 
include($phpbb_root_path . 'includes/page_tail.'.$phpEx); 

?>
template.tpl

Code: Selecteer alles

<HTML>
CONTENT GOES HERE
<HTML>

Ik kan de template.tpl dus vullen met code.

Nou zou ik graag deze site willen tonen op mijn site maar in mijn eigen template.

http://skichallenge.orf.at/schweiz/group/11977/

Is er iemand die mij kan vertellen hoe ik dat kan doen?

Alvast onwijs bedankt.

Groet,

Farid

Geplaatst: 14 dec 2006, 15:10
door farid
Zelf een oplossing gezocht, maar nog net niet helemaal.

Mijn template (de buitenste lijnen onder en rechts) klopt niet meer:

Ik zie bijvoorbeeld dit niet meer:
  • Ga naar Administratiepaneel


    Powered by phpBB 2.0.21 © 2001/3 phpBB Group :: FI Theme :: Tijden zijn in GMT + 1 uur
Zie hier:

http://www.bennis.nu/phpBB/sc.php

Mijn code ziet er nu zo uit: sc.tpl

Code: Selecteer alles

<HTML>
<center>
<iframe src="http://skichallenge.orf.at/schweiz/group/11977" width="490" height="600">
</center>
<HTML>
sc.php

Code: Selecteer alles

<?php 

// standard hack prevent 
define('IN_PHPBB', true); 
$phpbb_root_path = './'; 
include($phpbb_root_path . 'extension.inc'); 
include($phpbb_root_path . 'common.'.$phpEx); 

// standard session management 
$userdata = session_pagestart($user_ip, PAGE_TEMPLATE); 
init_userprefs($userdata); 

// set page title 
$page_title = 'Ski Challenge'; 

// standard page header 
include($phpbb_root_path . 'includes/page_header.'.$phpEx); 

// assign template 
$template->set_filenames(array( 
        'body' => 'sc.tpl') 
); 

$template->pparse('body'); 

// standard page footer 
include($phpbb_root_path . 'includes/page_tail.'.$phpEx); 

?>
Wie helpt mij uit de brand? Hoe herstel ik de template?