Please enable JavaScript to view this site.

iService Forms User Guide

You can generate a list of find answers articles based on their topic, or based on the results of a keyword search. When generating the results from a selected topic,  you use the -Ptopic parameter as shown below.

 

<div id="articleList" class="">

//The $IF below says "If there are articles in the reference topic, then ..."//

   $if -articlelist(topic)  -Ptopic'topicID' -Ppagenum'1' -Pperpage'100' -Psort'DATE_REVERSE'$         

      <ul>

//The -Ptopic parameter supplies the ID of the topic for which the list is generated//

         $repeat -articlelist(topic) -Ptopic'topicID' -Ppagenum'1' -Pperpage'100' -Psort'DATE_REVERSE'$

           <li><a href="/f/49?articleID=$value -articlelist(id)$">$value -articlelist(subject)$</a></li>

         $endrepeat$

      </ul>   

    $else$

       <p>No articles</p>

    $endif$

</div>