mdduru Posted May 6, 2016 Share Posted May 6, 2016 (edited) Merhabalar Arkadaşlar; Ben bir proje yapmak istiyorum.Web sitesine giriş yaptırdım ama o girişten sonra sayfaya yönlenmesini istiyorum.Girişiniz Onaylandı.Şimdi Yönlendiriliyorsunuz!.dedikten sonra AnaSayfaya geçmesini istiyorum.Ama bilgiler hatalıysa AnaSayfaya geçmemesini istiyorum.Nasıl yapabilirim?Umarım anlatabilmişimdir. Üye Bilgileri: Kullanıcı Adı: deneme Şifre: deneme Apz İndirme Linki: http://s2.dosya.tc/server/p56bds/Kaan_Karabey_System.zip.html Edited May 6, 2016 by mdduru 1 Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted May 6, 2016 Editor Share Posted May 6, 2016 (edited) if (e_TitleText == "Yönetim Paneli") then IExplorer.Stop("Plugin1"); DialogEx.Close(0); end Bu kodu on title text eventına yazman yeterli olacaktır. Edited May 6, 2016 by pairs 1 Quote Link to comment Share on other sites More sharing options...
mdduru Posted May 6, 2016 Author Share Posted May 6, 2016 (edited) 1 saat önce, pairs yazdı: if (e_TitleText == "Yönetim Paneli") then IExplorer.Stop("Plugin1"); DialogEx.Close(0); end Bu kodu on title text eventına yazman yeterli olacaktır. Hocam bu kodla sorunu çözdüm fakat dialogu kapattıgımda anasayfa acılıyor onu nasıl engellerim. On Close Bölümüne os.exit(); yazdım ama şifreyi girincede otomatik kapatıyor Edited May 6, 2016 by mdduru Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted May 6, 2016 Editor Share Posted May 6, 2016 web sitenizde giriş yaptıktan sonra ki sayfanın html kodlarından title kısmını Yönetim Paneli yapın düzelecektir. Çnkü kodda sayfanın başlıgı Yönetim Paneli ise diye çalışıyor. Quote Link to comment Share on other sites More sharing options...
mdduru Posted May 7, 2016 Author Share Posted May 7, 2016 (edited) 12 saat önce, pairs yazdı: web sitenizde giriş yaptıktan sonra ki sayfanın html kodlarından title kısmını Yönetim Paneli yapın düzelecektir. Çnkü kodda sayfanın başlıgı Yönetim Paneli ise diye çalışıyor. tamam hocam bunu çözdüm sadece dialogex'i kapattıgımda anasayfa acılıyor onu nasıl engellerim. DialogEx 'in On Close Bölümüne os.exit(); yazdım ama şifreyi girincede otomatik kapatıyor Edited May 7, 2016 by mdduru Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted May 7, 2016 Editor Share Posted May 7, 2016 (edited) function QueryAllowDialogClose(strDialogName) local result= Dialog.Message("Close Dialog", "Are you sure that you want to close the dialog?", MB_YESNO, MB_ICONEXCLAMATION, MB_DEFBUTTON1); --if they choose yes if result == IDYES then --allow the dialog to close return true; else --cancel close return false; end end Global e bunu yapıştır Edited May 7, 2016 by pairs Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.