Add block topics from knowledge base to other page?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
front
Posts: 1
Joined: Thu Sep 16, 2021 7:37 am

Add block topics from knowledge base to other page?

Post by front »

Can somebody please tell me if I could add block with topics which generates at knowledgebase.php page to page where user creating new ticket?
I have found html code for this block of topics and copied to create-ticket.php page.
However it doesn’t appear on the page. I know there is a call that I'm missing somewhere but I don't know where.
If anyone has an idea on how to move this bit of code to the create-ticket.php page that would be greatly appreciated.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Add block topics from knowledge base to other page?

Post by Klemen »

You will likely need to fetch the articles from the database first.

See how it's done in the function print_start inside the main Hesk index.php file for sample code.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply