techsir 登陆 |注册|TS首页
  首页 快活林 猿氏悟语

vivvo cms developer documents

By: 冰客 发表于 2008-9-10 19:26:36 · 8570次点击   回复:1   
Templates folder explanation

Templates folder
Templates are fragments of xHTML code interspersed with VTE language variables. Combined together they form complete xHTML pages that are served up to visitors.
Your default templates are stored in xhtml folder.
Templates folder can also contain custom template set you made.
For example if you are developing set of templates for your site, you can create new folder (i.e. my_site) and copy entire content of xhtml folder inside.
You can choose your template set from administration >> preferences >> General options >> Template folder option.


xhtml:
archive - contains main templates for archive view
article - contains main templates for article view
author - contains main templates for author view
box - contains reusable box templates
category - contains main templates for category view
frame - contains reusable frame templates
homepage - contains main templates for home page view
plugin - contains plug-in related templates
search_results - contains main templates for search results view
summary - contains reusable short article templates
system - contains system templates
box_default - default Vivvo modules templates
tag - contains main templates for tag view
8570次点击
1个回复  |  直到 2008-9-10 19:26:36
   
  Reply   
冰客      2008-9-10 19:26:36
Box and system templates

./xhtml/box:
Template name Description Scope
Archive
archive_calendar.tpl Archive calendar template System vide
archive_search.tpl Archive search form System vide
Article page
article_breadcrumb.tpl Article breadcrumbs Article page only
article_social_bookmarks.tpl Social bookmarks template (del.icio.us, Digg...) Article page only
article_tags.tpl  Template for tags of particular article Article page only
article_tools.tpl Article tools for e-mail to a friend, print, plain text. Article page only
email_to_a_friend.tpl Email to a friend form template Article page only
article_vote.tpl Template with AJAX star rating bar Article page only
font_size.tpl Font size of articles (increase / decrease) Article page only
related_news.tpl Template for related articles box Article page only
comments_add.tpl Form for posting comments Article page only
comments.tpl List of article approved comments Article page only
Author page
author_info.tpl Template for author info box Author page, article page
author_publishing.tpl List of published articles from current author by months Author page, article page
Category page
category_breadcrumb.tpl Category breadcrumbs  Category page only
subcategory_headlines.tpl List of current subcategories and their articles  Category page only
Reusable components
header.tpl Template for header System wide
footer.tpl Template for footer System wide
dump.tpl Dump messages template System wide
dhtml_menu.tpl DHTML drop down category/subcategory navigation template System wide
sections.tpl Category/subcategory navigation template  System wide
pages.tpl Static pages navigation template  System wide
comment_tabs.tpl Tabbed box for most commented and latest comments System wide
most_commented.tpl Template for most commented articles box System wide
latest_comments.tpl Template for latest comments box System wide
most_popular_email.tpl Tabbed box for most popular and most emailed articles System wide
most_popular.tpl Template for most popular articles box System wide
most_emailed.tpl Template for most emailed articles box System wide
rotating_headlines.tpl Headlines box template System wide
latest_news.tpl Template for latest news box System wide
more_news.tpl Category based more news template System wide
ticker.tpl Fading news ticker System wide
featured_author.tpl Featured author box (random appearance) System wide
tag_cloud.tpl Template for most popular tags System wide
search.tpl Site search form System wide
login.tpl Login form template System wide

./xhtml/system:
Template name Description Scope
404.tpl    Page not found error On demand
advanced_search.tpl    Advanced search form System vide
authors_page.tpl    List of all authors template System vide
change_password.tpl    Change password template On demand
close_site.tpl   Template for close site message On demand
html_header.tpl html header for all pages System vide
register.tpl  Registration form System vide
restricted.tpl   Private article notice On demand
tags_page.tpl    List of all tags System vide

./xhtml/system/box_default:
Template name Description Scope
box_article_list.tpl Default article list template N/A
box_calendar.tpl Default archive calendar template N/A
box_comments.tpl Default comments template N/A
box_feed.tpl Default feed template N/A
box_files.tpl Default box files template N/A
box_pages.tpl Default template for static page navigation N/A
box_pagination.tpl Default pagination template N/A
box_sections.tpl Default sections template N/A
box_tags.tpl Default tagcloud box template N/A
box_user_filters.tpl Default user filters template N/A
box_users.tpl Default box users template N/A

Box and system templates

添加一条新回复
您需要登录后才可以回帖 登录 | 成为会员 新浪微博登陆

标签云|手机版|科技先生 ( 京ICP备07036130号 Powered by Discuz! X )

GMT+8, 2024-12-22 21:59