Reprint: ytcms advanced tutorial Niu X's ytcms
<!-- {foreach Category Categorys}--> <!-- {if isObject(Category)}--> <!-- {if Category.ID<>0}--> <li><a href="{$Category.Url}">{$Category.Name}</a></li> <!-- {/if}--> <!-- {/if}--> <!-- {/next}-->
<!-- {eval ID = 5}--> <!-- {foreach Category Categorys}--> <!-- {if isObject(Category)}--> <!-- {if Category.ParentID = ID}--> <li><a href="{$Category.Url}">{$Category.Name}</a></li> <!-- {/if}--> <!-- {/if}--> <!-- {/next}-->
<!-- {eval isSingle = isNumeric("<#article/id#>")}--> <!-- {eval isCatalog = isNumeric("<#articlelist/category/id#>")}--> <!-- {if isSingle}--> <!-- {YT:Article DataSource="GetArticleModel('<#article/id#>')" Name="a"}--> <!-- {eval meta_keywords = a.Meta.GetValue("keywords")}--> <!-- {eval meta_description = a.Meta.GetValue("description")}--> <!-- {if len(meta_keywords) = 0}--> <!-- {eval meta_keywords = a.TagToName}--> <!-- {/if}--> <!-- {if len(meta_description) = 0}--> <!-- {eval meta_description = left(TransferHTML(a.Content,"[nohtml][html-format]"),75)}--> <!-- {/if}--> <!-- {/YT:Article}--> <!-- {elseif isCatalog}--> <!-- {if isObject(Categorys("<#articlelist/category/id#>"))}--> <!-- {eval meta_keywords = Categorys("<#articlelist/category/id#>").Meta.GetValue("keywords")}--> <!-- {eval meta_description = Categorys("<#articlelist/category/id#>").Meta.GetValue("description")}--> <!-- {if len(meta_keywords) = 0}--> <!-- {eval meta_keywords = Categorys("<#articlelist/category/id#>").Name}--> <!-- {/if}--> <!-- {if len(meta_description) = 0}--> <!-- {eval meta_description = Categorys("<#articlelist/category/id#>").Name}--> <!-- {/if}--> <!-- {/if}--> <!-- {else}-- > <!-- {eval meta_keywords = LoadFromFile(BlogPath&"zb_users/include/keywords.asp","utf-8")}--> <!-- {eval meta_keywords = TransferHTML(meta_keywords,"[nohtml][html-format]")}--> <!-- {eval meta_keywords = replace(replace(meta_keywords,chr(10),""),chr(13),"")}--> <!-- {eval meta_description = LoadFromFile(BlogPath&"zb_users/include/description.asp","utf-8")}--> <!-- {eval meta_description = TransferHTML(meta_description,"[nohtml][html-format]")}--> <!-- {eval meta_description = replace(replace(meta_description,chr(10),""),chr(13),"")}--> <!-- {/if}--> <meta name="description" content="{$meta_description}" /> <meta name="keywords" content="{$meta_keywords}" />
<? xml version="1.0" encoding="gb2312"?> <player showDisplay="yes" showPlaylist="no" autoStart="no"> <!-- {YT:Article DataSource="GetArticleCategorys(5,'12')"}--> <song path="{$BlogHost&url}" title="{$Article.Title}"/> <!-- {/YT:Article}--> </player> <% htm = replace(htm,"{::vbcrlf}",vbcrlf) htm = replace(htm,"{::vblf}",vblf) htm = replace(htm,"{::vbcr}",vbcr) htm = TransferHTML(htm,"[html-japan]") Call SaveToFile(BlogPath&"mp3.xml",htm,"gb2312",False) %>
<!-- {foreach Category Categorys}--> <!-- {if Category.ID<>0}--> {YT:Article DataSource="GetArticleCategorys(5,Category.ID)"} [<a href="{$Category.Url}">{$Category.Name}</a>]<a href="{$Article.Url}">{$Article.Title}</a> {/YT:Article} <!-- {/if}--> <!-- {/next}-->
Can't find a tutorial that can solve your problem?
-
Charging zblogphp template The 9th zblog enterprise theme of Tianxing Studio has its own form to submit email reminders, etc zero 2019-12-11 eleven thousand seven hundred and seventy Price: four hundred and sixty-eight Online purchase -
Charging zblogphp template Tianxing Studio ppt download template is suitable for sites with resources to sell vips one 2019-10-03 nine thousand nine hundred and seventy-two Price: one hundred and ninety-nine Online purchase -
Wordpress template Tianxing Studio wordpress download station theme is applicable to software/app/game and other download stations zero 2022-05-06 five thousand nine hundred and ninety Price: three hundred and fifty-five Online purchase -
Charging zblogphp template Tianxing Studio zblogphp enterprise theme 6 Self configurable atmosphere zblog enterprise theme two 2018-06-26 forty-five thousand two hundred and thirty-six Price: two hundred and fifty-eight Online purchase
Related recommendations
-
Collection of zblogasp1.8 common plug-ins: ytcms1.8 xiaoyi_FirstIMG、 NOBIRDArticleSEO 11-06 -
Zblogasp2.2 Obtaining sub classifications under classification 07-08 -
Solution to unknown ytcms error in zblogasp 08-28 -
Zblog prerequisite plug-in: ytcms download Zblog asp version ytcms plug-in download address 08-04 -
The method of zblogasp calling summary and controlling the number of words 04-19 -
Zblogasp calls the background calling method of an article in a column 10-21 -
Tell me about your recent experience 06-17 -
The method for zblog list page and content page to call articles in the same column 05-30 -
Comparison of personal opinions between zblogasp and zblogphp 04-19 -
Reprint: Collection of tips for using the YTCMS plug-in of zblog 03-20 -
Zblogphp calls the latest comment personalization method with ytcms 03-07 -
Moved Tianxing Studio from zblogasp to zblogphp 03-02
yes one Comments from netizens:
-
A rainy night Nine years ago (2015-02-28) reply Is this the PHP version? Come and learn. I can't understand..
welcome you Comment: Cancel Reply
-
Zblog Enterprise Theme -
Zblog image theme -
Zblog resource topic -
Zblog CMS topic -
Wordpress template -
Zblog video theme -
Zblog Taobao guest theme -
Zblog navigation topic
Select a theme?
-
Latest articles -
Hot article ranking -
Most Comments
-
one Shopping activity on the official website of Tianxing Studio: unlimited number of times and amount of 20% discount coupons 04-17 -
two Tianxing Studio zblog pure blog theme vue3+applet dual version 03-19 -
three Error causes and solutions of introducing vant into vue3 project 03-12 -
four Tianxing Studio zblog encyclopedia theme can be matched with member plug-ins to realize knowledge payment profitability 03-06 -
five How does zblog intercept a summary with a specified number of words? Introduction to the custom interception method of zblog summary 02-29 -
six Tianxing Studio 2023 Double 11 Event: 50% discount coupons 11-05 -
seven Tencent Cloud 2023 Double 11 Activity: 2H2G3M lightweight server 88 new users for one year 11-05 -
eight AliCloud 2023 Double 11 Activity: 2-core 2G3M bandwidth ECS 99 yuan/year! 10-31 -
nine Tianxing Studio zblog free login paid reading plug-in supports Alipay WeChat payment Hupi Pepper payment 10-09
-
Label aggregation -
×1 Crude oil transaction template ×1 China Air Energy Network ×1 Jq plug-in ×1 Tencent qlv ×1 Blog Theme ×1 GetVars ×1 Zbp free template ×1 Call all categories ×1 Zblog random call ×1 Tab switch ×1 2 years for renewal ×1 Comment infinite nesting ×1 upupw ×1 Navigation bar js ×1 idc ×1 Fixed domain name error ×1 AliCloud 799 server ×1 Summary of zblogphp ×1 zblog-tag ×1 The server
Latest comments
-
Tianxing Studio 06-15 Open the editing text, select the code language, and then whether you enter and break lines or copy and paste, it will not be divided into one line and one box, so I don't understand how you did it Commented on: Introduction to the code for zblog to determine whether the plug-in is installed or enabled -
visitor 06-14 Many lines of code posted in zblog articles are divided into one line and one box, one line and one box. How to adjust the code to be the same as yours in one box Commented on: Introduction to the code for zblog to determine whether the plug-in is installed or enabled -
Tianxing Studio 06-13 This function is already available Commented on: Tianxing Studio zblog navigation single page plug-in: every webmaster needs a dedicated navigation page! -
visitor 06-13 When editing, it is more convenient to provide the URL and automatically get the title and icon with one key. Commented on: Tianxing Studio zblog navigation single page plug-in: every webmaster needs a dedicated navigation page! -
Tianxing Studio 03-21 Yes, it will be repaired in the next version Commented on: Tianxing Studio zblog pure blog theme vue3+applet dual version