Skip to main content

Q. Which ways exist to specify the layout update handles that will be processed during a request?

<layout>
<default>
<update handle=”add_jquery_first” />
</default>

<add_jquery_first>
<action method=”addJs” block=”head”>
<file>jquery/jquery-1.8.1.min.js</file>
</action>
<!– or
<reference name=”head”>
<action method=”addJs”>
<file>jquery/jquery-1.8.1.min.js</file>
</action>
</reference>
–>
</add_jquery_first>
</layout>

By Michael Cristancho

I'm a Digital Commerce and Experience evangelist who enjoys engaging in thought-provoking conversation and mutual exploration. I am a strong believer that learning never ends, and each day brings another opportunity to grow as an individual and professional.