Aspcms Common Tags

Source: Internet
Author: User

2.5 Added {aspcms:slidelist}, call the slide picture list in the website, press the picture name [Slidelist:title], the picture link [Slidelist:link], the picture path [Slidelist:pic], the picture number [ SLIDELIST:I]
2.5 added home page using {Aspcms:topsortid} tag
{aspcms:sortcontent} is added to the 2.3.8, the list page can be called to the label, the description of the column is called
The {Aspcms:indeximage} tag is added to the 2.3.8, which can call the column image and can be called at the list page etc.
The [Navlist:enname] ([*navlist:enname]) label is added to the 2.3.8, which can call the English name of the column
The [Type:enname] tag is added to the 2.3.8, which can call the English name of the column
2.2.9 Unified the home video and the inside page video path call tag, the label Unified [*:videourl], that is, the first page for [Content:videourl], the list page for [List:videourl], the content page is specific needs can be divided into [news: Videourl] or [Content:videourl]
2.2.8 increased user access to permissions, {aspcms:userright},0 for Super Admin, 1 for registered users, 2 for Hobo
[List:content] Error reading label 2.2.8 fixed
2.2.7 added [About:pic], [cimages:i], [*:videourl] video path, that is, the first page is [Content:videourl], the list page is [List:videourl], the content page according to the specific needs can be divided into [news: Videourl] or [Content:videourl]
The settings for Downurl tags are changed in 2.2.7 without <a href= "[Content:downurl]" > Click Download </a> change to [content:downurl], i.e. no link required
2.2.4 New {Aspcms:form}, {navlist:pic}

Related explanations:
1, the first page refers to the index.html file. A list page generally refers to a file such as newslist.html,productlist.html, which corresponds to a list template when a background column is added or modified. The inside page generally refers to news.html,product.html and other files, which correspond to the content page template when the background column is added or modified.
2, [*:videourl]:[*:videourl], the first page is [Content:videourl], the list page is [List:videourl], the content page is specific needs can be divided into [news:videourl] or [content: Videourl]
Please refer to the following instructions for more information, please visit http://www.aspcms.com

New:
Slide labels
{Aspcms:slidelist id=*}
<li><a href= "[Slidelist:link]" ></li>
{/aspcms:slidelist}


id=* (* for 1,2,3,4 4 slides corresponding to the background, not filled in, default to the first slide)

First, the website Universal label

{Aspcms:sitepath} Web site Ultimate Directory (can be placed in level two directory, other languages in the level three directory)

{Aspcms:languagepath} language directory

{Aspcms:siteurl} website address

{Aspcms:sitelogo} Logo address

{Aspcms:sitetitle} site title

{Aspcms:additiontitle} site append title

{aspcms:sitekeywords} website keywords

{ASPCMS:SITEDESC} site description

{aspcms:defaulttemplate} Default template

{Aspcms:companyname} company name

{aspcms:companyaddress} company address

{Aspcms:companypostcode} ZIP code

{Aspcms:companycontact} contacts

{Aspcms:companyphone} phone number

{Aspcms:companymobile} mobile number

{Aspcms:companyfax} company fax

{Aspcms:companyemail} e-mail

{ASPCMS:COMPANYICP} record number

{Aspcms:statisticalcode} Statistics code

{aspcms:copyright} website copyright

{Aspcms:languagepath} language directory (set in background multi-language settings)

{label:****} Custom Label
{Aspcms:userright}


{Aspcms:slide}
{Aspcms:slidea}
The above two calls are for the same
{Aspcms:slideb}
{Aspcms:slidec}
{aspcms:slided}
{Aspcms:onlineservice} online customer service
{ASPCMS:KF} other customer service systems
{Aspcms:floatad} floating Ads
{Aspcms:coupletad} couplet ads
{Aspcms:windowad} pop-up ads


Second, the common content call sign


============================== All pages can call ============================
First page Content list call label (no paging)
{aspcms: Content sort=2 num=4 order=order star=1}
[Content:id] Number
[Content:title] title
[Content:content] Contents
:d Ownurl]
[content:link] link
[content:i] Count
[Content:titlecolor] title color
[content:sortname] category name
[ Content:sortlink] Category link
[content:date] Date
[content:visits] views
[Content:author] author
[Content:source] Source
[Content:tag]tag label
[Content:istop] pinned
[content:isrecommend] Recommended
[content:isimage] Picture News
[content: Isfeatured] Special recommended
[Content:isheadline] Headlines
[Content:desc] Description
[content:pic] Picture
[Content:indexvideo] Home Video
[Content:videourl] in-page video
{/aspcms:content}
Sort category ID
num Display quantity
Order collation
Srar Star (1,2,3,4,5)

Infinite level Menu ************************************************
{Aspcms:navlist}
<li><a href= "[Navlist:link]" >[navlist:name] | [navlist:enname]</a></li>
{aspcms:1navlist Type=[navlist:sortid]}
<a href= "[1navlist:link]" >[1navlist:name] | [1navlist:enname]</a>
{aspcms:2navlist Type=[1navlist:sortid]}
<a href= "[2navlist:link]" >[2navlist:name] | [1navlist:enname]</a>
{aspcms:3navlist Type=[2navlist:sortid]}
<a href= "[3navlist:link]" >[3navlist:name] | [3navlist:enname]</a>
{/aspcms:3navlist}
{/aspcms:2navlist}
{/aspcms:1navlist}
{/aspcms:navlist}


