ZeroGravity Posted January 28, 2020 Share Posted January 28, 2020 Is it possible the change the order of the products and services in the dropdown on the Admin - Client Profile - Products/Services tab. I would like to have the active products listed at the top. Similarly for the domains. I am using the blend theme and can't see anywhere in the code where this maybe possible. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted January 28, 2020 Share Posted January 28, 2020 Yes but it will boring as hell. First you need yo retreive status details via SQL in AdminAreaHeadOutput then rearrange option elements of the drop-down with jQuery based on the new criteria. 0 Quote Link to comment Share on other sites More sharing options...
ZeroGravity Posted January 28, 2020 Author Share Posted January 28, 2020 Bugger. I was hoping there would be a nice little line of code somewhere that I was missing and it would be a simple change. Thanks @Kian 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 28, 2020 Share Posted January 28, 2020 15 hours ago, ZeroGravity said: Is it possible the change the order of the products and services in the dropdown on the Admin - Client Profile - Products/Services tab. I would like to have the active products listed at the top. Similarly for the domains. it would be easier to change the tables shown on the main client summary page - it has a template and therefore can be tweaked with either a template edit, e.g if you have the sortby Smarty modifier installed, you can just change... {foreach key=num from=$productsummary item=product} to... {foreach key=num from=$productsummary|@sortby:"domainstatus" item=product} and do something similar for the domains... or you could use a action hook, get the array(s) from the template, sort them as you wish and return them back to the template. 0 Quote Link to comment Share on other sites More sharing options...
ZeroGravity Posted January 29, 2020 Author Share Posted January 29, 2020 Thanks @brian! I will look into that. I hadn't thought of the lists on the summary page. They are always below the fold and I forget they are there. 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.