Difference between revisions of "HypertWiki:Code/lib/data"

From HypertWiki
Jump to navigation Jump to search
(ShowRecentBlogEntriesByTopic)
m
Line 229: Line 229:
   <let name=noLoad val=1 />
   <let name=noLoad val=1 />


   <for table="qryW3_Titles_Catgs" where=$sqlWhere sort="page_title DESC" limit=$max name=pg hide>
   <for table="qryW3_Titles_Catgs" where=$sqlWhere sort="page_title DESC" limit=$max hide>
     <let name=pg_nspace_code>{{ns:</let>
     <let name=pg_nspace_code>{{ns:</let>
     <let name=pg_nspace_code append val=@row.page_namespace />
     <let name=pg_nspace_code append val=@row.page_namespace />
Line 239: Line 239:
     <let name=pg_name append copy=pg_title />
     <let name=pg_name append copy=pg_title />
     <let name=idx inc />
     <let name=idx inc />
     <load page=$pg_title />
     <load page=$pg_name />
     <if flag=data[Title]>
     <if flag=data[Title]>
       <call GetBlogEntryBrief />
       <call GetBlogEntryBrief />

Revision as of 01:26, 30 April 2010