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

From HypertWiki
Jump to navigation Jump to search
(first attempt at Chriswaterguy's format)
(does variable replacement work in call tag? Can't remember. It needs to...)
Line 200: Line 200:
<func ShowRecentBlogEntries max>
<func ShowRecentBlogEntries max>
   <let name=idx />
   <let name=idx />
  <let name=fmtEntry val="GetBlogEntryBrief" />
   <let name=including val=1 />
   <let name=including val=1 />
   <for table="qryW3_Titles_Catgs" where="(cl_to='Data/blog/post')" sort="page_title DESC" limit=$max name=pg hide>
   <for table="qryW3_Titles_Catgs" where="(cl_to='Data/blog/post')" sort="page_title DESC" limit=$max name=pg hide>
Line 211: Line 212:
     <let name=pg_name append copy=pg_title />
     <let name=pg_name append copy=pg_title />
     <let name=idx inc />
     <let name=idx inc />
     <call GetBlogEntryBrief />
     <call $fmtEntry />
     <let name=e.rtn append copy=e.out />
     <let name=e.rtn append copy=e.out />
     <let name=data />
     <let name=data />

Revision as of 13:08, 5 May 2010