Providing resources for people with a passion for Christ and the web
Welcome!
Articles :: XOOPS and ImpressCMS :: Modules and Extensions

Article FAQs


On Article Template System
Author profile: SKenow
SKenow (Steve K) contributes regularly at XOOPS.org and ImpressCMS, in addition to maintaining several XOOPS-based web sites
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 "article_index.html" by default, and name your file as "article_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: (moduleDirname)_(pageName)[_customTemplatename].html
CSS file name rule: style[_customTemplatename].css
Subtitles
  1. Basic FAQ
  2. On Article Template System
  3. Module clone guide
Pages:
<< Article Quickstart Guide Pray With Me: Adding Prayer Requests to Your Site >>

Trackback
  • URL: https://www.christianwebresources.net/modules/article/view.article.php?c4/4
  • Trackback: https://www.christianwebresources.net/modules/article/trackback.php?4
API: Toolkit PM Email PDF Bookmark Print | RSS | RDF | ATOM
Copyright © SKenow & Christian Web Resources
The comments are owned by the poster. We aren't responsible for their content.

Bookmark and Share!

Join Us On Facebook

Find Us on the Socials

Facebook Christian Web Resources LinkedIn page YouTube