I am working on a custom Magento extension. I have created already a page in the admin panel where you can save some settings for the extension.

The url of the page where you can edit the module settings is looking like this:


Here is my config.xml file:

                    <title>Allow Everything</title>
                                            <title>vivasparser - All</title>

Here is my smartparser.xml file:

    <reference name="head">
      <action method="removeItem"><type>js</type><name>prototype/prototype.js</name></action>
      <action method="addJs"><script>my_extension/jquery.js</script></action>
      <action method="addJs"><script>my_extension/colorpicker.js</script></action>
      <action method="addJs"><script>prototype/prototype.js</script></action>

Why the javascripts are not loaded ? I am trying to find colorpicker.js in the output HTML source of the page but there is no such thing loaded anywhere.

Can you help me out load these javascripts into my admin panel config page ?

Thanks in advance!

1 Answer 1


in smartparser.xml the layout handle should be adminhtml_system_config_edit instead of adminhtml_catalog_product_edit.
Also you forgot a > on the line <adminhtml_catalog_product_edit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.