[Navlist:pic] Call column image
*********************************************************************************

Category name and link invocation
{Aspcms:type sort=8}
<a title= "[Type:name]" href= "[Type:link]" >[type:name]</A>
{/aspcms:type}

Home single page content call
{aspcms:about sort=8 len=150}
[About:info len=80]
[About:title]
[About:link]
[About:pic]
{/aspcms:about}

{aspcms:template src=left.html} secondary template

============================== single page callable ============================
Default Template about.html
Single page Call label
[About:title] headings are set when you add a category
[About:keyword] keywords are set when adding a category
[About:desc] describes setting when adding a category
[About:info] Detailed content is set when adding a category
[About:pic] Picture is set when adding a category

{Aspcms:sortname} category name
{Aspcms:parentsortid} parent category ID
{Aspcms:sortid} Category ID
{Aspcms:topsortid} top-level category ID
Description of the {aspcms:sortcontent} column
{aspcms:indeximage} column pictures
Current position
Home {aspcms:position} >>[position:link]{/aspcms:position}
Home >> Press releases >> company news

Content pagination is inserted into content when editing content
{Aspcms:page}

============================== List page can call ============================
List page Call label
{Aspcms:sorttitle} title is set when adding a category
{Aspcms:sortkeyword} keywords are set when you add a category
{Aspcms:sortdesc} describes setting when adding a taxonomy
{aspcms:list size=10 Order=id}
[List:id] Number
[List:link] Links
[List:i] Count
[List:content] Content
[List:downurl]
[List:titlecolor] Title color
[List:sortname] Category name
[List:sortlink] Category links
[List:date] Date
[List:visits] Views
[List:author] Author
[List:source] Source
[List:tag]tag Label
[List:istop] pinned
[List:isrecommend] Recommended
[List:isimage] Photo News
[List:isfeatured] Special recommendation
[List:isheadline] Headlines
[List:pic] 's photos
{/aspcms:list}

[List:pagenumber len=5] Paging bar call label

Current position
Home {aspcms:position} >>[position:link]{/aspcms:position}
Home >> Press releases >> company news

============================== verbose call to ============================
The original [content:] tag was changed to [news:] Because of a conflict between the Detail Page content label and the {aspcms:content} tag.

Detail Page Call label
[News::title] Title
[News:keyword] keywords can be set when adding content
[News:desc] describes the ability to set when adding content
[News:link] Links
[News:info] Content
[News:i] Count
[News:titlecolor] Title color
[News:sortname] Category name
[News:sortlink] Category links
[News:date] Date
[News:visits] Views
[News:author] Author
[News:source] Source
[News:downurl]
[News:istop] pinned
[News:isrecommend] Recommended
[News:isimage] Photo News
[News:isfeatured] Special recommendation
[News:isheadline] Headlines
[News:pic] 's photos
[News:videourl] Video
[News:pics] Multi-image
[News:tag]tag Label
[News:linktag] tagged tag with link
{Aspcms:comment} comment tags


Full Site Comment Tags
{Aspcms:comment}
[Comment:i] Comment count
[Comment:name] Comments on people
[Comment:link] Comment article address
[COMMENT:IP] commented people IP
[Comment:info len=5] Comment content
[Comment:date style=yy-m-d] Comment time
{/aspcms:comment}


Content pagination is inserted into content when editing content
{Aspcms:page}

{Aspcms:prev} on an article
{Aspcms:next} next article
{Aspcms:nexttitle} title of next article
{Aspcms:prevtitle} title of previous article
{Aspcms:nextlink} link to next article
{Aspcms:prevlink} link to previous article

Current position
Home {aspcms:position} >>[position:link]{/aspcms:position}
Home >> Press releases >> company news

Comment function call {aspcms:comment}


Processing of multiple pictures
{aspcms:cimages count=5 contentid=1}
[CIMAGES:SRC]
[CIMAGES:I]
{/aspcms:cimages}
Count output quantity, less than 1 or not as a number for 0 processing, not output
ContentID The content ID of the output, usually called in the content page, just fill in the contentid=[content:id], the wrong input is assigned to-1
[CIMAGES:SRC] will be replaced with data loop output such as/upload/product/month_1107/201107011448421775.png

Home call Message
{Aspcms:form} calls custom form items

{Aspcms:gbook num=4 Order=order}
[Gbook:i] Count
[Gbook:status] Message status
[Gbook:title] Title
[Gbook:name] Name
[Gbook:winfo] Message content
[Gbook:wdate] Message time
[Gbook:rinfo] Reply
[Gbook:rdate] Reply time
{/aspcms:gbook}

Third, if label use
1, meet the conditions of the display
{if: Conditional statement}
Show content
{End If}

2, satisfies the condition to display the content 1, otherwise displays the content 2
{if: Conditional statement}
displaying content 1
{Else}
displaying content 2
{End If}

