Article :: XOOPS

FAQs on Article


On Article Template System
Author profile: Carnuke
Carnuke is the XOOPS Documentation Team Leader, from UK.
The "Article" module provides option for admins to add extra templates so that end users can choose his desired template for his article, mean while module can choose template for the global module and category moderators choose category template.

How to make your extra templates?
1 Compose a new template for a page, for say, index.php, whose template file name is "art_index.html" by default, and name your file as "art_index_myarticle.html".
2 Upload this file to modules/article/templates/
3 Update the module "article"
4 You will find template options in admin->module preferences->article->General setting->template: "default", "myarticle"
Optional:
5 You could add extra CSS for your template "myindex": create CSS file art_myarticle.css and upload to modules/article/templates
6 You could also create extra templates for article pages or category pages: art_article_myarticle.html, art_category_myarticle.html. They will present on article edit and category edit pages respectively.

Summary:
template file name rule: art_(pagename)[_customtemplatename].html
CSS file name rule: art[_customtemplatename].css
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?