1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Customize "welcome back to plesk sitebuilder wizard" popup

Discussion in 'SiteBuilder' started by adtastichosting, Feb 25, 2009.

  1. adtastichosting

    adtastichosting New Pleskian

    22
    57%
    Joined:
    Feb 12, 2009
    Messages:
    17
    Likes Received:
    0
    There is a popup in 4.5 when a visitor comes back to the wizard that has already started a trial site.
    It says: "Welcome back to Plesk Sitebuilder Wizard!" And: "It appears you have already used Plesk Sitebuilder Wizard to create or edit a trial web site. You can now choose to either edit the site you created or edited previously or create a new site."
    Would like to customize/brand the language a little and even be able to add toll free number to call to order hosting and upgrade from trial site to paid etc.. Where can I go to customize this popup?
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    All such messages should be customized in locale files. This one:

    "Welcome back to Plesk Sitebuilder Wizard!" -> /usr/local/sitebuilder/resources/locale/en_US/Wizard/Start.lng file

    # cat /usr/local/sitebuilder/resources/locale/en_US/Wizard/Start.lng|grep Welcome
    trialSiteSelectorTitle = "Welcome back to Plesk Sitebuilder Wizard!"

    "It appears you have already used Plesk Sitebuilder Wizard to create or edit a trial web site. You can now choose to either edit the site you created or edited previously or create a new site." -> /usr/local/sitebuilder/resources/locale/en_US/Wizard/Start.lng file

    # cat /usr/local/sitebuilder/resources/locale/en_US/Wizard/Start.lng|grep "It appears"
    trialSiteSelectorText = "It appears you have already used Plesk Sitebuilder Wizard to create or edit a trial web site. You can now choose to either edit the site you created or edited previously or create a new site."

    Please note, that in case of future updates (updates to new versions) this file could be rewritten and all your changes should go away. Do not forget to make backups for modified files.
     
  3. shoggy24

    shoggy24 Regular Pleskian

    25
    57%
    Joined:
    Apr 5, 2007
    Messages:
    198
    Likes Received:
    0
    Dmitry, I lost the file messages_en-US.php in Plesk locales directory ({plesk path}/admin/plib/locales/en-US/messages_en-US.php) when my system crashed while customizing. I need help replacing this file. Is there a way i can regenerate one or can you send me one i can replace it with. It is for Plesk 9.0.1 with sitebuilder.

    Thanks
     
  4. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    File messages_en-US.php

    To shoggy24:

    As I understand this question related to Parallels Plesk CP. In this case you can restore locale files by re-installing appropriate package. File /usr/local/psa/admin/plib/locales/en-US/messages_en-US.php belongs to psa-locale-base-en-US-9.0.1 pacakge:

    # rpm -qf /usr/local/psa/admin/plib/locales/en-US/messages_en-US.php
    psa-locale-base-en-US-9.0.1-09012214

    In this case, just re-install package with "--force" option. Try to find this package on your server in Plesk distributive.
    I am also attaching ZIP archive for this file, just in case from my test 9.0.1 9.0.1 CentOS 5 server.
     

    Attached Files:

  5. shoggy24

    shoggy24 Regular Pleskian

    25
    57%
    Joined:
    Apr 5, 2007
    Messages:
    198
    Likes Received:
    0
    Thanks Dmitry, i will force a re-installation following your instructions.
     
Loading...