2011/12/7 16:27
timgno
Module Developer
Posts: 1504
Since: 2007/6/21
if (file_exists($fileinc = $GLOBALS['xoops']->path('modules/news/class/class.newsstory.php'))) { include $fileinc; $sarray = NewsStory::getAllPublished(10, 0, true); }
2011/12/7 18:37
trabis
Core Developer
Posts: 2269
Since: 2006/9/1 1
timgno wrote:for the file backend.php, as you will, in future, with the class newsstory like this code? if (file_exists($fileinc = $GLOBALS['xoops']->path('modules/news/class/class.newsstory.php'))) { include $fileinc; $sarray = NewsStory::getAllPublished(10, 0, true); }
2011/12/7 19:34
2011/12/7 21:34
2011/12/10 18:52
Advanced Search
352 user(s) are online (289 user(s) are browsing Support Forums)
Members: 0
Guests: 352