Jump to content

satriyoz

Members
  • Posts

    26
  • Joined

  • Last visited

Profile Information

  • Location
    Indonesia
  • Activity
    Freelancer

satriyoz's Achievements

Newbie

Newbie (1/14)

4

Reputation

  1. i am forgot that i am using group to both main store and the 2nd store, and also enabled sharing customer and order option.. so when i try to disable the 2nd store, it gives me an error. so, i cannot disable it..
  2. hello there, sorry for interrupt conversation. i want to ask, i have multistore option enabled and the second store is active, few of the product's on the second store also connected with the first one. but now, i want to delete / disable the second shop. my question is, how to do that ? if i only need to disable the second shop on "advanced parameter" menu, is that affected my main shop ? i mean, is the product on the main shop deleted or it safe ? i am worry if i only disable it, my main shop will be mess...
  3. Hello Dear prestania ! i have multistore option enabled and the second store is active, few of the product's on the second store also connected with the first one. but now, i want to delete / disable the second shop. my question is, how to do that ? if i only need to disable the second shop on "advanced parameter" menu, is that affected my main shop ? i mean, is the product on the main shop deleted or it safe ? i am worry if i only disable it, my main shop will be mess... thanks before, and sorry for my bad english
  4. i tried This : {if isset($content) AND $content} <!-- MODULE home modal window --> {literal} <style> .fancybox-inner h1.success_inline { color: #418B19; text-align: center; padding-top: 40px; } .fancybox-inner h1.warning_inline { color: #DA0F00; text-align: center; padding-top: 40px; } </style> <script type="text/javascript"> jQuery(document).ready(function() { $.fancybox( '{/literal}{if isset($msg) && $msg}<h1 class="{if $nw_error}warning_inline{else}success_inline{/if}">{$msg}</h1>{else}{$content}<br/><a href="?dontshowhmw=yes">{l s=' Dont Show This Again ' mod='homemodalwindow'}</a>{/if}', {literal}{ 'width' : 650, 'height' : 400, 'autoScale' : true, 'scrolling' : 'no' }{/literal}); }); </script> {/if}<!-- /MODULE home modal window --> and this : {if isset($content) AND $content} <!-- MODULE home modal window --> {literal} <style> .fancybox-inner h1.success_inline { color: #418B19; text-align: center; padding-top: 40px; } .fancybox-inner h1.warning_inline { color: #DA0F00; text-align: center; padding-top: 40px; } </style> <script type="text/javascript"> jQuery(document).ready(function() { $.fancybox( '{/literal}{if isset($msg) && $msg}<h1 class="{if $nw_error}warning_inline{else}success_inline{/if}">{$msg}</h1>{else}{$content}<br/><a href="?dontshowhmw=yes">{l s=' Dont Show This Again ' mod='homemodalwindow'}</a>{/if}{literal}', {literal}{ 'width' : 650, 'height' : 400, 'autoScale' : true, 'scrolling' : 'no' }{/literal}); }); </script> {/literal} {/if}<!-- /MODULE home modal window --> both of it give me the same result like this
  5. oh my.. i'm sorry it's my fault not to check it again.. here's the tpl file.. {if isset($content) AND $content} <!-- MODULE home modal window --> {literal} <style> .fancybox-inner h1.success_inline { color: #418B19; text-align: center; padding-top: 40px; } .fancybox-inner h1.warning_inline { color: #DA0F00; text-align: center; padding-top: 40px; } </style> <script type="text/javascript"> jQuery(document).ready(function() { $.fancybox( '{/literal}{if isset($msg) && $msg}<h1 class="{if $nw_error}warning_inline{else}success_inline{/if}">{$msg}</h1>{else}{$content}<br/><a href="?dontshowhmw=yes">{l s=' Dont Show This Again ' mod='homemodalwindow'}</a>{/if}{literal}', { 'width' : 650, 'height' : 400, 'autoScale' : true, 'scrolling' : 'no' }); }); </script> {/literal} {/if}<!-- /MODULE home modal window -->
  6. Thankyou vekia, it is solved now tinymce now appear in that module.. yes, thankyou shacker.. i use this method and it's works... but, i still have one problem with this module, this module suppose to show some popup window but i don't know why it doesn't works.. it's just gave me this error.. that is .fancybox jquery function didn't work.. i also use the new version of fancybox from presta1.5.6 and i copy that to the module directory like tinymce method.. but still error.. here's i attach my module php and .tpl file.. hope you can help me.. homemodalwindow.php homemodalwindow.txt
  7. Thanks !, it works again now, i can edit and add new products again.. .. but, one of my module still didn't load the text editor.. it's home modal windows.. this is the homemodalwindows.php script public function _displayForm(){ $this->__construct(); global $cookie; $t=''; $t .= '<img src="../modules/homemodalwindow/logo.gif" style="float:left; margin-right:15px;"><b>'.$this->l('This module shows content by modal window at home page.').'</b><br /><br />'; $iso = Language::getIsoById((int)($cookie->id_lang)); $isoTinyMCE = (file_exists(_PS_ROOT_DIR_.'/js/tiny_mce/langs/'.$iso.'.js') ? $iso : 'en'); $ad = dirname($_SERVER["PHP_SELF"]); if (version_compare(_PS_VERSION_, '1.4.0.0') >= 0) $t .= ' <script type="text/javascript"> var iso = \''.(file_exists(_PS_ROOT_DIR_.'/js/tiny_mce/langs/'.$iso.'.js') ? $iso : 'en').'\' ; var pathCSS = \''._THEME_CSS_DIR_.'\' ; var ad = \''.dirname($_SERVER['PHP_SELF']).'\' ; </script> <script type="text/javascript" src="'.__PS_BASE_URI__.'js/tiny_mce/tiny_mce.js"></script> <script type="text/javascript" src="'.__PS_BASE_URI__.'js/tinymce.inc.js"></script> <script language="javascript" type="text/javascript"> id_language = Number('.$id_lang_default.'); tinySetup(); </script>'; else { $t .= ' <script type="text/javascript" src="'.__PS_BASE_URI__.'js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "advanced", plugins : "safari,pagebreak,style,layer,table,advimage,advlink,inlinepopups,media,searchreplace,contextmenu,paste,directionality,fullscreen", theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,,|,forecolor,backcolor", theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,media,|,ltr,rtl,|,fullscreen", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,pagebreak", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : false, content_css : "'.__PS_BASE_URI__.'themes/'._THEME_NAME_.'/css/global.css", document_base_url : "'.__PS_BASE_URI__.'", width: "600", height: "auto", font_size_style_values : "8pt, 10pt, 12pt, 14pt, 18pt, 24pt, 36pt", template_external_list_url : "lists/template_list.js", external_link_list_url : "lists/link_list.js", external_image_list_url : "lists/image_list.js", media_external_list_url : "lists/media_list.js", elements : "nourlconvert", entity_encoding: "raw", convert_urls : false, language : "'.(file_exists(_PS_ROOT_DIR_.'/js/tinymce/jscripts/tiny_mce/langs/'.$iso.'.js') ? $iso : 'en').'" }); id_language = Number('.$id_lang_default.'); </script>'; } any solution ?
  8. here's my error console : here's my error console : SyntaxError: missing ; before statement tiny_mce.js:1 Use of attributes' specified attribute is deprecated. It always returns true. jquery-1.7.2.min.js:2 Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery-1.7.2.min.js:2 ReferenceError: tinyMCE is not defined tinymce.inc.js:42 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. and my TinyMCe also didn't show up.. but, when i try run on IE, it's works everything fine.. whereas the javascript in the firefox and chrome is already enabled, but still give me this error..
  9. i'm using the console, i think there is something wrong with my jquery.. both of it, add new product and edit already product.. any solution or suggestion ?
  10. hello there, thanks for sharing how to fix it.. but, why the modal cannot running on me ? i'm trying on localhost yet.. is there any modul or something that i have to use the trigger so the modal can show up ?
  11. hello, i need little help here, anybody can give me the solution ? here's my problem, when i try to edit some product, suddenly my categories didn't show up at all.. and in the image section, there is no upload button and the product picture didn't show up.. there is more than 100 product that i already post.. and i cannot edit and also add new product.. please give me solution, thanks..
  12. Thankyou very much !!.. i'm using presta 1.5.5 and it's works like a charm !.. it's only for cart at the right page.. not cart summary after several times i'm trying.. finally.. FYI, 1st. open blockcart.tpl at your /modules/blockcart and also your /themes/nameofthemes/modules/blockcart and edit this line, make it inactive with comment tag or delete <div class="cart-prices-block"> <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> <span>{l s='Shipping' mod='blockcart'}</span> </div> 2nd. find this line in the same files, <span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span> and edit to <span id="cart_block_total" class="price ajax_block_cart_total">{$product_total}</span> 3rd. find this line <span class="ajax_cart_total" {if $cart_qties == 0}style="display:none"{/if}> {if $cart_qties > 0} {if $priceDisplay == 1} {convertPrice price=$cart->getOrderTotal(false)} {else} {convertPrice price=$cart->getOrderTotal(true)} {/if} {/if} </span> and change to <span class="ajax_cart_total" {if $cart_qties == 0}style="display:none"{/if}> {$product_total} </span> 4th. edit ajax-cart.js in /modules/blockcart and find this line $('.ajax_block_cart_total').text(jsonData.total); change to $('.ajax_block_cart_total').text(jsonData.productTotal); and incording to Arieswie and bbboos, open blockcart.php replace this 'total' => Tools::displayPrice($totalToPay, $currency), to 'total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency), and voila.. try to reload the page or clear smartycache and cart module doesn't include shipping anymore..
  13. Thanks, very helpful for me ! and for your info, this is works for presta v 1.5.5 greetings from indonesia ============================== visit http://rayamart.co.id
×
×
  • Create New...