r1 - 12 Sep 2007 - 19:32:44 - TWikiGuestYou are here: CWiki >  Blogs Web > TopicFunction > RenderBlogLinksInCategory

Function: RenderBlogLinksInCategory

Render list of all BlogLinks? of a given SubjectCategory

Parameters

  • CAT: name of a SubjectCategory
  • PARAMS: additional urlparams that are added to the links (optional)

Implementation

%STARTINCLUDE%
%~~ DBQUERY{"TopicType='BlogLink' 
~~~        %IFDEFINED{"%CAT%" then="AND SubjectCategory=~'\b%CAT%\b'"}%"
~~~        order="Name"
~~~        separator="$n" hidenull="on"
~~~        header="%IFDEFINED{"%CAT%" then="| *%CAT% links* ||"}%"
~~~        format="| <a href=\"%SCRIPTURLPATH{"view"}%/$web/$topic
*~~          %IFDEFINED{"%PARAMS%" then="?%PARAMS%"}%\">$formfield(Name)</a> |
~~~          $formfield(Headline) |"
~~~ }% 
%STOPINCLUDE%

Test

Calls to 'RenderBlogLinksInCategory'

TopicForm
TopicType TopicFunction
TopicDescription Render list of all BlogLinks? of a given SubjectCategory
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
Blog.RenderBlogLinksInCategory moved from Blog.RenderFeedsInCategory on 07 Nov 2005 - 20:58 by MichaelDaum?
 
CWiki
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding CWiki? Send feedback.