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

Custom Domain Migration - Managing The Traffic

Your blog depends upon traffic for its success.

Anything that affects the traffic to your blog, such as any change in the URL, affects the success of your blog. Publishing the blog to a custom domain, like renaming the blog, will affect traffic to your blog. The effects of the change will vary from blog to blog, because of the different traffic to every different blog.Followers. People who find your blog because of recommendations by other people.Search engines. Robotic processes which methodically surf your blog, and provide dynamic indexing to people who search for information.Subscribers. People who read your content from their newsfeed reader, such as the dashboard Reading List.Viewers. People who read your content from their browser.No two blogs are the same - and no two blogs will have the same combinations of traffic sources.

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.