
cingkonext
Members-
Posts
81 -
Joined
-
Last visited
cingkonext's Achievements
Newbie (1/14)
11
Reputation
-
Yundar YK started following cingkonext
-
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'); }
-
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?
-
Kesalahan biasanya dari modul payment nya.. Modul BCA / MANDIRI nya diambil dari mana?
-
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
-
PascalVG started following cingkonext
-
[SOLVED] display loading image
cingkonext replied to cingkonext's topic in Addons, modules and themes developers
i dont know how to mark this thread as solved.. -
[SOLVED] display loading image
cingkonext replied to cingkonext's topic in Addons, modules and themes developers
Thank you.. Yes, I need for new account moment.. perfect... -
How to display loading image after clicking submit button on authentication.tpl? code reference : this
-
vekia started following cingkonext
-
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)
-
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...
-
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...
-
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..
-
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
-
[ASK] Memindahkan/meletakkan atribut produk
cingkonext replied to cingkonext's topic in Pengembangan dan Modul [ARCHIVE]
http://www.presto-changeo.com/attribute-modules/59-product-list-attributes.html Seperti ini.. tapi yang ini bayar.. ada yang gratis ga????