Article :: XOOPS

FAQs on Article


Module clone guide
Author profile: Carnuke
Carnuke is the XOOPS Documentation Team Leader, from UK.
The "Article" module framework makes it pretty simple for cloning a module.

To make a clone

Step #1: file "include/vars.php", set the value for $GLOBALS["ART_VAR_PREFIX"], for say, "myart"

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

Step #3: change all file names under /templates/ and /templates/blocks/ starting with "art" to the specified value "myart". For example, change art_index.html to myart_index.html, change art.css to myart.css

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

Step #5: 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

Trackback
  • URL: http://xoopsforge.com/modules/article/view.article.php/c1/23
  • Trackback: http://xoopsforge.com/modules/article/trackback.php/23
Sponsors
API: Toolkit Email PDF Bookmark Print WordPress | RSS | RDF | ATOM
Copyright© Carnuke & XOOPS FORGE
The comments are owned by the poster. We aren't responsible for their content.
Poster Thread
todd
Posted: 2006/3/1 22:44  Updated: 2006/3/1 22:44
Just popping in
Joined: 2005/12/18
From:
Posts: 20
 _CM_RE: FAQs on Article
Thanks for this excellent FAQ on Article. It describes a lot of the features I didn't ever know about. This is a very sophisticated, full featured module.
irmtfan
Posted: 2006/4/3 5:39  Updated: 2006/4/3 5:39
Not too shy to talk
Joined: 2006/1/24
From:
Posts: 38
 _CM_RE: FAQs on Article
very interesting thanks for the great document<br /> <img src="http://xoopsforge.com/uploads/smil3dbd4e4c2e742.gif" alt="" />
shperk
Posted: 2007/3/27 0:12  Updated: 2007/3/27 0:12
Just popping in
Joined: 2007/3/26
From:
Posts: 6
 Re: FAQs on Article
Thank you ror your FAQ/
But under your instructions I can't clone this module...
shrimpy
Posted: 2008/1/7 4:23  Updated: 2008/1/7 4:23
Just popping in
Joined: 2008/1/7
From:
Posts: 1
 Re: FAQs on Article
after i install Article, there are so many su-menu of the article, can i make those menu do not dispaly but only submit?