PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

[MODUL] popuplog (modifikasi dari modul popup news)

24 replies to this topic
#1
hady

    PrestaShop Apprentice

  • Members
  • PipPip
  • 56 posts
Salam kenal..

saya ada modifikasi sedikit modul popupnews.
http://www.prestasho...odul_popup_news

Modul yang saya modif ini digunakan untuk pesan singkat bagi pengunjung web.
dibedakan antara member dan bukan member..

terimakasih untuk user Tobi yang telah mengawali membuat modul popupnews.. biar gak bingung saya ubah namanya jadi popuplog.. hehehe

telah saya coba di web saya http://www.alatlukis.com dan berjalan baik

bagi yang pengen silakan donglot..

Attached Files


_____________________________
http://www.alatlukis.com
Quality of Artists' Materials

#2
prestanesia

    PrestaShop Addict

  • Members
  • PipPipPip
  • 776 posts
hohohoho jadi juga,, keren2 tar aq tambahin di webnya juga ...
www.prestanesia.com | AVAILABLE NOW : Prestanesia JNE. Modul "All in One" JNE dengan fitur update ongkos kirim secara otomatis .

#3
hady

    PrestaShop Apprentice

  • Members
  • PipPip
  • 56 posts

From 1283489961:

hohohoho jadi juga,, keren2 tar aq tambahin di webnya juga ...


hehehehe.. saya bisanya cuma modif-modif...

tq modul popup news nya..
_____________________________
http://www.alatlukis.com
Quality of Artists' Materials

#4
sumringah

    PrestaShop Apprentice

  • Members
  • PipPip
  • 35 posts
mantaps om..

#5
prestasimo

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1607 posts
Thank you for this module!

It would be useful if we can adapt with languages?

Regards.

#6
prestanesia

    PrestaShop Addict

  • Members
  • PipPipPip
  • 776 posts

From 1285142706:

Thank you for this module!

It would be useful if we can adapt with languages?

Regards.


whats wrong exactly ? i tho its already handled.

regards
www.prestanesia.com | AVAILABLE NOW : Prestanesia JNE. Modul "All in One" JNE dengan fitur update ongkos kirim secara otomatis .

#7
prestasimo

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1607 posts
It is only possible to use it in 1 language! :-S

Tested with PS 1.3.1

Regards.

#8
rololo88

    PrestaShop Apprentice

  • Members
  • PipPip
  • 96 posts
If you use Prestashop v1.1 there's chances you cannot use TinyMCE with this module.
In that case i found a way to fix this.
Actually in prestashop 1.1 TinyMCE didn't have the file jquery.tinymce.js,
this module "call" this file to enable TinyMCE but it will not find it so only a basic text
box will be displayed.
The fix for prestashop v1.1 is simple (in my case), i took this file from prestashop 1.2.5
then i copied it to /MY-SHOP-DIRECTORY/js/tinymce/jscripts/tiny_mce/ then it was ok.

Same solution work also for this other module still on prestashop v1.1:
http://prestanesia.com/download/?did=1
Version utilisée : V1.1.0.5 | MAJ en cours de tests : V1.4.4
In Production: V1.1.0.5 | Upgrade under testing : V1.4.4

#9
prestanesia

    PrestaShop Addict

  • Members
  • PipPipPip
  • 776 posts
Actually the module is not tested yet for 1.1 or 1.2 so thanks for the info. I'll update the article later.
www.prestanesia.com | AVAILABLE NOW : Prestanesia JNE. Modul "All in One" JNE dengan fitur update ongkos kirim secara otomatis .

#10
Mikie

    PrestaShop Apprentice

  • Members
  • PipPip
  • 42 posts
Great module,
it works fine, and easy to customize the css.

From 1285152266:

It is only possible to use it in 1 language! :-S

Tested with PS 1.3.1

Regards.


To change language:
in the folder popupnews copy and paste en.php file, rename the new file in it.php for italian, or es.php for spanish or find the two letter used for your language, then you can translate in Back office as well as other modules.

One question:
how to set the cookies expiration?
I want that after someone clicked "Dont show this window again" the window will open again the next day

Thanks

#11
prestanesia

    PrestaShop Addict

  • Members
  • PipPipPip
  • 776 posts

From 1292320815:


One question:
how to set the cookies expiration?
I want that after someone clicked "Dont show this window again" the window will open again the next day
Thanks


By default, it relies to browser cookies expiration settings but if you want to set manually, open the popupnews.tpl and add

cookieExpires: n


where n is number of days the splash will not show. Below is the complete code :


