Loading...
 
Features / Usability

Features / Usability


Re: How to link to FAQs or articles from wiki pages?

posts: 32 United States

I wrote a wiki-plugin to make an easy FAQ link...

{FAQ(id=>1)}{FAQ} -> Adds a link to FAQ with faqId=1, the link itself is the FAQ's title.
{FAQ(id=>1)}Some Text{FAQ} -> Adds a link to same FAQ, the link is 'Some Text'

Add the following to /lib/faqs/faqlib.php:

function get_faq_info($faqId)
{
$query = "select * from `tiki_faqs` where `faqId`=?";
$result = $this->query($query,array($faqId));
$res = $result->fetchRow();

return $res;
}

Save the attached file in /lib/wiki-plugins

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting