30Blog

ZBlog development tutorial: the same as calling classified article list

 {foreach GetList (number of calls, classification ID) as $related}<li><span>{$related. Time ('Y-m-d ')}</span><a href="{$related. Url}">{$related. Title}</a></li>{/foreach}

Get all articles (including subdirectory articles) in the big directory, and change the GetList above to:

 Getlist (number of calls, classification ID, null, null, null, null, array ('has_subcate '=>true));

Call other data to refer to article tags, article tags.
Note: here you need to use the variable name after as in the foreach loop, such as the $related used in the case column. If you need to call the title, use {$related. Title} instead of {$article. Title}.


QQ pre-sales consultation