如何编辑iWeb 09博客模板?
在 iWeb '09 中,我正在尝试编辑博客条目模板,但不知道如何从模板中删除图片。理想情况下,当我单击“添加条目”按钮时,我不希望默认占位符图片出现在新条目模板上。
在 Blog.xml 文件(位于 templateFileName/Shared/ 下)中,有关 Entries 模板(特别是占位符图像)的信息似乎位于第 5133 行左右。
In iWeb '09, I am trying to edit the Blog entry template, and can't figure out how to remove the picture from the template. Ideally, I do not want the default placeholder picture to be present on the new entry template when I click the "Add Entry" button.
In the Blog.xml file (found under templateFileName/Shared/), it seems that the information regarding the Entries template (and specifically, the placeholder image) is around line 5133.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
克里斯,
解决您问题的非编码解决方案是不使用“添加条目”按钮,而是创建上一篇文章的副本(假设它具有您想要的布局)。要完成此操作,您只需按住 Control 键单击(或右键单击)“条目”页面上的帖子标题,然后选择“复制”即可。它将完整复制所选帖子并将日期设置为当前日期。然后你所要做的就是修改标题并删除正文。不再需要处理模板默认值。
我可以考虑在 09 年修改模板,但这也许是一个可以接受的解决方案,不会让人头疼。
谢谢
Chris,
A non-coding solution to your problem is to not use the "Add Entry" button and instead create a duplicate of your previous post (assuming it has the layout you desire). To accomplish this all you have to do is control-click (or right-click) the Title of a post on the Entries page and then select "Duplicate". It will do a complete copy of the selected post and set the date to current date. Then all you have to do is modify the title and delete the body text. No more template defaults to deal with.
I could look into modifying templates in '09, but perhaps this is an acceptable solution without headaches.
Thanks