SimplePortal
Support => English Support => Topic started by: digit on October 08, 2011, 08:17:20 AM
-
I am using the portal in stand alone mode. However - I REALLY like the sp_attachmentRecent function, and would like to use it on my non portal homepage.
SO - I tried adding it to SSI.php, but it crashed my site. :)
Is there any way to do this?
Thanks!
-
SimplePortal files are included in pretty much every page of forum. So you can just call the function directly, where you want it:
sp_attachmentRecent(array('limit' => 5), 0);