Перейти к содержимому


Фотография
* * * * * 2 Голосов

Шаблон Cloud Zoom для элемента JBImage

рецепт cloud zoom jbimage

Сообщений в теме: 67

#41 Александр

Александр

Отправлено 05 February 2014 - 03:04

Все получилось, но по ленивому рецепту :)

Уточните пожалуйста, как усилить увеличение  zoom 

Спасибо.


  • 0

#42 Александр

Александр

Отправлено 05 February 2014 - 05:06

Доброе утро. После установки зума вылезла бочина. 

Все работает нормально. 

Но зайти в админку jbzoo не могу. Вижу ошибку 

Call to undefined method JBAssetsHelper::uikit()

media/zoo/applications/jbuniversal/framework/controllers/base.php on line 79

Что делать ? 

Спасибо.


  • 0

#43 SmetDenis

SmetDenis

Отправлено 05 February 2014 - 06:44

Александр

 

Вы использовали этот шаблон - http://forum.jbzoo.com/topic/5689-

Добавьте в хелпер jbuniversal\framework\helpers\jbassets.php функцию

 

  1. public function uikit(){
  2.   $this->jQuery();
  3.   $this->_include(array('jbassets:js/uikit.min.js'), 'js');
  4.   $this->_include(array('jbassets:css/uikit.css'), 'css');
  5. }

  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#44 DenisKaplunov

DenisKaplunov

Отправлено 05 February 2014 - 07:03

А возможно все, нормальный уже алгоритм по изменению и настройке данного улучшения?

Т.е. если возможно "готовое решение"


  • 0

#45 Cheren-dow

Cheren-dow

Отправлено 05 February 2014 - 08:25

DenisKaplunov сказал(а) 05 Фев 2014 - 06:03:

А возможно все, нормальный уже алгоритм по изменению и настройке данного улучшения? Т.е. если возможно "готовое решение"

Посмотрите внимательно самый первый пост ближе к концу есть ссылка на скачивание. 


  • 0
Изображение
 

#46 Александр

Александр

Отправлено 05 February 2014 - 13:03

SmetDenis сказал(а) 05 Фев 2014 - 05:44:

 

Александр

 

Вы использовали этот шаблон - http://forum.jbzoo.com/topic/5689-

Добавьте в хелпер jbuniversal\framework\helpers\jbassets.php функцию

  1. public function uikit(){
  2.   $this->jQuery();
  3.   $this->_include(array('jbassets:js/uikit.min.js'), 'js');
  4.   $this->_include(array('jbassets:css/uikit.css'), 'css');
  5. }

Прошу уточнить. Я использую стандартный каталог. 

Скачал ленивые файлы для zoom 

установил работает кроме все админки jbzoo.

Ошибка: media/zoo/applications/jbuniversal/framework/controllers/base.php on line 79

====

Вы мне советуете  добавить код, и даете ссылку на достаточно обширную тему которая уводит меня от сути в дебри шаблона Ukit.

Прошу Вас пояснить более простым способом например. 

=================

Это исходный текст файла. 