...
...
{literal}
$(function(){$('.meerkat').meerkat({cookieExpires: 1,background: 'transparent',height: '100%',width: '100%',position: 'bottom',dontShowAgain: '#dont-show',close: '#close',animationIn: 'none',animationOut: 'fade',animationSpeed: 500,timer: {/literal}{$interval}{literal}});});
{/literal}
...
...


hope this helps.
www.prestanesia.com | AVAILABLE NOW : Prestanesia JNE. Modul "All in One" JNE dengan fitur update ongkos kirim secara otomatis .

#12
Mikie

    PrestaShop Apprentice

  • Members
  • PipPip
  • 42 posts
Thanks for your fast reply ;-)
I will test it.

#13
idagalma

    PrestaShop Apprentice

  • Members
  • PipPip
  • 55 posts
Kalau ingin buat menu yg ada icon seperti yg ada di www.alatlukis.com , gimana boz...kl boleh pls tell me
makasih atas kebaikannya ! semoga bisnisnya tambah sukses !
----------------------------------------------------------------
Solusi Haji dan Umrah Gratis
http://www.umrahgratis.com
Program dari Pt. Arminareka Perdana
----------------------------------------------------------------

#14
hady

    PrestaShop Apprentice

  • Members
  • PipPip
  • 56 posts

From 1292724515:

Kalau ingin buat menu yg ada icon seperti yg ada di www.alatlukis.com , gimana boz...kl boleh pls tell me
makasih atas kebaikannya ! semoga bisnisnya tambah sukses !


Menu yang ada icon maksudnya yang mana ya?
_____________________________
http://www.alatlukis.com
Quality of Artists' Materials

#15
idagalma

    PrestaShop Apprentice

  • Members
  • PipPip
  • 55 posts
seperti contoh yang ini !, disebelah menu ada gambar iconnya

Attached Files


----------------------------------------------------------------
Solusi Haji dan Umrah Gratis
http://www.umrahgratis.com
Program dari Pt. Arminareka Perdana
----------------------------------------------------------------

#16
hady

    PrestaShop Apprentice

  • Members
  • PipPip
  • 56 posts

From 1292733956:

seperti contoh yang ini !, disebelah menu ada gambar iconnya

owh itu..

icon itu cuma tambahan, bisa diatur style nya langsung di file tpl nya atau kalau lebih bagus di file css nya..

contoh :

di file header.tpl





di file global.css

a.nav1:link, a.nav1:visited {
display:block; float:left; padding:0px 8px 0px 22px; margin:0 14px 0 14px;height:50px;text-decoration:none; background:url(../img/nav1.png) no-repeat left; color:#ffffff;}

_____________________________
http://www.alatlukis.com
Quality of Artists' Materials

#17
idagalma

    PrestaShop Apprentice

  • Members
  • PipPip
  • 55 posts
saya sudah coba tambahkan script dibawah ini di file global.css

a.nav1:link, a.nav1:visited {display:block; float:left; padding:0px 8px 0px 22px; margin:0 14px 0 14px;height:50px;text-decoration:none; background:url(../img/nav1.png) no-repeat left; color:#ffffff;}

tapi kok nggak ada perubahan gan !
mohon bimbingannya !
----------------------------------------------------------------
Solusi Haji dan Umrah Gratis
http://www.umrahgratis.com
Program dari Pt. Arminareka Perdana
----------------------------------------------------------------

#18
hady

    PrestaShop Apprentice

  • Members
  • PipPip
  • 56 posts

From 1292972703:

saya sudah coba tambahkan script dibawah ini di file global.css

a.nav1:link, a.nav1:visited {display:block; float:left; padding:0px 8px 0px 22px; margin:0 14px 0 14px;height:50px;text-decoration:none; background:url(../img/nav1.png) no-repeat left; color:#ffffff;}

tapi kok nggak ada perubahan gan !
mohon bimbingannya !


di file header nya udah di deklarasikan nav1 nya? nav1.png nya sudah ada dan diletakkan di tempatnya (../img/nav1.png)? ini hanya style yang sudah umum dipakai dalam web..
_____________________________
http://www.alatlukis.com
Quality of Artists' Materials

#19
p1r4t0s

    PrestaShop Apprentice

  • Members
  • PipPip
  • 121 posts
good job!

now please helpme!!!

how to make a link to show / enable this popup?
greetings,

p1r4t0s

#20
jonnies_z

    PrestaShop Newbie

  • Members
  • Pip
  • 19 posts
Keren gan modulnya..

bisa ane coba tuh,


www.syafna.com