晚9点 :: Article

FAQs on Article


Module clone guide
Author profile: 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
Subtitles
  1. Basic FAQ
  2. On Article Template System
  3. Module clone guide
Pages:
« 1 2 3
<< Article Quickstart Guide 如何阅读一本书 >>

Copyright© carnuke & xos
The comments are owned by the author. We aren't responsible for their content.
Author Thread
friend links
Themes

(2 themes)
Login
Username:

Password:


Lost Password?
Register now!
Categories
Xoops (11)
--Modules (2)
--Themes (0)
Article (8)