====

  1. <?php
  2. /**
  3.  * JBZoo App is universal Joomla CCK, application for YooTheme Zoo component
  4.  *
  5.  * @package     jbzoo
  6.  * @version     2.x Pro
  7.  * @author      JBZoo App http://jbzoo.com
  8.  * @copyright   Copyright (C) JBZoo.com,  All rights reserved.
  9.  * @license     http://jbzoo.com/license-pro.php JBZoo Licence
  10.  * @coder       Denis Smetannikov <denis@jbzoo.com>
  11.  */
  12.  
  13.  
  14. // no direct access
  15. defined('_JEXEC') or die('Restricted access');
  16.  
  17.  
  18.  
  19.  
  20. /**
  21.  * Class JBAssetsHelper
  22.  */
  23. class JBAssetsHelper extends AppHelper
  24. {
  25.     /**
  26.      * @var JDocumentHTML
  27.      */
  28.     protected $_document = null;
  29.  
  30.  
  31.     /**
  32.      * @var int
  33.      */
  34.     protected $_isCaching = null;
  35.  
  36.  
  37.     /**
  38.      * Constructor
  39.      * @param $app
  40.      */
  41.     public function __construct($app)
  42.     {
  43.         parent::__construct($app);
  44.         $this->_document  = JFactory::getDocument();
  45.         $this->_isCaching = $this->app->jbcache->isEnabled();
  46.     }
  47.  
  48.  
  49.     /**
  50.      * Set application styles files
  51.      * @param string $alias
  52.      */
  53.     public function setAppCss($alias = null)
  54.     {
  55.         $this->_include(array(
  56.             'jbassets:css/jbzoo.css',
  57.             'jbassets:css/jbzoo.' . $alias . '.css'
  58.         ), 'css');
  59.     }
  60.  
  61.  
  62.     /**
  63.      * Add script and styles for back-end
  64.      */
  65.     public function admin()
  66.     {
  67.         $this->jQuery();
  68.         $this->_include(array('jbassets:css/admin.css',), 'css');
  69.         $this->_include(array('jbassets:js/admin.js'), 'js');
  70.     }
  71.  
  72.  
  73.     /**
  74.      * Set application JavaScript files
  75.      * @param string $alias
  76.      */
  77.     public function setAppJS($alias = null)
  78.     {
  79.         $this->tools();
  80.         $this->_include(array(
  81.             'jbassets:js/jbzoo.' . $alias . '.js'
  82.         ), 'js');
  83.     }
  84.  
  85.  
  86.     /**
  87.      * Include JBZoo Tools script
  88.      */
  89.     public function tools()
  90.     {
  91.         $this->jQuery();
  92.  
  93.  
  94.         if (defined('JDEBUG') && JDEBUG) {
  95.             $this->_include(array('jbassets:js/jquery.jbzootools.orig.js'), 'js');
  96.         } else {
  97.             $this->_include(array('jbassets:js/jquery.jbzootools.min.js'), 'js');
  98.         }
  99.     }
  100.  
  101.  
  102.     /**
  103.      * Init filter assets
  104.      * @param $alias
  105.      */
  106.     public function filter($alias = 'default')
  107.     {
  108.         $this->tools();
  109.         $this->_include(array(
  110.             'jbassets:js/jbzoo.filter.js',
  111.             'jbassets:js/jbzoo.filter.' . $alias . '.js'
  112.         ), 'js');
  113.  
  114.  
  115.         $this->_include(array(
  116.             'jbassets:css/jbzoo.css',
  117.             'jbassets:css/jbzoo.filter.css',
  118.             'jbassets:css/jbzoo.filter.' . $alias . '.css'
  119.         ), 'css');
  120.     }
  121.  
  122.  
  123.     /**
  124.      * Init filter assets
  125.      * @param $alias
  126.      */
  127.     public function filterProps($alias = 'default')
  128.     {
  129.         $this->tools();
  130.         $this->_include(array(
  131.             'jbassets:js/jbzoo.filter.js',
  132.             'jbassets:js/jbzoo.filter.' . $alias . '.js'
  133.         ), 'js');
  134.  
  135.  
  136.         $this->_include(array(
  137.             'jbassets:css/jbzoo.css',
  138.             'jbassets:css/jbzoo.filter.css',
  139.             'jbassets:css/jbzoo.filter.' . $alias . '.css'
  140.         ), 'css');
  141.     }
  142.  
  143.  
  144.     /**
  145.      * Include
  146.      * @param $type
  147.      */
  148.     public function itemStyle($type)
  149.     {
  150.         static $isAdded;
  151.  
  152.  
  153.         if (!isset($isAdded[$type]) && $type) {
  154.             $this->_include(array('jbassets:js/jbzoo.' . $type . '.js'), 'js');
  155.             $this->_include(array('jbassets:css/jbzoo.' . $type . '.css'), 'css');
  156.  
  157.  
  158.             if (!isset($isAdded)) {
  159.                 $isAdded = array();
  160.             }
  161.  
  162.  
  163.             $isAdded[$type] = true;
  164.         }
  165.     }
  166.  
  167.  
  168.     /**
  169.      * Include jQuery UI lib
  170.      */
  171.     public function jQueryUI()
  172.     {
  173.         $this->jQuery();
  174.         $this->_include(array('libraries:jquery/jquery-ui.custom.css',), 'css');
  175.         $this->_include(array('libraries:jquery/jquery-ui.custom.min.js'), 'js');
  176.     }
  177.  
  178.  
  179.     /**
  180.      * Include fancybox lib
  181.      */
  182.     public function fancybox()
  183.     {
  184.         $this->jQuery();
  185.         $this->_include(array('jbassets:css/jbzoo.cloud-zoom.css'), 'css');
  186.         $this->_include(array('jbassets:js/jquery.libraries.min.js',), 'js');
  187.     }
  188.  
  189.  
  190. /**
  191. * Include Cloud Zoom
  192. */
  193. public function cloudzoom(){
  194. $this->jQuery();
  195. $this->_include(array('jbassets:css/libraries.css'), 'css');
  196. $this->_include(array('jbassets:js/jquery.cloud-zoom.js',), 'js');
  197. }
  198.  
  199.  
  200. /**
  201.      * Include table sorter lib
  202.      */
  203.     public function tablesorter()
  204.     {
  205.         $this->jQuery();
  206.         $this->_include(array('jbassets:css/libraries.css'), 'css');
  207.         $this->_include(array('jbassets:js/jquery.libraries.min.js',), 'js');
  208.     }
  209.  
  210.  
  211.     /**
  212.      * Include chosen lib
  213.      */
  214.     public function chosen()
  215.     {
  216.         $this->jQuery();
  217.         $this->_include(array('jbassets:css/libraries.css'), 'css');
  218.         $this->_include(array('jbassets:js/jquery.libraries.min.js',), 'js');
  219.     }
  220.  
  221.  
  222.     /**
  223.      * Include datepicker lib
  224.      */
  225.     public function datepicker()
  226.     {
  227.         $this->jQueryUI();
  228.         $this->_include(array('libraries:jquery/plugins/timepicker/timepicker.css',), 'css');
  229.         $this->_include(array('libraries:jquery/plugins/timepicker/timepicker.js'), 'js');
  230.     }
  231.  
  232.  
  233.     /**
  234.      * Include datepicker lib
  235.      */
  236.     public function nivoslider()
  237.     {
  238.         $this->jQuery();
  239.         $this->_include(array('jbassets:css/libraries.css'), 'css');
  240.         $this->_include(array('jbassets:js/jquery.libraries.min.js',), 'js');
  241.     }
  242.  
  243.  
  244.     /**
  245.      * Include jQuery framework
  246.      */
  247.     public function jQuery()
  248.     {
  249.         static $isAdded;
  250.  
  251.  
  252.         if (!isset($isAdded)) {
  253.             $isAdded = true;
  254.             $this->_include(array('libraries:jquery/jquery.js'), 'js');
  255.         }
  256.     }
  257.  
  258.  
  259.     /**
  260.      * Include basket script
  261.      */
  262.     public function basket()
  263.     {
  264.         $this->tools();
  265.     }
  266.  
  267.  
  268.     /**
  269.      * Include jQuery compare
  270.      */
  271.     public function jQueryCompare()
  272.     {
  273.         $this->tools();
  274.     }
  275.  
  276.  
  277.     /**
  278.      * Include progress bar in document
  279.      */
  280.     public function progressBar()
  281.     {
  282.         $this->jQueryUI();
  283.         $this->tools();
  284.     }
  285.  
  286.  
  287.     /**
  288.      * Include tabs widget in document
  289.      */
  290.     public function tabs()
  291.     {
  292.         $this->tools();
  293.         $this->_include(array('jbassets:css/jbzoo.css'), 'css');
  294.     }
  295.  
  296.  
  297.     /**
  298.      * Include tabs widget in document
  299.      */
  300.     public function accordion()
  301.     {
  302.         $this->tools();
  303.         $this->_include(array('jbassets:css/jbzoo.css'), 'css');
  304.     }
  305.  
  306.  
  307.     /**
  308.      * Init jbzoo compare
  309.      */
  310.     public function initJBCompare()
  311.     {
  312.         static $isAdded;
  313.  
  314.  
  315.         $this->jQuery();
  316.         $this->jQueryCompare();
  317.  
  318.  
  319.         if (!isset($isAdded)) {
  320.             $isAdded = true;
  321.             $this->addScript('jQuery(function($){ $(".jbzoo .jsJBZooCompare").JBCompareButtons(); });');
  322.         }
  323.     }
  324.  
  325.  
  326.     /**
  327.      * Include jQuery favorite
  328.      */
  329.     public function jQueryFavorite()
  330.     {
  331.         $this->tools();
  332.     }
  333.  
  334.  
  335.     /**
  336.      * Init JBprice Advance plugin
  337.      */
  338.     public function initJBpriceAdvance()
  339.     {
  340.         $this->tools();
  341.     }
  342.  
  343.  
  344.     /**
  345.      * Init JBZoo favorite
  346.      */
  347.     public function initJBFavorite()
  348.     {
  349.         static $isAdded;
  350.  
  351.  
  352.         $this->jQueryFavorite();
  353.  
  354.  
  355.         if (!isset($isAdded)) {
  356.             $isAdded = true;
  357.             $this->addScript('jQuery(function($){ $(".jbzoo .jsJBZooFavorite").JBFavoriteButtons(); });');
  358.         }
  359.     }
  360.  
  361.  
  362.     /**
  363.      * Assets for payment page
  364.      */
  365.     public function payment()
  366.     {
  367.  
  368.  
  369.     }
  370.  
  371.  
  372.     /**
  373.      * Init jqueryui autocomplete
  374.      */
  375.     public function jbimagePopup()
  376.     {
  377.         static $isAdded;
  378.  
  379.  
  380.         $this->jQuery();
  381.         $this->fancybox();
  382.  
  383.  
  384.         if (!isset($isAdded)) {
  385.             $isAdded = true;
  386.             $this->addScript('jQuery(function($){
  387.                 $("a.jbimage-link[rel=jbimage-popup], a.jbimage-gallery").fancybox({
  388.                     "helpers" : {
  389.                         "title"  : { type : "outside" },
  390.                         "buttons": { position:"top" },
  391.                         "thumbs" : { width :80, height:80 }
  392.                     }
  393.                 });
  394.             });');
  395.         }
  396.     }
  397.  
  398.  
  399. public function jbimageCloudZoom(){
  400. $this->jQuery();
  401. $this->cloudzoom();
  402. }
  403.  
  404.  
  405.     /**
  406.      * Height fix for items columns
  407.      */
  408.     public function heightFix()
  409.     {
  410.         static $isAdded;
  411.  
  412.  
  413.         $this->jQuery();
  414.  
  415.  
  416.         if (!isset($isAdded)) {
  417.             $isAdded = true;
  418.             $this->addScript('jQuery(function($){
  419.                 setTimeout(function(){
  420.                     var maxHeight = tmpHeight = 0;
  421.                     $(".jbzoo .items .column").each(function(n, obj){
  422.                         var tmpHeight = parseInt($(obj).height(), 10);
  423.                         if (maxHeight < tmpHeight) {
  424.                             maxHeight = tmpHeight;
  425.                         }
  426.                     }).css({height:maxHeight});
  427.  
  428.  
  429.                     var maxHeight = tmpHeight = 0;
  430.                     $(".jbzoo .subcategories .column").each(function(n, obj){
  431.                         var tmpHeight = parseInt($(obj).height(), 10);
  432.                         if (maxHeight < tmpHeight) {
  433.                             maxHeight = tmpHeight;
  434.                         }
  435.                     }).css({height:maxHeight});
  436.  
  437.  
  438.                     var maxHeight = tmpHeight = 0;
  439.                     $(".jbzoo .related-items .column").each(function(n, obj){
  440.                         var tmpHeight = parseInt($(obj).height(), 10);
  441.                         if (maxHeight < tmpHeight) {
  442.                             maxHeight = tmpHeight;
  443.                         }
  444.                     }).css({height:maxHeight});
  445.                 }, 300);
  446.             });');
  447.         }
  448.     }
  449.  
  450.  
  451.     /**
  452.      * Add to script
  453.      */
  454.     public function addRootUrl()
  455.     {
  456.         static $isAdded;
  457.         if (!isset($isAdded)) {
  458.             $isAdded = true;
  459.             $this->addVar('JB_URL_ROOT', JURI::root());
  460.         }
  461.     }
  462.  
  463.  
  464.     /**
  465.      * Include basketitems element widget
  466.      */
  467.     public function basketItems()
  468.     {
  469.         $this->tools();
  470.     }
  471.  
  472.  
  473.     /**
  474.      * Add global variable to javascript
  475.      * @param $varName
  476.      * @param $value
  477.      */
  478.     public function addVar($varName, $value)
  479.     {
  480.         $this->addScript('var ' . $varName . ' = ' . json_encode($value) . ';');
  481.     }
  482.  
  483.  
  484.     /**
  485.      * Init select cascade
  486.      */
  487.     public function initSelectCascade()
  488.     {
  489.         $this->tools();
  490.     }
  491.  
  492.  
  493.     /**
  494.      * Init script for JBCascadeSelect
  495.      * @param string $uniqid
  496.      * @param string $itemList
  497.      */
  498.     public function initJBCascadeSelect($uniqid, $itemList)
  499.     {
  500.         static $isAdded;
  501.         $this->jQuery();
  502.  
  503.  
  504.         if (!isset($isAdded)) {
  505.             $isAdded = array();
  506.         }
  507.  
  508.  
  509.         if (!isset($isAdded[$uniqid])) {
  510.  
  511.  
  512.             $this->addScript('jQuery(function($){
  513.                 $(".jbcascadeselect-wrapper.jbcascadeselect-' . $uniqid . '").JBCascadeSelect({
  514.                     "items": ' . json_encode($itemList) . ',
  515.                     "uniqid" : "' . $uniqid . '",
  516.                     "text_all" : " - ' . JText::_('JBZOO_ALL') . ' - "
  517.                 });
  518.             });');
  519.  
  520.  
  521.             $isAdded[$uniqid] = true;
  522.         }
  523.     }
  524.  
  525.  
  526.     /**
  527.      * Init jqueryui autocomplete
  528.      */
  529.     public function initAutocomplete()
  530.     {
  531.         static $isAdded;
  532.  
  533.  
  534.         $this->jQuery();
  535.         $this->jQueryUI();
  536.  
  537.  
  538.         if (!isset($isAdded)) {
  539.             $isAdded = true;
  540.             $this->addScript('jQuery(function($){
  541.                 $(".jbzoo .jsAutocomplete").each(function (n, obj) {
  542.                     var $input = $(obj),
  543.                         $form = $input.closest("form");
  544.                     $input.autocomplete({
  545.                         minLength: 2,
  546.                         source: function( request, response ) {
  547.                             var term = request.term;
  548.                             lastXhr = $.getJSON("' . $this->app->jbrouter->autocomplete() . '",
  549.                                 {
  550.                                     "name"  : $input.attr("name"),
  551.                                     "value" : term,
  552.                                     "app_id": $(".jsApplicationId", $form).val(),
  553.                                     "type"  : $(".jsItemType", $form).val()
  554.                                 },
  555.                                 function(data, status, xhr) {
  556.                                     $input.removeClass("ui-autocomplete-loading");
  557.                                     response(data);
  558.                                 }
  559.                             );
  560.                         }
  561.                     });
  562.                 });
  563.             })');
  564.         }
  565.     }
  566.  
  567.  
  568.     /**
  569.      * jQuery accordion lib init
  570.      */
  571.     public function jqueryAccordion()
  572.     {
  573.         static $isAdded;
  574.  
  575.  
  576.         $this->accordion();
  577.  
  578.  
  579.         if (!isset($isAdded)) {
  580.             $isAdded = true;
  581.             $this->addScript('jQuery(function($){
  582.                 $(".jbzoo .jsAccordion").each(function(n, obj){
  583.                     var $obj = $(obj),
  584.                         id   = "jbaccordion-" + n;
  585.                     $obj.attr("id", id);
  586.                     $("#" + id).JBZooAccordion();
  587.                 });
  588.             })');
  589.         }
  590.     }
  591.  
  592.  
  593.     /**
  594.      * Init price widget
  595.      */
  596.     public function initJBPrice()
  597.     {
  598.         static $isAdded;
  599.  
  600.  
  601.         $this->tools();
  602.  
  603.  
  604.         if (!isset($isAdded)) {
  605.             $isAdded = true;
  606.             $this->addScript('jQuery(function($){ $(".jbzoo .jsPrice").JBZooPrice(); });');
  607.         }
  608.     }
  609.  
  610.  
  611.     /**
  612.      * Add script to document
  613.      * @param string $script
  614.      */
  615.     public function addScript($script)
  616.     {
  617.         if (!$this->app->jbrequest->isAjax()) {
  618.             $this->_document->addScriptDeclaration("\n" . $script);
  619.         }
  620.  
  621.  
  622.     }
  623.  
  624.  
  625.     /**
  626.      * Get site root URL
  627.      * @return string
  628.      */
  629.     public function _getRoot()
  630.     {
  631.         static $root;
  632.  
  633.  
  634.         if (!isset($root)) {
  635.             $jUri = JURI::getInstance();
  636.             $root = $jUri->getScheme() . '://' . $jUri->getHost() . '/';
  637.             $root = '/';
  638.         }
  639.  
  640.  
  641.         return $root;
  642.     }
  643.  
  644.  
  645.     /**
  646.      * Include JS in document
  647.      * @param $files
  648.      * @return bool
  649.      */
  650.     public function js($files)
  651.     {
  652.         return $this->_include((array)$files, 'js');
  653.     }
  654.  
  655.  
  656.     /**
  657.      * Include CSS in document
  658.      * @param $files
  659.      * @return bool
  660.      */
  661.     public function css($files)
  662.     {
  663.         return $this->_include((array)$files, 'css');
  664.     }
  665.  
  666.  
  667.     /**
  668.      * Include files to document
  669.      * @param array $files
  670.      * @param $type
  671.      * @return bool
  672.      */
  673.     protected function _include(array $files, $type)
  674.     {
  675.         static $includedFiles;
  676.  
  677.  
  678.         if (!isset($includedFiles)) {
  679.             $includedFiles = array();
  680.         }
  681.  
  682.  
  683.         if (count($files) && !$this->app->jbrequest->isAjax()) {
  684.             foreach ($files as $file) {
  685.  
  686.  
  687.                 $isExternal = strpos($file, 'http') !== false;
  688.  
  689.  
  690.                 $filePath = $file;
  691.                 if (!$isExternal) {
  692.                     $fullPath = $this->app->path->path($file);
  693.                     $filePath = $this->app->path->url($file);
  694.                 }
  695.  
  696.  
  697.                 if ($filePath) {
  698.  
  699.  
  700.                     if (!$isExternal) {
  701.                         $filePath = $filePath . '?ver=' . date("Ymd", filemtime($fullPath));
  702.                         $filePath = $this->_getRoot() . $this->app->path->relative($filePath);
  703.                     }
  704.  
  705.  
  706.                     if ($type == 'css') {
  707.                         $this->_document->addStylesheet($filePath);
  708.  
  709.  
  710.                     } elseif ($type == 'js') {
  711.                         $this->_document->addScript($filePath);
  712.                     }
  713.  
  714.  
  715.                 }
  716.             }
  717.  
  718.  
  719.             return true;
  720.         }
  721.  
  722.  
  723.         return false;
  724.     }
  725.  
  726.  
  727.     public function behaviorModal($class = 'modal')
  728.     {
  729.         JHTML::_('behavior.modal', 'a.' . $class);
  730.     }
  731. }
