cancel
Showing results for 
Search instead for 
Did you mean: 

populate dropdownlist with data from webservice

populate dropdownlist with data from webservice

Hi I m new in Magento and php.

(and not yet familiar with the mvc pf magento)

 

I have a custom page and I would like to add a dropdownlist on a page (content.phtml)

The data will be coming from a webservice.

I have an IndexController where the content.phtml is being called.

 

Where should I do what ?

- So the dropdown is in the content.phtml

- Where to put the function where i call the webservice to fetch the data and pass the data to the dropdown )

- How/where  to call this function

 

regards