Пример #1
0
<?php

/*------------------------------------------------------------------------
 # Copyright (c) 2014 YouTech Company. All Rights Reserved.
 # @license - Copyrighted Commercial Software
 # Author: YouTech Company
 # Websites: http://www.magentech.com
-------------------------------------------------------------------------*/
/*--- BEGIN: Theme param config ---*/
$_params = new ThemeParameter();
$_config = array('layout_styles' => '1', 'layout_header' => '1', 'color' => 'default', 'body_font_family' => 'arial', 'body_font_size' => '12px', 'google_font' => 'Anton', 'google_font_targets' => '', 'direction' => '1', 'device_responsive' => '1', 'body_link_color' => '#686868', 'body_link_hover_color' => '', 'body_text_color' => '#686868', 'body_background_color' => '#ffffff', 'use_background_image' => '0', 'body_background_image' => '', 'use_customize_image' => '0', 'background_customize_image' => '', 'background_repeat' => '', 'background_position' => '', 'menu_styles' => '1', 'menu_ontop' => '0', 'responsive_menu' => '1', 'show_imagezoom' => '1', 'zoom_mode' => '1', 'show_related' => '1', 'related_number' => '', 'show_upsell' => '1', 'upsell_number' => '', 'show_customtab' => '1', 'customtab_name' => '', 'customtab_content' => '', 'show_facebook' => '1', 'facebook_name' => '', 'facebook_url' => '', 'show_twitter' => '1', 'twitter_name' => '', 'twitter_url' => '', 'show_google' => '1', 'google_name' => '', 'google_url' => '', 'show_rss' => '1', 'rss_name' => '', 'rss_url' => '', 'show_flickr' => '1', 'flickr_name' => '', 'flickr_url' => '', 'show_pinterest' => '1', 'pinterest_name' => '', 'pinterest_url' => '', 'show_cpanel' => '1', 'show_ontop' => '1', 'show_addtocart' => '1', 'show_addtocart' => '1', 'show_compare' => '1', 'custom_copyright' => '0', 'copyright' => '', 'custom_css' => '', 'custom_js' => '', 'preload' => '1');
$attributes = array();
if (Mage::getConfig()->getNode('modules/Sm_Megashop')) {
    $_config = Mage::helper('megashop/data')->get($attributes);
}
// Layout
if ($_config['layout_styles'] == 1) {
    $layout_style = '1';
}
if ($_config['layout_styles'] == 2) {
    $layout_style = '2';
}
$_params->set('layoutstyle', $layout_style);
// layout header
$_params->set('layout_header', $_config['layout_header']);
// Theme preload
$_params->set('preload', $_config['preload']);
// Theme color
$_params->set('theme_color', $_config['color']);
// font family
$_params->set('font_name', $_config['body_font_family']);
<?php

/*------------------------------------------------------------------------
 # Copyright (c) 2014 VnThemePro Company. All Rights Reserved.
 # @license - Copyrighted Commercial Software
 # Author: VnThemePro Company
 # Websites: http://www.vnthemepro.com
-------------------------------------------------------------------------*/
/*--- BEGIN: Theme param config ---*/
$_params = new ThemeParameter();
$_config = array('layout_styles' => '1', 'layout_home' => '1', 'color' => 'default', 'body_font_family' => 'arial', 'body_font_size' => '14px', 'google_font' => 'Oswald', 'google_font_targets' => '', 'direction' => '1', 'device_responsive' => '1', 'body_link_color' => '#666', 'body_link_hover_color' => '#FFC000', 'body_text_color' => '#666', 'body_background_color' => '#ffffff', 'menu_styles' => '1', 'menu_ontop' => '1', 'show_cpanel' => '1', 'responsive_menu' => '3');
$attributes = array();
if (Mage::getConfig()->getNode('modules/Vt_Supershop')) {
    $_config = Mage::helper('supershop/data')->get($attributes);
}
// Layout
$_params->set('layoutfb', $_config['layout_styles']);
$_params->set('menu_ontop', $_config['menu_ontop']);
// Theme color
$_params->set('theme_color', $_config['color']);
$_params->set('responsivemenu', $_config['responsive_menu']);
// font family
$_params->set('font_name', $_config['body_font_family']);
// Fontsize
$_params->set('fontsize', $_config['body_font_size']);
// Google web font
$_params->set('googleWebFont', $_config['google_font']);
// Google WebFont Targets
$_params->set('googleWebFontTargets', $_config['google_font_targets']);
// Body link color
$_params->set('linkcolor', $_config['body_link_color']);
Пример #3
0
<?php

/*------------------------------------------------------------------------
 * Copyright (C) 2013 The SNS Theme. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: SNS Theme
 * Websites: http://www.snstheme.com
-------------------------------------------------------------------------*/
/*--- BEGIN: Theme param config ---*/
$params = new ThemeParameter();
$config = array('showCpanel' => '1', 'showTooltip' => '1', 'fontSize' => '12px', 'fontFamily' => 'arial', 'themeColor' => 'black', 'layoutType' => '1', 'useSnowFall' => '1', 'menuStyles' => 'css', 'keepMenu' => '1', 'resMenu' => 'sidebar', 'bodyBgColor' => '#ffffff', 'googleFont' => '', 'googleFontTargets' => '', 'scrollToTop' => '', 'use_bgoverlay' => '', 'heightItemInfo' => '');
// Array param for cookie
$paramscookie = array('fontSize', 'fontFamily', 'themeColor', 'useSnowFall', 'menuStyles', 'keepMenu', 'bodyBgColor', 'bodyTextColor');
if (Mage::getConfig()->getNode('modules/Sns_Korion')) {
    $config = Mage::helper('korion/data')->get($attributes);
}
// enable Cpanel
$params->set('showCpanel', $config['showCpanel']);
// enable showTooltip
$params->set('showTooltip', $config['showTooltip']);
// Fontsize
$params->set('fontSize', $config['fontSize']);
// font family
$params->set('fontFamily', $config['fontFamily']);
// Google web font
$params->set('googleWebFont', $config['googleWebFont']);
// Google WebFont Targets
$params->set('googleWebFontTargets', $config['googleWebFontTargets']);
// Theme color
$params->set('themeColor', $config['themeColor']);
//
Пример #4
0
<?php

/*------------------------------------------------------------------------
 * Copyright (C) 2009 - 2012 The YouTech JSC. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: The YouTech JSC
 * Websites: http://www.smartaddons.com - http://www.cmsportal.net
-------------------------------------------------------------------------*/
/*--- BEGIN: Theme param config ---*/
$_params = new ThemeParameter();
$_config = array('showcpanel' => '', 'show_notice' => '1', 'body_font_size' => '14px', 'body_font_family' => 'Arial', 'google_font' => 'Archivo Narrow', 'google_font_targets' => '
								.header-nav-container-home ul#nav li a, 
								#yt_tab_products .yt-tab-navi li a:hover, 
								#yt_tab_products .yt-tab-navi li.active, 
								li.selected a.subhead, 
								#review-form h4, 
								.col-left .block-subtitle, 
								.social h4,
								.newslet label, 
								.des-block, 
								.promotions p, 
								#yt_sidenav li a.subhead,  
								#yt_sidenav li li a,  
								#yt_sidenav li.selected li a,  
								#yt_sidenav li.active li a,  
								#yt_sidenav li li.active li a, 
								.header-nav-container ul#nav li a, 
								h1#logo a span , 
								ul.yt-tab-navi li a ,
								ul.yt-tab-navi li.active a, 
								.yt-product-detail .product-name,