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

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.

What's The URL Of My Blog?

We see the plea for help, periodicallyI 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?".