[kdewebdev-site] New FAQ code

Andras Mantia amantia at kdewebdev.org
Wed Mar 2 14:27:54 EST 2005


Hi,

 I've committed the new FAQ code to include/faq.inc.php and uploaded as 
well to the site. It read all the fields from the XML file. One can 
choose which applications should be visible. Optionally it displays the 
name and email address of the contributor. Example usage is:
    <? 
       include $_libpath."faq.inc.php";
       readFAQFile("faq.xml"); 
       showFAQ("kallery");
    ?>

If you use showFaq("") all entries will be shown.

The main faq.php and faq.xml is also updated, but only in the CVS as I 
cannot modify the files on the web server.

kallery.kdewebdev.org already used the new FAQ PHP, so you can see it 
there.

Andras

-- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://momo.creolmail.org/pipermail/kdewebdev-site/attachments/20050302/1a28d991/attachment.pgp


More information about the kdewebdev-site mailing list