RSS

Search Engine

Saturday, February 6, 2010

Boring with error message "Widget IDs should be unique" ?

Possibly you ever have the pip when doing Edit HTML at your template code always experience of failure with error message like this :



We were unable to save your template.

Please correct the error below, and submit your template again.

More than one widget was found with id: HTML1. Widget IDs should be unique.


Or maybe like this:

We were unable to save your template.

Please correct the error below, and submit your template again.

More than one widget was found with id: Feed1. Widget IDs should be unique.


Error message is same , the different only at ID, that is HTML1 and Feed1. And that is just an example, ID which emerge possibly HTML2, HTML3, HTML4 etc, or possibly also Feed2, Feed3, Feed4 etc. Possibly you will feel to confuse with this error message, because you can't edit your template code. The question possibly emerge that is what do cause can emerge the error message like that? if I may answer possible it be like this : error message emerge because in your template code is have two widgets or more with same ID. Still confuse? I give an example. For example in your template code have widget code be like this :



HTML1' locked='false' title='' type='HTML'/>





HTML1' locked='false' title='Free Download' type='HTML'/>









At the example above seen two widget codes with the same ID, that is HTML1 (attention the red letter):


HTML1' locked='false' title='' type='HTML'/>

HTML1' locked='false' title='Free Download' type='HTML'/>



If the case such as the example, of course you can't Saving your template code because it will always error. What must be doing if the case like that? you must change one of widget ID with diffrent ID. Example : change HTML1 with HTML15 or other number, but the number must be different with other widget ID.




HTML1' locked='false' title='' type='HTML'/>





HTML1' locked='false' title='Free Download' type='HTML'/>









You just change one of widget ID with different number, example : HTML1 changed with HTML15, for example :




HTML1' locked='false' title='' type='HTML'/>





HTML15' locked='false' title='Free Download' type='HTML'/>









If you had changing your widget ID, click Save Template button. And you will see the error message again.

0 comments:

Post a Comment