I’m trying to intergrate my forum’s announcements forum onto the front page of my ModX site. I have done this by making the following snippet:
[[SMFforumnews]]
<?php
ssi_boardNews(1,1);
?>
This works fine, but it doesn’t correctly update the front page when the forum changes. The front page calls the snippet with [[SMFforumnews]]. I assumed the problem is with caching, so I changed the call to [!SMFforumnews!] which worked at first, but now gives the following error:
Fatal error: Call to undefined function: ssi_boardnews() in /home/you9069/public_html/manager/includes/document.parser.class.inc.php(766) : eval()'d code on line 2
I assume I’ve done something wrong with the coding somewhere. Does anyone have any suggestions?
For reference, here’s the help page for ssi_boardNews on the SMF site:
http://support.simplemachines.org/function_db/index.php?action=view_function;id=535
Thanks in advance!