How to Add checkboxes for default billing/shipping address and show as check/uncheck

Currently Billing and Shipping address don’t have checkboxes to select, to change it from Billing to Shipping or Shipping to Billing. It only shows a message info.

So, I want to be checkboxes as same as an additional address form. So that user change

Billing Address -> Shipping Address

Shipping Address -> Billing Address

The problem is how can I get the Use as my default billing address checkbox selected when the user edits Billing Address and vice versa for Shipping Address.

Old Code

 <?php if ($  block->isDefaultBilling()): ?>         <div class="message info">             <span><?= $  block->escapeHtml(__("It's a default billing address.")) ?></span>         </div>     <?php elseif ($  block->canSetAsDefaultBilling()): ?>         <div class="field choice set shipping">             <input type="checkbox" id="primary_billing" name="default_billing" value="1" class="checkbox">             <label class="label" for="primary_billing">                 <span><?= $  block->escapeHtml(__('Use as my default billing address')) ?></span>             </label>         </div>     <?php else: ?>         <input type="hidden" name="default_billing" value="1">     <?php endif; ?>       <input type="hidden" name="default_billing" value="1" />   <?php endif; ?> 

Changed Code

 <?php if ($  block->isDefaultBilling()): ?>         <div class="field choice set billing">             <input type="checkbox" id="primary_billing" name="default_billing" value="1" class="checkbox">             <label class="label" for="primary_billing">                 <span><?= $  block->escapeHtml(__('Use as my default billing address')) ?></span>             </label>         </div>     <?php elseif ($  block->canSetAsDefaultBilling()): ?>         <div class="field choice set billing">             <input type="checkbox" id="primary_billing" name="default_billing" value="1" class="checkbox">             <label class="label" for="primary_billing">                 <span><?= $  block->escapeHtml(__('Use as my default billing address')) ?></span>             </label>         </div>     <?php else: ?>      <input type="hidden" name="default_billing" value="1" />   <?php endif; ?> 

MS Word typing in Red as default in a doc that is black font

I’ve a document which is in black font as usual. I need to make some comments inline at various points which I want in Red. I can select and change each text block and that works. However that takes a lot of selecting.

I tried changing to Red the Font Color icon however everytime you type it reverts to the default style of the block which is black.

Is there a way to set the font color so that all the text I type from now on will be in red irrespective of the black text in the rest of the doc?

Multiple inboxes in Gmail without default inbox

I have two email addresses, user@gmail.com and user@university.edu.

I have set up Gmail’s Multiple Inboxes, with the following criteria:

University --> label:(university inbox) gmail --> label:(inbox -university) 

This gives me two complementary sections, where archiving will also remove the email from my inbox page (which is what I’d like).

However, I still have a third section in my inbox, which contains both University and Gmail. Is there a way to remove this section?

Default google search country

I am normally fairly astute at being able to change settings etc, however, I have hit a problem I cannot overcome and thought to ask here:

In android chrome, when I perform a search the searches (as of Wednesday) are all performed in google.nl and the results are returned in English. This means the results are more appropriate for someone living in the Netherlands and not in the UK. I was wondering how I change the default search location as I cannot find it in Android at all (My PC based Chrome works as normal, and I can change that quite straightforwardly).

Would love to know how to set the default google search location for chrome back to google.com or google.co.uk.

All assistance gratefully accepted!

Cheers!

How to move from a filtered list to default view?

Suppose I am designing a web site to display a list of items. I’d like to add a category filter to display only the items of a given category.

Now I’m wondering how user should move back from the filtered list to the default list of items. Should I add just a “home” link or button ? Should I use “bread crumbs” with a “home” link ? What would you suggest ?

Windows Server 2012 R2 default resolution for remote connections

Couldn’t find the accurate answer searching for a bit, so here it goes.

After getting the brand-new server up, there were 5 user accounts created for remote desktop usage. Now the problem is, for two of them the Server seems to assume default 1920×1080 resolution (resolution of device which was first to connect to the user, looks like), and for the other three it is 1366×768.

Now, when people started to use all of the remote accounts for work, the two accounts with 1920×1080 default resolution turn out to be blurry and hard to work with for people, who connect from devices with maximum resolution of 1366×768 (provided by company, so there’s no changing that).

So, the question is if there is a way to change the default resolution for all of the users (or separately for every single on of them) server side?

The perfect solution is to lower the resolution enforced by server for those 2 users, so both the 1366 and 1960 users can work remotely on those user accounts.

Those 2 things I’ve already tried didn’t help:

  • changing the maximum resolution to 1366×768 in local group policy

  • searching registry for XResolution and YResolution entries and changing 1920×1080 to 1366×768

The general feedback of the two users that connect to 1920 with 1366 maximum resolution devices beside the resolution incompatibility they reportedly also have some performance issues with accounting programs they use (no such issues on other 3 user accounts, might be unrelated though).

Any feedback is appreciated. Cheers!