Quote:
Originally Posted by bandare
Mr Sinister, is there an easy way to add CMS articles to the slider?
|
First off thanks to the author for this great mod! I installed this on our site with a little tweak to make it work with CMS articles. You can see an example here -
http://sportsgamingcentral.com/forum/content.php
Upload the attached file to your clientscripts/slider folder. Just add the section ids to the file before uploading it. Then use this for the widget code. Hope this helps.
Code:
ob_start();
require_once './clientscript/slider/recent_section_articles.php';
$output=ob_get_contents();
ob_end_clean();
There is one suggestion I would like to make here. Instead of putting the init variables directly in the slider.php you can set them at the time of setting up the widget. This way you could use different widgets to act as sliders for different forums. I plan to make changes to the CMS article file for a similar use on our forums.