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

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?".

Add A Custom Redirect, If You Change A Post URL

When you rename a blog, the most that you can do, to keep the old URL useful, is to setup a stub post , with a clickable link to the new URL. Yo! The blog is now at xxxxxxx.blogspot.com!! Blogger forbids gateway blogs, and similar blog to blog redirections . When you rename a post, you can setup a custom redirect - and automatically redirect your readers to the post, under its new URL. You should take advantage of this option, if you change a post URL.

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.