==================================================
Дайте пожалуйста полный новый вариант кода который будет работать. 
Почему это чудо не хочет работать, после установки готовых файлов которые Вы давали ? 
Спасибо. 

Сообщение отредактировал Sliapy: 05 February 2014 - 13:18
ИСПОЛЬЗУЙТЕ, ПОЖАЛУЙСТА, КНОПКУ "КОД"

  • 0

#47 Cheren-dow

Cheren-dow

Отправлено 05 February 2014 - 13:25

Александр,зачем сюда писать 300 строк кода которые ни кто не будет смотреть?

 

Это вам не понятно из этого сообщения?

Вы не можете открыть указанный файл и добавить 5 строк кода?

 

 

Александр сказал(а) 05 Фев 2014 - 12:03:

Дайте пожалуйста полный новый вариант кода который будет работать.

Полный/Новый вариант кода  вам ни кто не даст потому что это разширение НЕ от JBZOO  а рецепт на основании которого вы можете сделать модификацию элемента. Если у вас что то не получается - значит не хватает знаний. Если не вы то за вас это полностью ни кто не сделает.

 

Приведенные файлы больше служат для примера а не для готового 100% работающего решения.


Сообщение отредактировал Cheren-dow: 05 February 2014 - 13:27

  • 0
Изображение
 

#48 Александр

Александр

Отправлено 05 February 2014 - 13:30

Я вставил код который вы советуете теперь ошибка.

media/zoo/applications/jbuniversal/framework/helpers/jbassets.php on line 643

Если этот рецепт не работает надо это выяснить.

С фронта лупа работает как надо, все вроде ок, но в админку jbzoo зайти не могу. 

Есть сайты у которых все работает как надо, есть пример ? 

Спасибо. 


  • 0

#49 SmetDenis

SmetDenis

Отправлено 05 February 2014 - 13:35

Александр,
Как вы вставили этот код?
Внутрь класса? Приложите файл.
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#50 Александр

Александр

Отправлено 05 February 2014 - 13:38

Вставил в конец файла. 

Код прилагаю. 

 

 


  • 0





Темы с аналогичным тегами рецепт, cloud zoom, jbimage

Click to return to top of page in style!