+ Reply to Thread
Results 1 to 6 of 6

Thread: Popup Info

  1. #1

    Popup Info

    Hello,


    Is there a way to activate a pop-up window if you have important information to share with anyone who visits the site.
    Would it be possible?

    Thanks

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,174
    Hello,

    You can use this js code:

    printMessage('warning', 'Your text');

    or

    printMessage('error', 'Your text');

  3. #3
    OK
    Thanks.
    But where i put that code?

    Stephane

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,174
    Hello,

    You can put it to templates/.../tpl/footerScript.tpl > after $(function () {

  5. #5
    Hy.

    Yess thats work.

    Just is there a option that the info is just displayed on the first page, and there on the top?

    Thanks
    Stephane

  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,174
    If you need to display it only on the home page you can wrap this code with:

    Code:
    Only registered members can view the code.

+ Reply to Thread