I want to show country selection box in customer account create page, so I used this code:
<div class="field">
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
<div class="input-box">
<?php echo $this->getCountryHtmlSelect() ?>
</div>
</div>
Which I get it by default.
But it show first option value blank and it shows blank when I selected. So I want to show select country text in place of blank option value. For that I need the page from where it is inherited.
In case you aren't using custom blocks, the standard block Mage_Customer_Block_Form_Register uses the selection of countries from the Mage_Directory_Block_Data block.
This block, in turn, uses Mage_Core_Block_Html_Select to create the selection. So here you can learn how to form it the right way.