- Posts: 15
- Thank you received: 0
Вопрос по всплывающему окну
Ну, для этого надо будет задать максимальное время вывода этого попапа, просто не пойму какой кусок кода куда вставлять...
[attachment:1]Безымянный.JPG[/attachment]
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I'd like to help but unfortunately I didn't understand your question. Could you try to post in english ?
Please Log in or Create an account to join the conversation.
- progreccor
-
- Offline
- SEO, webdesign
He is ask where can he found this code.
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- progreccor
-
- Offline
- SEO, webdesign
николас говорит что вам следует использовать Modules Anywhere (это расширение такое) и добавить соответствующий тег в модуль вашей корзины.
Найти его можно в файле notice раздела checkout (все это ищется в меню Вид-> Шаблоны)
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- progreccor
-
- Offline
- SEO, webdesign
файл notice раздела checkout.
Это именно то самое место, которое выводит окошко о котором ты ведешь речь.
Добавить в это окошко другой модуль можно с помощью расширения modules anywhere.
Прежде чем плакать - вначале внимательно читай что тебе пишут.
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
если выводить в позиции модуля корзину Хикашопа, не отображаются кнопки "Продолжить покупки" и "Оформить заказ" и кодировка модуля в попап-окне сбивается при просмотре в Мозилле, в Хроме нормально(это копия модуля козины на сайте в верхнем правом углу, тот работает корректно), может ему где default charset написать?
Кроме того, если нажать на товар в попап-окне, получается что новая страница выводится в этом же попап-окне... Где его масштабировать???
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Please Log in or Create an account to join the conversation.
- progreccor
-
- Offline
- SEO, webdesign
Только вот где исправляться я не искал. сейчас занят сильно
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
The encoding issue might come your browser not interpreting it correctly (or you already found the problem ?).
Please Log in or Create an account to join the conversation.
And! There lost 2 buttons - @continue shopping@ and @checkout@ - without this buttons i cant close iframe! And clicking on image name open item's page in same iframe - in this little window///
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I tried on firefox and don't have the problem either.
If you don't get the continue shopping and proceed to checkout buttons, that's because you must have removed them from the file "notice" of the view checkout when you added the cart module display. You should put back the code you removed in that view and it will work.
Please Log in or Create an account to join the conversation.
///////////////////////////////////////////
<?php
/**
* @package HikaShop for Joomla!
* @version 1.5.5
* @author hikashop.com
* @copyright (C) 2010-2011 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>
<script type="text/javascript">
setTimeout( 'try{ window.top.document.getElementById(\'sbox-window\').close(); }catch(err){ window.top.SqueezeBox.close(); }', <?php echo (int)$this->config->get('popup_display_time',2000);?> );
</script>
<div>
<div id="hikashop_notice_box_message" >
<?php echo hikashop_display(JText::_('PRODUCT_SUCCESSFULLY_ADDED_TO_CART'),'success',true); ?>
</div>
<div>{modulepos cart777}</div>
<br />
<div id="hikashop_add_to_cart_continue_div">
<?php echo $this->cartClass->displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this->params,'','try{ window.top.document.getElementById(\'sbox-window\').close(); }catch(err){ window.top.SqueezeBox.close(); } return false;','id="hikashop_add_to_cart_continue_button"'); ?>
</div>
<div id="hikashop_add_to_cart_checkout_div">
<?php echo $this->cartClass->displayButton(JText::_('PROCEED_TO_CHECKOUT'),'to_checkout',$this->params,hikashop_completeLink('checkout'.$this->url_itemid),'window.top.location=\''.hikashop_completeLink('checkout'.$this->url_itemid).'\';return false;','id="hikashop_add_to_cart_checkout_button"'); ?>
<br />
</div>
</div>
////////////////////////////////////////////////
I dont remove code, but no buttons @Continue@ and @Checkout@
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
So you must have the buttons below. You should see them if you use the scroll bar in the popup.
In that case, you should make the popup size bigger. For that, you need to create a file called templates/YOUR_TEMPLATE/html/hikashop_button.php
and have in it:
where x: 480, y: 140 can be changed to the size you need.
Please Log in or Create an account to join the conversation.