I wrote a code like this:
我写了这样的代码:
<b:widget id='header' type='HeaderTitle'/>
but after i saved it,
但在我保存之后
blogger says this:
博主说:
The new widget with id "header" has an invalid type: HeaderTitle
ID为“header”的新窗口小部件的类型无效:HeaderTitle
Anyone help?
有人帮吗?
2 个解决方案
#1
2
I had the same problem. This simple solution brilliant works for me:
我有同样的问题。这个简单的解决方案对我有用:
Change
更改
<b:widget id='header' type='HeaderTitle'/>
to
至
<b:widget id='HeaderTitle1' type='HeaderTitle'/>
Name must be same as type and with any number (1, 2, 3 etc.).
名称必须与类型和任何数字相同(1,2,3等)。
#2
1
Blogspot right? okay. this is your previous codes:
Blogspot对不对?好的。这是你以前的代码:
<b:widget id='header' type='HeaderTitle'/>
when you create new widget, you should take notice of two things:
在创建新窗口小部件时,您应该注意两件事:
- widget must be inside of section.
- 小部件必须在部分内。
- each of widgets must contains of type.
- 每个小部件必须包含类型。
HeaderTitle is, indeed invalid type when you modify it. This must be return to the default type, that is: HTML.
当你修改它时,HeaderTitle确实是无效的类型。这必须返回默认类型,即:HTML。
It is better (the easy method) if you just add new line section
instead of new line widget
. When you're done, you will be able to create new widget (Header) or modify it as you wish with the section.
如果你只是添加新的行部分而不是新的行小部件,那就更好了(简单的方法)。完成后,您将能够创建新的窗口小部件(标题)或根据需要修改它。
Just add new line with like this follows:
只需添加如下所示的新行:
<b:section class='leftsbar' id='leftsbar' showaddelement='yes'></b:section>
Here's the simple blog tutorial with it.
这是一个简单的博客教程。
#1
2
I had the same problem. This simple solution brilliant works for me:
我有同样的问题。这个简单的解决方案对我有用:
Change
更改
<b:widget id='header' type='HeaderTitle'/>
to
至
<b:widget id='HeaderTitle1' type='HeaderTitle'/>
Name must be same as type and with any number (1, 2, 3 etc.).
名称必须与类型和任何数字相同(1,2,3等)。
#2
1
Blogspot right? okay. this is your previous codes:
Blogspot对不对?好的。这是你以前的代码:
<b:widget id='header' type='HeaderTitle'/>
when you create new widget, you should take notice of two things:
在创建新窗口小部件时,您应该注意两件事:
- widget must be inside of section.
- 小部件必须在部分内。
- each of widgets must contains of type.
- 每个小部件必须包含类型。
HeaderTitle is, indeed invalid type when you modify it. This must be return to the default type, that is: HTML.
当你修改它时,HeaderTitle确实是无效的类型。这必须返回默认类型,即:HTML。
It is better (the easy method) if you just add new line section
instead of new line widget
. When you're done, you will be able to create new widget (Header) or modify it as you wish with the section.
如果你只是添加新的行部分而不是新的行小部件,那就更好了(简单的方法)。完成后,您将能够创建新的窗口小部件(标题)或根据需要修改它。
Just add new line with like this follows:
只需添加如下所示的新行:
<b:section class='leftsbar' id='leftsbar' showaddelement='yes'></b:section>
Here's the simple blog tutorial with it.
这是一个简单的博客教程。