1 頁 (共 1 頁)

[問題] 我想新建個自定義頁面,該怎麼製作!

發表於 : 2005-02-13 14:05
lilybox
最近想做一個自定義頁面\r
就保留head和food
中間部分html自定義編輯\r

我嘗試了很多方法,都不行,好像要對應tpl文件。

各位大大幫幫忙,謝謝

發表於 : 2005-02-13 14:18
神川小羽
簡單一點的方式

代碼: 選擇全部

<?php 
define('IN_PHPBB', true); 

$phpbb_root_path = './'; // <-- 
include($phpbb_root_path . 'extension.inc'); 
include($phpbb_root_path . 'common.'.$phpEx); 

$userdata = session_pagestart($user_ip, PAGE_INDEX); 
init_userprefs($userdata); 

include($phpbb_root_path . 'includes/page_header.'.$phpEx); 
?> 

[color=red][b]HTML 放這裡[/b][/color]

<? 
include($phpbb_root_path . 'includes/page_tail.'.$phpEx); 
?>
如果你要複雜一點的方式,要用到樣版的方式的話,再提出來吧我在弄個範本給你看

發表於 : 2005-02-13 14:22
lilybox
謝謝,太感動了!

發表於 : 2005-02-13 14:31
[ffs]hunej
這有mod可以用的

發表於 : 2005-02-14 02:54
lilybox
[ffs]hunej 寫:這有mod可以用的
新年好,能告诉我什么外挂么?

發表於 : 2005-02-14 03:19
aiken
我看過的是這個
blank_template_mod_1.0.2.zip