
ASPCMS建站呼叫

掃描二維碼訪問該頁面
掃描二維碼訪問該頁面
ASPCMS模版標準
about.html--------------------------------------------------- 單頁模版
album.html--------------------------------------------------- 相簿詳細模版
albumlist.html----------------------------------------------- 相簿列表模版
apply.html--------------------------------------------------- 職位申請模版
custom.html--------------------------------------------------
down.html---------------------------------------------------- 下載模版
downlist.html------------------------------------------------ 下載列表模版
editpass.html------------------------------------------------ 資料修改模版
foot.html---------------------------------------------------- 底部模版
gbook.html--------------------------------------------------- 線上留言模版
Top.html----------------------------------------------------- 頂部模版
head.html--------------------------------------------------- (頭部模版)
Index.html--------------------------------------------------- 首頁模版
job.html------------------------------------------------------ 招聘詳細模版
joblist.html-------------------------------------------------- 招聘列表模版
left.html----------------------------------------------------- 輔助模版
left_about.html----------------------------------------------- 單頁左側模板
other_left.html----------------------------------------------- 其他單頁左側模板
login.html---------------------------------------------------- 登入模版
news.html----------------------------------------------------- 新聞詳細模版
newslist.html------------------------------------------------- 新聞列表模版
pro_left.html-------------------------------------------------
product.html-------------------------------------------------- 產品詳細模版
productbuy.html----------------------------------------------- 產品購買模版
Productcart.html----------------------------------------------
Productcheckout.html------------------------------------------
Productcomfirm.html-------------------------------------------
productlist.html---------------------------------------------- 產品列表模版
Productprint.html---------------------------------------------
reg.html------------------------------------------------------ 註冊模版
rssmap.html--------------------------------------------------- RSS 地圖模版
search.html--------------------------------------------------- 搜尋模版
sitemap.html-------------------------------------------------- 網站地圖模版
taglist.html-------------------------------------------------- tag 列表模版
tags.html----------------------------------------------------- 熱門 tag 列表模版
Video.html---------------------------------------------------- 影片詳細模板
Videolist.html------------------------------------------------ 影片列表模板
我的後臺樣式
複製login.asp登入頁面(已做好樣式在此頁內)
複製login2.jpg圖片到images₪▩✘、複製admin_tlogo.jpg到images▩·▩╃☁。
修改right.asp內容(刪除當前版本與開放團隊)
資料庫修改
Config\AspCms_Config.asp
Const accessFilePath="data/#ASPcms2017WL.asp" 'access資料庫檔案路徑
模板製作
Html₪▩✘、css₪▩✘、js₪▩✘、images資料夾建設
index.jpg ✘·•▩,template.xml 修改
首頁標籤
<title>{aspcms:sitetitle}{aspcms:additiontitle}</title>
<meta name="keywords" content="{aspcms:sitekeywords}" />
<meta name="description" content="{aspcms:sitedesc}" />
預設模板路徑
{aspcms:sitepath}/Templates/{aspcms:defaulttemplate}/
頭部標誌
Logo src="{aspcms:sitelogo}" alt="{aspcms:sitetitle}" title="{aspcms:sitetitle}"
首頁連結 href='/'
導航
主欄目 {aspcms:navlist}[navlist:name]{/aspcms:navlist}
子欄目 {if:[navlist:subcount]>0}
{aspcms:1navlist type=[navlist:sortid]}[1navlist:name]{/aspcms:1navlist}
{end if}
幻燈
{aspcms:slidelist id=1} src="[slidelist:pic]" {/aspcms:slidelist}
呼叫指定分類名稱等資訊
{aspcms:type sort=19}[type:name]{/aspcms:type}
指定內容列表
{aspcms:content sort=1 num=9 order=order}[content:title len=14]{/aspcms:content}
單頁頭部
<title>[about:title]-{aspcms:sitetitle}</title>
<meta name="description" content="[about:desc]" />
<meta name="keywords" content="[about:keyword]" />
單頁欄目圖片
[about:IndexImage]
麵包屑導航
當前位置│•:<a href="/" title="首頁">首頁</a> {aspcms:position} >>[position:link]{/aspcms:position}
列表頁頭部
<title>{aspcms:sorttitle}-{aspcms:sitetitle}</title>
<meta name="Keywords" content="{aspcms:sortkeyword}" />
<meta name="Description" content="{aspcms:sortdesc}" />
呼叫ID為1的子欄目列表
{aspcms:navlist type=1}[navlist:name]{/aspcms:navlist}
導航當前欄目樣式
{if:[navlist:sortid]=[navlist:cursortid]}class="currentNav"{end if}
頂部導航點選選中或者當面欄目的選單高亮樣式
<li>
<a {if:[navlist:sortid]=[navlist:cursortid]}class="visitied"{end if} href='[navlist:link]' title='[navlist:name]'>[navlist:name]</a>
</li>
{/aspcms:navlist}
列表頁面
{aspcms:list size=1 order=order}[list:title]{/aspcms:list} (size是條數)
日期 [list:date style=yy-m-d]
分頁 [list:pagenumber len=5]
內容頁頭部
<title>[news:title]-{aspcms:sortname}-{aspcms:sitetitle}</title>
<meta name="Keywords" content="[news:keyword]" />
<meta name="Description" content="[news:desc]" />
自定義欄位
[news:p_aaaa]
Left頁面
一級分類名稱 {aspcms:type sort={aspcms:topsortid}}[type:name]{/aspcms:type}
二級分類名稱 {aspcms:navlist type={aspcms:topsortid}} [navlist:name] {/aspcms:navlist}
自定義全域性標籤縮減預設模板
inc/AspCms_MainClass.asp
查詢 Public Function parseGlobal()
新增
dim Templates
content=replaceStr(content,"{aspcms:Templates}",sitePath&"/Templates/"&setting.defaultTemplate)
模版呼叫 {aspcms:Templates}
評論列表