Jump to content

Moving widgets on 7.1.0


jfreak53

Recommended Posts

So I just upgraded to 7.1.0 and the new version won't let me move widgets around to order them as I please as in older versions. What gives? It's such a simple feature why on earth would WHMCS remove this?

 

I wondered that to and found out they can be sorted by editing each of their files under modules/widgets/

Each one has a php file in there, change their "weight" and that is the order. Starting with 0,10,20,etc

 

Lowest number is first.

 

LEt me know if you get stuck on anything.

Link to comment
Share on other sites

  • 1 month later...
Any idea how to move (reweight) the Paypal balance widget? It's not stored as a standalone widget file in that folder.

isn't it added to the homepage by the encrypted Paypal adddon code itself ?

 

if so, then I doubt there's much you can do to change it's weight (for now).

Link to comment
Share on other sites

isn't it added to the homepage by the encrypted Paypal adddon code itself ?

 

if so, then I doubt there's much you can do to change it's weight (for now).

 

That's my assumption as the only two files I've found are in the addon module folder itself. Those are encrypted as you said.

 

The fact that it loads at the very end seems like it would indicate it might not be using a weight and is just being loaded after the others. Otherwise, I could try to make all the other files' weights super high to see if that might make it load first. Not worth the effort in my book. I miss the ability to drag/reorder.

 

Thanks,

Jason

Link to comment
Share on other sites

Hi Jason,

 

the cynic in me would expect that WHMCS haven't modified the widget code in any way within the paypal addon - and therefore it's still using the old v6 (unweighted) code. :roll:

I assume the fact it shows up, with other v6 widgets, in the administrator roles page confirms this.

 

pc8FT7B.png

I should add that I suspect re-weighting the others super high would be about the only way to do it.

Link to comment
Share on other sites

I've raised the weight to be very high for a few and that does seem to reorder them after Paypal but the tricky thing is that the orders change based upon whether they are maximized/minimized due to the way it's loading them across 3 columns. I'm not sure if editing them all to be high would do the trick but I may try that later today.

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