PRINCIPAL   NOVEDADES   ENLACES   FORO   DESCARGAS   CONTACTO
 
  
 
   Registrarse    Acceso
Acceso
Nombre:

Contraseña:

Recordar



¿Recuperar la contraseña?

Regístrese
Menú


Artículos :: Xoops

FAQs on Article


On Article Template System
Datos del Autor: carnuke
carnuke is the Xoops Documentation Team Lead and a member for the Article Module Group.
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
Subtítulos
  1. Basic FAQ
  2. On Article Template System
  3. Module clone guide
páginas: « 1 (2) 3 »
<<- Article Quickstart Guide

Trackback

  • Enlaces útiles (dobleclic selecciona para copiar):
    - URL: : http://www.retialis.net/modules/article/view.article.php/c2/4
  • - Trackback: : http://www.retialis.net/modules/article/trackback.php/4
Patrocinadores
API: PM Email PDF Bookmark Print | RSS | RDF | ATOM
Copyright© carnuke & Retialis
Los usuarios son responsables de sus propios comentarios.



 

Copyright © 2009 by Retialis  |  Powered by XOOPS © 2001-2009 The XOOPS Project  |  Design by retialis.net