跳至主內容區

XOOPS輕鬆架

:::

主內容區域

選擇後會自動跳轉頁面

6. 在前台頁面顯示

  1. 前台最基本的結構為:
    <?php
    /*-----------引入檔案區--------------*/
    include_once "header.php";
    $xoopsOption['template_main'] = "tad_signup_index.tpl";
    include_once XOOPS_ROOT_PATH . "/header.php";
    
    /*-----------秀出結果區--------------*/
    include_once XOOPS_ROOT_PATH . '/footer.php';
    
  2. 接著請將 templates/demo_index.tpl 改名為 tad_signup_index.tpl

  3. 編輯 xoops_version.php 將裡面的樣板設定也修改為:

    $i++;
    $modversion['templates'][$i]['file']        = 'tad_signup_index.tpl';
    $modversion['templates'][$i]['description'] = 'tad_signup_index.tpl';
  4. 然後「更新」模組使設定生效。

選擇後會自動跳轉頁面

:::

左邊區域內容

書籍目錄

展開 | 闔起

快速登入


右邊區域內容

請掃此 QR Code 可連至此頁面

計數器

今天: 2575257525752575
昨天: 2805280528052805
總計: 9540478954047895404789540478954047895404789540478

頁尾區域