I want to display my custom block in the top of right column. I followed the below link

Widget setup in backend - how do I move upwards

I have a doubt in the second step,what is the [widget_id] specified? How can I do it?

Here is my local.xml

<layout version="0.1.0">    
        <update handle="subcategory_top_container" />

        <reference name="right">
           <block name="right_top" type="core/text_list" before="-" translate="label">
                <label>Right Column Top</label>

The widget_id specified is id of widget which you have to create (if not created) from admin CMS->Widgets

  • I am using cms/static_block type widget. – Jancy Abraham Jul 4 '17 at 5:13
  • in your widget grid there is column named widget_id you will get value from there – Piyush Jul 4 '17 at 5:17
  • Can I use this integer value in xml. – Jancy Abraham Jul 4 '17 at 5:20
  • yes you can use . – Piyush Jul 4 '17 at 5:23
  • My widget id is 1. Is the following xml is correct? <widgets> <1> <supported_blocks> <left_column_top> <block_name>left_top</block_name> </left_column_top> </supported_blocks> </1> </widgets> – Jancy Abraham Jul 4 '17 at 5:26

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.