ampuh Posted March 24, 2009 Share Posted March 24, 2009 mo tanya lagini nehhhgimana caranya supaya blok-blok yang ada di halaman depan (yang sebelum login) cuma bisa di akses setelah loginkayak blok my account, jadi begitu masuk ke website cuma ada blok login (user info)ada yang bisa bantu?makasih sebelumnya. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted March 24, 2009 Share Posted March 24, 2009 edit file php untuk setiap module. untuk setiap fungsi hook tambahkan fungsi berikut. if (!$params['cookie']->isLogged()) semoga berhasil Link to comment Share on other sites More sharing options...
ampuh Posted March 25, 2009 Author Share Posted March 25, 2009 wah berhasil lagiiii,makaish mas, lumayan buat ngecoh pengunjung biasa supaya gak bisa liat daftar buat agen, yahhh walaupun klo si agen ada yang nakal bisa aja dia sebar sebarin tuh link nya. hehehbtw, link nya ditambahin ini lagi if (!$params['cookie']->isLogged()) return false;baru bisa.tadinya saya juga gak tau mo taro dimana tapi tak coba cobapokoknya di bawah yang ada tulisan global (hehe awam bngt nehhh) maen tebak tebakan.conoh : global $smarty; if (!$params['cookie']->isLogged()) return false; $smarty->assign(array( Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted March 25, 2009 Share Posted March 25, 2009 Selamat ya, dah berhasil. Memang mau jualan apa bro? Link to comment Share on other sites More sharing options...
ampuh Posted March 25, 2009 Author Share Posted March 25, 2009 ini website kantor, dulu yang bikin webnya dah keluar, pas error lagi jadi aq cari cari neh yang gampang di utakutik,ehhh dapetnya prestashop, (jodoh)website, toko elektronikhttp://mdiskshop.com (masih pemula, standar) hehe,makasih neh mas, udah ngebantuin, jangan bosen bosen yehhhh ngasih ilmunya. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted March 25, 2009 Share Posted March 25, 2009 Doakan saja bisnisnya lancar, agar bisa aktif di forum ini. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted March 25, 2009 Share Posted March 25, 2009 Doakan agar bisnisnya lancar, jadi bisa aktif di forum. Link to comment Share on other sites More sharing options...
pratama Posted March 27, 2009 Share Posted March 27, 2009 wahh,,, boleh nih jd referensi .. besok2 aku coba pake login gitu ahh,,,wahh, jd tambah kerasan di forum ini .. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now