joomla_test/modules/mod_yahoostylenewsslider/mod_yahoostylenewsslider.php
2020-01-02 22:20:31 +07:00

28 lines
850 B
PHP

<?php
/**
* mod_socialcrowd.php Social Crowd Module for Joomla
*
* @version 1.2
* @package mod_socialcrowd
* @author Sabuj kundu ( http://codeboxr.com )
* @copyright Copyright (C) 2011-2013 http://codeboxr.com. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @ help: http://codeboxr.com/product/social-crowd-for-joomla
*/
//error_reporting(E_ALL);
//ini_set("display_errors", 1);
if(!defined('DS')){
define('DS',DIRECTORY_SEPARATOR);
}
// no direct access
defined('_JEXEC') or die('Restricted access');
// Include the syndicate functions only once
require_once (dirname(__FILE__).DIRECTORY_SEPARATOR.'helper.php');
$articles = modYahooStyleNewsSlider::getOutput($params, $module);
//echo '<pre>'; var_dump($articles);echo '<pre>';
require(JModuleHelper::getLayoutPath('mod_yahoostylenewsslider'));