web2008 Posted September 8, 2015 Share Posted September 8, 2015 Can anyone help me to reorder the fields in the My Info sidebar on Six? I like the following, without State: Address1 Address2 Post Code City Country 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 8, 2015 Share Posted September 8, 2015 take a look at the thread below... http://forum.whmcs.com/showthread.php?105295-Address-format-in-V6-02-Template-SIX&p=433838#post433838 that should give you a starting point - it should then just be a case of removing the 'State' line of code, and removing the 'if($client->country == "DE") {' statement - plus the closing if } too. personally, I don't think that code is correct or the right way to do it - but if it works, so be it! 0 Quote Link to comment Share on other sites More sharing options...
web2008 Posted September 8, 2015 Author Share Posted September 8, 2015 Thanks, I have tryed this, but it`s generates an additional My Info Sidebar. WHMCS Support answer the following, but I don`t understand this! -- The my info sidebar is a very simple sidebar with a single entry that contains html text. You just need to combine code used to look up the sidebar entry for the my info pane and code to set the body html as is shown in this example: http://docs.whmcs.com/Editing_Client_Area_Menus#Add_a_special_offer_image_and_link_to_the_top_of_the_topmost_sidebar The only gap in our documentation pages for this is how to extract the body html you are going to edit and put back. That is documented in the Menu Item class documentation here: http://docs.whmcs.com/classes/classes/WHMCS.View.Menu.Item.html#method_getBodyHtml 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 8, 2015 Share Posted September 8, 2015 did you try the code I sent to you in the private message ? 0 Quote Link to comment Share on other sites More sharing options...
web2008 Posted September 8, 2015 Author Share Posted September 8, 2015 Thanks, works exactly the way I wanted it! 0 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.