Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can we create a custom "twitter handle" field in a registration form?



How can we create a custom "twitter handle" field in a registration form?..

Answer / Hariom Mishra

To add a custom Twitter Handle field to the Magento registration form, you'll need to override the `customer_account_create` template. Here are the steps:n1. Copy the original `customer_account_create` file from `app/design/frontend/base/default/template/persistent/account/create.phtml` to your theme folder.n2. In the copied file, add a new input field for the Twitter Handle:n```n<div class="fields-group">n <div class="fields-wrap">n <div class="fieldset" id="customer_form_register">n <!-- Existing code -->n <div class="fields-group">n <div class="fields-wrap">n <div class="fieldset">n <h2 class="legend">n <span>Twitter Handle</span>n </h2>n <div class="field field-name-twitter_handle validate-validate-zero-length required-entry">n <input type="text" name="twitter_handle" id="twitter_handle" title="Twitter Handle" value="" class="input-text" />n </div>n </div>n </div>n </div>n </div>n </div>n</div>n```n3. Customize the validation rules if needed.n4. Don't forget to clear Magento cache after making changes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Magento PHP Interview Questions

What is the starting point for magento admin area?

1 Answers  


What is tax rule in magento?

1 Answers  


Where can I download magento?

1 Answers  


How can we remove module conflict?

1 Answers   HCL,


what is mage registry? How we register a variable?

1 Answers   HCL,


How much does a magento 2 website cost?

1 Answers  


Describe various versions of magento.

1 Answers  


Explain how to change magento core api setting?

1 Answers  


Explain google checkout in magento.

1 Answers  


What is the best ecommerce platform 2019?

1 Answers  


State the syntax to call a cms page in your module's phtml file.

1 Answers  


Write a query to get product details with id in magento?

1 Answers  


Categories