Jump to content

cingkonext

Members
  • Posts

    81
  • Joined

  • Last visited

3 Followers

About cingkonext

  • Birthday 04/05/1983

Profile Information

  • Activity
    Freelancer

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

cingkonext's Achievements

Newbie

Newbie (1/14)

11

Reputation

  1. My Hook footer: public function hookFooter($params) { require_once(_PS_TOOL_DIR_.'mobile_Detect/Mobile_Detect.php'); $this->mobile_detect = new Mobile_Detect(); $mobile = '0'; if ($this->mobile_detect->isMobile()) { $mobile = '1'; } $protocol = (Configuration::get('PS_SSL_ENABLED') || (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off')) ? 'https://' : 'http://'; $endURL = __PS_BASE_URI__.'modules/mymodule/'; if (method_exists('Tools', 'getShopDomainSsl')) $moduleURL = $protocol.Tools::getShopDomainSsl().$endURL; else $moduleURL = $protocol.$_SERVER['HTTP_HOST'].$endURL; $this->smarty->assign(array( 'mobile' => $mobile, 'new_base_dir' => $moduleURL, )); return $this->smarty->fetch($this->template_directory.'Mypage.tpl'); }
  2. I made a hook header function as below: public function hookHeader ($ params) { if ($ this-> isModuleAvailable ()) return; $ This-> context-> controller-> addCSS (($ this-> _path). 'Mystyle.css', 'all'); $ This-> context-> controller-> addJS (($ this-> _path). 'Myjavascript.js'); } If the variable in the function does not work (like the mobile version), how to include these two files on my smarty page (Mypage.tpl)? so far I've made it like this (in file "Mypage.tpl"): {If ($ mobile) == '1 '} <script type="text/javascript" src="{$new_base_dir}Myjavascript.js"> </ script> {/ If} This works well to call the javascript functions. but how to include files mystyle.css?
  3. Kesalahan biasanya dari modul payment nya.. Modul BCA / MANDIRI nya diambil dari mana?
  4. How to get 'id_state' customer/guest/visitor from (classes/Carrier.php) file?
  5. Ada yang bisa bantu untuk menyempurnakan modul saya ini? Modul ini berfungsi untuk meng-update field produk (secara massal) : referensi, harga, kuantitas, berat produk, juga untuk meng-update status produk. Produk yang ditampilkan sudah dipilah berdasarkan kategori.. Problem : modul ini belum bisa mengupdate tabel "product_shop", belum bisa mengupdate field "quantity" pada table "available_stock", belum bisa mengupdate "status" produk dan beberapa fungsi lainnya yang menurut saya cukup diperlukan.. mohon bantuannya... priceupdate.zip
  6. i dont know how to mark this thread as solved..
  7. Thank you.. Yes, I need for new account moment.. perfect...
  8. How to display loading image after clicking submit button on authentication.tpl? code reference : this
  9. I wish in prestashop 1.5: I hope the presence of an additional module or script code that can display the attributes of products on product list (ex: image attach). Also hope the settings the application shipping costs per state, not per zone. because usually the shipping costs are calculated for the purpose of the state rather than the zone Can I get it on prestashop 1.5.?? I Hope... (Sorry, English bad)
  10. Agan-agan.. ada yang tau ga, Modul slide untuk homepage presta 1.4 yang bagus n gratis?? kalau ada yang punya, bagi donk.. lagi butuh nich.. plisssss....
  11. Ada yang udah coba di versi 1.4? atau ada yang berbaik hati untuk updatenya?? lagi males oprek-oprek.. padahal lagi butuh nih.. untuk web baru...
  12. Saya butuh menjalankan kondisi if seperti contoh dibawah ini: halaman 1 halaman 2 halaman 1 {if halaman==1} halaman 1 {elseif halaman==2} halaman 2 {else} halaman 3 {/if} kode apa yang dipasang untuk {if} nya tersebut untuk bisa mengambil nilai yang ada pada "halaman" pada link di atasnya? bagaimana membuat kode ajax nya agar kondisi if nya berjalan? mohon bantuannya... PLISSSSSSSSSSSSSS...
  13. mungkin copyan file nya tidak lengkap.. atau versi presta nya beda, aku pakai di 1.2.5.0.. dan modul ini aku pakai di webku..
  14. aku juga pake 1.2.5.0, coba update konfigurasinya > masukkan gambar baru, setelah itu simpan. untuk melihat tampilannya jangan lupa bersihkan cache browser nya dulu.. mudah-mudahan bisa
  15. http://www.presto-changeo.com/attribute-modules/59-product-list-attributes.html Seperti ini.. tapi yang ini bayar.. ada yang gratis ga????
×
×
  • Create New...