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

How do I change button url links

Discussion in 'Plesk for Linux - 8.x and Older' started by Lonewolf, Feb 10, 2005.

  1. Lonewolf

    Lonewolf Guest

    0
     
    I'm sure this has been covered somewhere, but I was unable to find any messages that deal with this problem from my search results.

    Question:
    How do I go about changing the url links that a non-custom plesk button uses? For instance, I do not want any links going to myPlesk.com. Instead, I would prefer the buttons to take the users to the location of my choosing.

    Thanks

    Lone Wolf
     
  2. Cranky

    Cranky Guest

    0
     
    You can't, but you can disable myplesk.com using the "add services" feature of the 'server' page in Plesk, and add custom buttons for your own registration services.
     
  3. Lonewolf

    Lonewolf Guest

    0
     
    Amazing, I had just found the last message in which you had the same reply *grin*

    However, there are a lot of buttons that I want to change and they are not custom. I found a link to a script that the plesk devs made to remove buttons, but even this does not do what I am realy needing, though it does help.

    My questions now are:

    1) Am I able to change the non-custom "button labels"? For instance, instead of having an "Edit" button I want the button to say "Edit Contact Info".

    2) Am I able to change the unproffessional "custom" heading to be something more feasable? Or even better, have the custom buttons show under the sections I actually want them to show under instead of a new "custom" section all together?

    Basically, I would like to have the ability to change the layout and modify any button of my choosing instead of having "set" buttons.

    Thanks!

    Lone Wolf
     
  4. Cranky

    Cranky Guest

    0
     
    What you want to do isn't really achievable via Plesk 7.5, maybe in future.
     
  5. Lonewolf

    Lonewolf Guest

    0
     
    *sigh* The best I can come up with is to remove all the buttons in the skins, and then add all the buttons back as custom buttons.

    I still think it would be a major improvement to be able to change the section label "Custom Buttons" to be something more practical.

    Maybe in the future.

    Lone Wolf
     
  6. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    I do not have access to plesk7.5 to be able to say if this still works but you can change this text at template level.


    Eg on the domain controls page

    /usr/local/psa/admin/plib/templates/dom_ctrl.tpl

    Find this code:

    <legend>{CUSTOM_BUTTONS_INFO}</legend><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td>

    and simply replace the whole of

    {CUSTOM_BUTTONS_INFO}

    with what ever you want it to say, of course this is no good if you use multiple language packs as i guess that is a look keyfield against different languages.

    You can do this with lots of parts of the templates (at least on 7.1) - ensure you make backups of the originals though!!!!

    And if you really want to just edit things like you said text labels etc, you could simply to a view source on the main page - see what bits you wanted to change, then remove the {} section from the template and replace it directly with the full html that you wanted with edited text.

    You can change the links to graphics by altering the css of the relevant skin to point to alternative graphics if you so wish.
     
  7. Lonewolf

    Lonewolf Guest

    0
     
    Really? Interesting, thanks! I'll have to give that a shot... most of the files I had looked at were encrypted and obfuscated... it's good to know there are still some out there I can modify. I'll give the templates a look over and maybe I'll be able to get what I am wanting after all.

    Thanks!

    Lone Wolf
     
Loading...