0

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"> 
 <catalog_category_layered> 
 <update handle="subcategory_top_container" />
 </catalog_category_layered>
 <subcategory_top_container>
 <reference name="right">
 <block name="right_top" type="core/text_list" before="-" translate="label">
 <label>Right Column Top</label>
 </block>
 </reference>
 </subcategory_top_container>
</layout>
asked Jul 4, 2017 at 3:48

1 Answer 1

1

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

answered Jul 4, 2017 at 5:04
9
  • I am using cms/static_block type widget. Commented Jul 4, 2017 at 5:13
  • in your widget grid there is column named widget_id you will get value from there Commented Jul 4, 2017 at 5:17
  • Can I use this integer value in xml. Commented Jul 4, 2017 at 5:20
  • yes you can use . Commented Jul 4, 2017 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> Commented Jul 4, 2017 at 5:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.