YoxView
YoxView's primary advantage is ease of use. Ease of use and flexibility, flexibility and ease of use. Its two main features are flexibility and ease of use... and pre-caching. Its three main features are ease of use, flexibility and pre-caching... and an almost fanatical devotion to the user. Its four... no, amongst its features... are such features as ease of use, flexibility... I'll start again.
Skins
According to the official YoxView features page:
YoxView's look and feel can be customized by using a skin, which is specified as an option.
At the moment, only one skin is available - top_menu. More to follow soon!
The preferred skin should be set in YoxView’s bootstrap jquery function. The two available configurations are:
Default:
jQuery(".yoxview").yoxview( {lang: "en"}); });',
Top Menu:
jQuery(".yoxview").yoxview( {lang: "en", skin: "top_menu" }); });',
More than Themes Products
The following lines and snippet will help you to locate the above-mentioned code in each one of our themes that comes with the YoxView plugin built-in and pre-configured.
BusinessClass
Business Class comes with the “Top menu” skin enabled. This is configured in the following files
- field--field_image--mt_service.tpl.php
- field--field_image--blog.tpl.php
You can adjust both of them or only the one that corresponds to the content type with the behavior you would like to customize. The YoxView is enabled for the “Services” and “Blog” content types.
You should locate the following snippet:
<?php drupal_add_js('jQuery(document).ready(function($) { jQuery(".yoxview").yoxview({lang: "en", skin: "top_menu" }); });', array('type' => 'inline', 'scope' => 'footer') ); ?>
And change it to:
<?php drupal_add_js('jQuery(document).ready(function($) { jQuery(".yoxview").yoxview({lang: "en"}); });', array('type' => 'inline', 'scope' => 'footer') ); ?>
Doing this the YoxView skin will change from the “Top menu” to the “Default”.
Yox View in Corporate Classy, Photofolio and Blozzit
These themes come with the “Top menu” skin enabled. In a similar manner, you should alter the corresponding for each file as mentioned below:
CorporateClassy
- node-product.tpl.php
- node--product.tpl.php for,
Photofolio
- node-gallery.tpl.php
- node--gallery.tpl.php
BlozzIt
- node.tpl.php
Ιn these files you should locate the following snippet:
<?php drupal_add_js('jQuery(document).ready(function($) { jQuery(".yoxview").yoxview({lang: "en", skin: "top_menu" }); });', array('type' => 'inline', 'scope' => 'footer') ); ?>
And change it to:
<?php drupal_add_js('jQuery(document).ready(function($) { jQuery(".yoxview").yoxview({lang: "en"}); });', array('type' => 'inline', 'scope' => 'footer') ); ?>