Beispiel #1
0
 * @contact	support+paycart@readybytes.in
 * @author 	Manish Trivedi  
 */
/**
 * List of Populated Variables
 * $displayData = have all required data 
 * $displayData->return_link		// link after logout 
 * 
 */
// no direct access
defined('_JEXEC') or die;
// load bootsrap, font-awesome
Rb_HelperTemplate::loadSetupEnv();
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/paycart.js');
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/owl.carousel.js');
Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/owl.carousel.css');
if (!function_exists('pc_mod_product_style')) {
    ?>
	<?php 
    function pc_mod_product_style()
    {
        ?>
		<?php 
        static $pc_mod_product_loaded = false;
        ?>
			<?php 
        if ($pc_mod_product_loaded == false) {
            ?>
				<style>
				
				.pc-module-product{
<?php

/**
* @copyright	Copyright (C) 2009 - 2012 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* @package 		PAYCART
* @subpackage	Front-end
* @contact		team@readybytes.in
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
Rb_HelperTemplate::loadSetupEnv();
// load bootsrap, font-awesome
Rb_HelperTemplate::loadMedia(array('jquery', 'bootstrap', 'rb', 'font-awesome'));
Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/paycart.css');
Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/site.css');
Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/override.css');
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/paycart.js');
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/salvattore.js');
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/site.js');
 * 
 */
// no direct access
defined('_JEXEC') or die;
// load bootstrap, font-awesome
$config = PaycartFactory::getConfig();
$load = array('jquery', 'rb', 'font-awesome');
if ($config->get('template_load_bootstrap', false)) {
    $load[] = 'bootstrap';
}
Rb_HelperTemplate::loadMedia($load);
Rb_HelperTemplate::loadSetupEnv();
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/paycart.js');
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/owl.carousel.js');
Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/owl.carousel.css');
Rb_Html::stylesheet('mod_paycart_product/style.css', array());
?>

<script>
(function($){
	$(document).ready(function() {
		 
	$("#pc-mod-products-<?php 
echo $module->id;
?>
").owlCarousel({
	 
	autoPlay: false, //Set AutoPlay to 3 seconds
	 
	items : <?php 
echo $params->get('xl_cols', 5);
Beispiel #4
0
 * @subpackage	Layouts
 * @contact	support+paycart@readybytes.in
 * @author 	Manish Trivedi  
 */
/**
 * List of Populated Variables
 * $displayData = have all required data 
 * $displayData->return_link		// link after logout 
 * 
 */
// no direct access
defined('_JEXEC') or die;
// load bootsrap, font-awesome
Rb_HelperTemplate::loadMedia(array('rb', 'font-awesome'));
Rb_HelperTemplate::loadSetupEnv();
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/paycart.js');
if (!function_exists('pc_mod_product_noslide_style')) {
    ?>
	<?php 
    function pc_mod_product_noslide_style()
    {
        ?>
		<?php 
        static $pc_mod_product_loaded = false;
        ?>
			<?php 
        if ($pc_mod_product_loaded == false) {
            ?>
				<style>
					.pc-mod-product-noslide{
						margin-bottom: 20px;
<?php

/**
* @copyright	Copyright (C) 2009 - 2012 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* @package 		PAYCART
* @subpackage	Front-end
* @contact		support+paycart@readybytes.in
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
//load required javascripts
Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/salvattore.js');
echo $this->loadTemplate('js');
?>

<?php 
if (!empty($categories)) {
    ?>
<!--	<div class="row"><h2 class="col-sm-12 page-header"><?php 
    echo JText::_("COM_PAYCART_CATEGORIES");
    ?>
</h2></div>-->
	<?php 
    echo $this->loadTemplate('categories', compact('categories', 'formatter'));
}
?>

<?php 
if (count((array) $products)) {
    ?>