Jump to content

My Info Sidebar


web2008

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated