Skip to main content

Deleting A Page Element? Delete It Through The Page Elements GUI

In articles like Can't Delete A Page Element?, I explain how to remove a page element from your blog, when it's locked. This is a two stage process.
  • From the Template Editor, unlock the page element.
  • From the Page Elements GUI, remove the page element.


Occasionally, I give this advice, only to have somebody ask me
Chuck, why make it so complicated. Just delete the entry in the template.


But it's not that simple. Look at a Linklist page element, for instance.



See all of the URLs in my "Blogger Help Links" page element, in the sidebar, for instance?


Now, look at the template code, for that page element.
<b:widget id='LinkList2' locked='false' title='' type='LinkList'>
<b:includable id='main'>

<b:if cond='data:title'><h2><data:title/></h2></b:if>
<div class='widget-content'>
<ul>
<b:loop values='data:links' var='link'>
<li><a expr:href='data:link.target'><data:link.name/></a></li>
</b:loop>
</ul>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>


Where are all of the URLs in the list? They aren't in the template HTML, that's for sure. How do you get rid of the URLs, if you delete the above code from the template?

You have to use the Page Elements GUI, to remove the content behind the page element that's located in the template HTML.

>> Top

Comments

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.