Instance:
1. Add different styles to meet the criteria
{Aspcms:content}
<a {if:[content:i]=1} style= "..." {End If} link= "[Content:link]" >[content:title]</a>
{/aspcms:content}

Iv. Statistical labels
Today {Visits:today}
Yesterday {Visits:yesterday}
This month {Visits:month}
All {Visits:all}

Five, friendship links
Call text link
{aspcms:linklist Type=font Group=1}
<li><a href= "[Linklist:link]" target= "_blank" >[linklist:name]</a></LI>
{/aspcms:linklist}

Call Picture Link
{aspcms:linklist Type=pic Group=1}
<li><a href= "[Linklist:link]" target= "_blank" ></a></li>
{/aspcms:linklist}

Type=all or remove the Type property call all Links

Six, tag tag content invocation (as with content invocation, only need to add a tag property)
Tag related content call
{aspcms:content sort=2 num=4 order=order tag=aspcms,asp,php Star =1}
[Content:title] title
[content:link] link
[content:i] Count
[Content:titlecolor] title color
[content:sortname ] Category name
[content:sortlink] category link
[content:date] Date
[content:visits] views
[Content:author] Author
[content: SOURCE] Origin
[Content:tag]tag label
[Content:istop] pinned
[content:isrecommend] Recommended
[content:isimage] Picture News
[ Content:isfeatured] Special recommended
[Content:isheadline] Headlines
[Content:desc] Description
[content:pic] picture
{/aspcms:content}

Label related Content List page call
{aspcms:list size=10 Order=id}
[List:link] Links
[List:i] Count
[List:titlecolor] Title color
[List:sortname] Category name
[List:sortlink] Category links
[List:date] Date
[List:visits] Views
[List:author] Author
[List:source] Source
[List:tag]tag Label
[List:istop] pinned
[List:isrecommend] Recommended
[List:isimage] Photo News
[List:isfeatured] Special recommendation
[List:isheadline] Headlines
[List:pic] 's photos
{/aspcms:list}

[List:pagenumber len=5] Paging bar call label

Tag List invocation
{aspcms:taglist size=50 order=visits}
[Taglist:link] [Taglist:title]
{/aspcms:taglist}

[Taglist:pagenumber len=5] Paging bar call label
Order Optional Value Visits,time,id

VII. member-related pages

Member Related Information page
[User:userid] User ID number
[User:username] User name
[User:userstatus] Account status
[User:regtime] Registration time
[User:lastloginip] Last login IP
[User:lastlogintime] Last login time
[User:logincount] Login Count
[User:gender] Sex
[User:truename] real name
[User:birthday] Birthday
[User:country] Country
[User:province] Provinces
[User:city] City
[User:address] Address
[User:postcode] Zip code
[User:phone] Telephone
[User:mobile] Mobile phone
[User:email] e-mail
[USER:QQ] QQ number
[User:msn] MSN account

Member Order List
{Aspcms:userbuylist size=10}
[Userbuylist:i] Count
[Userbuylist:orderno] Order number
[Userbuylist:orderlink] Order Detail Link
[Userbuylist:ordertime] Order time
[Userbuylist:state] whether to pay
[Userbuylist:payment] Payment method
{/aspcms:userbuylist}

Eight, order related pages
Order Completion page
Order number: {aspcms:order.no}
Order Date: {aspcms:order.date}
User name: {aspcms:order.username}
Order status: {aspcms:order.state}
Total Order Amount: {aspcms:order.total}
Total number of items: {Aspcms:order.count}
Customer Name: {Aspcms:order.nicename}
Tel: {Aspcms:order.tel}
Mobile number: {Aspcms:order.cellphone}
Zip code: {Aspcms:order.zipcode}
Contact address: {aspcms:order.address}
E-mail: {aspcms:order.email}
Simple message: {aspcms:order.note}
Payment method: {aspcms:order.payment}
Product list: {aspcms:selectproduct}

Order Filling page
Product list: {aspcms:selectproduct}
Order number: {Aspcms:order.orderno}
User name: {aspcms:order.username}


Ix. description
1.0 and 2.0 label differences
Change the original new,down,product,pic tag to a content label
Change the original Newlist,downlist,productlist,piclist label to a list label

Type column types
1 single article
2 Articles List
3 Product List
4 Download List
5 Job Listings
6 albums List
7 Links
8 Video List

Many users reflect that the content Detail page cannot use the contents tag invocation list, and if the content page calls the contents tag,
Change the call detail label to news

Video management function background operation: Video management in the source to fill in the video address, if it is a network video, paste the full address directly, (http://player.youku.com/player.php/sid/XMzYyNTY0NzQw/ V.SWF), if it is a local video, the address filling method is consistent with the label invocation, for example, under the template (template directory) folder under the Images folder, use {aspcms:sitepath}/templates/{aspcms: Defaulttemplate}/images/start. Avi. If it is under the root directory, under the Images folder under the top-level directory, fill in: /images/start. Avi
Added about our image call function: [About:pic] Tab

Aspcms Common Tags

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.