Advertisement
Guest User

Untitled

a guest
May 21st, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. <!-- Optional Topic Settings
  2. * Set HEADER_FORMAT = |*LOP_Number* | *Topic* | *Approved Version* | *Last Mod* |
  3. * Set SEARCH_FORMAT = | $formfield(LOP_Number) | [[$web.$topic][$topic]] | $formfield(ApprovedVersion) | $formatTime(info.date, '$year-$mo-$day') |
  4. * Set COLUMNWIDTHS = 35%,40%,10%,15%
  5. -->
  6.  
  7.  
  8. %STARTINCLUDE%
  9. %~~ IFDEFINED{"
  10. *~~
  11. %~~ DBQUERY{"parent = 'LOP'
  12. ~~~ AND Classification = 'TopicType'"
  13. ~~~ web="%BASEWEB%"
  14. ~~~ format="none"
  15. ~~~ header="$count"
  16. ~~~ hidenull="on"
  17. ~~~ }%"
  18. ~~~ then="<em>See also sub-%FORMFIELD{"Classification" topic="%BASEWEB%.TopicType"}%s:
  19. ~~~ $percntDBQUERY{\"parent = 'LOP'
  20. ~~~ AND Classification = '%FORMFIELD{"Classification" topic="%BASEWEB%.TopicType"}%'\"
  21. ~~~ web=\"%BASEWEB%\"
  22. ~~~ format=\"$web.$topic\"
  23. ~~~ separator=\", \"
  24. ~~~ }$percnt</em>"
  25. ~~~ glue="off"
  26. ~~~ }%
  27.  
  28. %IFDEFINEDTHEN{"%LISTFORMAT%" glue="off" }%
  29. %DBCALL{"%LISTFORMAT%" %IFDEFINED{"%FACET%" then="FACETS=\"$test\"" glue="off"}% remote="on"}%
  30. %ELSEDEFINED%
  31. %~~ DBCALL{"%TCAOWEB%.RenderTableSearchResults"
  32. ~~~ remote="on"
  33. ~~~ FACETS="%FORMFIELD{"Facets" topic="%BASEWEB%.LOP"}%"
  34. ~~~ BASESEARCH="%IFDEFINED{"%CLASS_NAME%"
  35. ~~~ then="$test"
  36. ~~~ else="%FORMFIELD{"Classification" topic="%BASEWEB%.LOP"}%"}%
  37. ~~~ =~ 'LOP' " }%
  38. ~~~ %FIDEFINED%
  39. _For more information on content organization within the *%BASEWEB%* web, see %BASEWEB%.TopicClassification._
  40.  
  41. %STOPINCLUDE%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement