會員登入
帳號:

密碼:

記住我



忘記密碼?

現在註冊!
主選單
文章管理 :: Article

FAQs on Article


Module clone guide
作者簡介: carnuke
carnuke is the Xoops Documentation Team Lead and a member for the Article Module Group.
The "Article" module framework makes it pretty simple for cloning a module.

To make a clone

Step #1: change all template file names under /templates/ and /templates/blocks/ starting with "article" (new module dirname). For example, change article_index.html to newarticle_index.html

Step #2: edit file "include/vars.php", set the value for $GLOBALS["ART_DB_PREFIX"], for say, "artdb"

Step #3: edit all mysql files under /sql/, change prefix value of all tables to the specified value "artdb". For example, change "CREATE TABLE `art_article`" to "CREATE TABLE `artdb_article`"

Step #4: install the cloned module as regular
副標題
  1. Basic FAQ
  2. On Article Template System
  3. Module clone guide
頁面:
« 1 2 (3)
<< Article Quickstart Guide

跟蹤網址
  • 文章地址: http://www.p1.com.tw/modules/article/view.article.php/c3/4
  • 跟蹤地址: http://www.p1.com.tw/modules/article/trackback.php/4
贊助
API: RSS | RDF | ATOM
Copyright© carnuke & 普林特印刷公司
網友個人意見,不代表本站立場,對於發言內容,由發表者自負責任。

Powered by XOOPS © 2001-2015 The XOOPS Project