Script URL: http://www.grad.gatech.edu/helpdesk/
Version of script: 2.8.2
Hosting company: local
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Display Service Messages
Write your message below:
I would like for the Service messages to be displayed on the Knowledgebase.php page. They show up on the index.php page but not on the knowledgebase.php page.
I found the code that has them display on the index.php page and that same code is in the knowledgebase.php page but for some reason the service messages don't appear.
Does anyone know what I can change to have them appear on the knowledgebase page? We drive our folks to that page so they can see the categories of our FAQ's. If you go to our site right now you can see an announcement on the index.php page but I would like for these to also appear on the knowledgebase page. (I wonder if I can say knowledgebase a few more times!!!)
We use Hesk for both knowledge base and helpdesk.
Any suggestions would be greatly appreciated!
Thanks
Have Service Messages appear on Knowledge Base page
Moderator: mkoch227
Have Service Messages appear on Knowledge Base page
Sean Porter
Web Developer/Business Analyst
Georgia Tech
Web Developer/Business Analyst
Georgia Tech
Re: Have Service Messages appear on Knowledge Base page
Pasting this code just below inside your knowledgebase.php should do the trick:
Code: Select all
hesk_kbSearchLarge();
Code: Select all
// Service messages
$res = hesk_dbQuery('SELECT `title`, `message`, `style` FROM `'.hesk_dbEscape($hesk_settings['db_pfix'])."service_messages` WHERE `type`='0' AND (`language` IS NULL OR `language` LIKE '".hesk_dbEscape($hesk_settings['language'])."') ORDER BY `order` ASC");
while ($sm=hesk_dbFetchAssoc($res))
{
hesk_service_message($sm);
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Have Service Messages appear on Knowledge Base page
Klemen,
Took me a while to circle back around to this but it works like a charm!! Thanks for the quick response, even if I didn't get to it right away.
Took me a while to circle back around to this but it works like a charm!! Thanks for the quick response, even if I didn't get to it right away.
Sean Porter
Web Developer/Business Analyst
Georgia Tech
Web Developer/Business Analyst
Georgia Tech