Auto Review & Tips

Buy A Car

08 Jul 2013 / / Read More»

The Subaru XV

20 Jun 2013 / / Read More»

Blogger: New Template Editor

at Wednesday, 10 April 2013 [ 17:12 ]

blogger-launches-a-new-template-editor

Blogger has simplified the process of editing blogger templates by coming up with a new colorful inline code editor. The new editor also has an inline preview option which can display a preview of the changes that you have made.Blog’s HTML template is the code which gives life to the Blog’s look and feel. An upgrade to the editor is  really good move from the Blogger team which will help us in editing and maintaining the Template code in an easier way

Blogger Template Editor – What is it ?

Blogger template editor is the default editor provided by Blogger to edit your Blogger Templates. Template defines the structure and the visual dynamics of your blog, and the Editor helps in modifying it with HTML(or XML) tags.

Changes in the New Update Template Editor

The image will give you an idea of what has changed.

blogger-launches-an-updated-template-editor

As you can see Blogger has added more buttons to the Editor, and it now has a Syntax Highlighted code display. We will try to cover each of the new features in detail

Line numbers & Error Highlighting

The editor has line numbers on the left side, and this will help in locating lines easily when the Template Editor shows an error.

The image below clearly shows that I had made some error at line number 785. It even highlights the line where the error was made. This really makes it easier to locate which we make while editing the template.

blogger-template-editor-with-line-numbers

Syntax Highlighting & auto formatting

Blogger Template Editor now displays syntax highlighted code,which makes it easier to read and understand.This highlighting even helps you in avoiding mistakes when you type code. In the image above </p> is shown in red which immediately tells you that something is not right. Code will be automatically formatted and indented as you type.

Code Folding

With this new template editor, Blogger code is now foldable and it allows you to expand or collapse sections with ease.

You can collapse/expand most of the elements by clicking on the line number associated with the opening tag of the element

foldable-template-code-blogger

Inline Template Preview

The new editor offers an inline Template preview, which will help you to get a quick preview after making any changes in the template code.

preview-template

Jump to Widget Code

Jump to Widget option will help you in quickly navigating to a particular Widget in the template code.Click on the Widget name, and it will take you to the corresponding template Code.

jump-to-widget

Other Buttons

more-buttons-template-editor

This Format template button will help you in indenting your template code and at the click of a button. The Revert changes button is equivalent to the Clear edits button of the previous editor. This will just revert any unsaved changes which you have made.  The Revert widget templates to default button will revert any changes made in any of the Widget codes to blogger defaults.

In Built Search , Replace Functions

The Template Editor has an inbuilt search option which will help in finding something in the code easily.

search-within-the-template

You can get the search option by clicking anywhere within the template Editor and then using the keyboard shortcut Ctrl + F(Command + F on Mac). You can do Replace and Replace all using the shortcuts Ctrl + Shift + F and Ctrl+ Shift + R respectively

replace

replace-all

What’s Missing

The new Template Editor doesn’t have an option similar to Expand Widget Templates. The widget codes are folded by default and there is no easy way of unfolding all of these with a single click. But this doesn’t cause much trouble as the in built search function can search within the folded code as well.(If a match is found, the block will be unfolded). You might face trouble if you try to use the Find option of your Web Browser instead of using the inbuilt search.

Blogger keeps on changing the interface and upgrading so frequently that I will have a tough time updating the tutorials to reflect these changes ;-)

Ikuti kami melalui RSS 2.0.
Komen
Kongsi
Recomendations

Content left

Content right

Content left

footerwidget2

footerwidget1

footerwidget4

Content left

footerwidget3

Content right

Content right

Dunia

Berhenti jadi tali barut CIA

Caracas: Seorang menteri kerajaan Venezuela semalam menggesa rakyat negara itu menutup akaun Facebook bagi mengelak secara tidak langsung m...

11 Jul 2013 / 0 Comments
Perniagaan

PROTON Peraduan Nama Siapa Hebat?

"PROTON Peraduan Nama Siapa Hebat?" contest is organized by Perusahaan Otomobil Nasional Sdn Bhd (PROTON), and is open ...

25 Jun 2013 / 0 Comments
Teknologi

Zones Blog 5 benefits of Dell VRTX converged infrastructure

The Dell PowerEdge VRTX is a revolutionary new-generation platform for small and midsize businesses and organizations, as well as remote ...

11 Jul 2013 / 0 Comments
Personaliti

Tegar–Pengamen Jalanan

TEGAR PENYANYI JALANAN YANG KINI POPULAR "Dan tiadalah sesuatupun dari makhluk-makhluk yang bergerak di bumi melainkan Allah juala...

10 Jul 2013 / 0 Comments
Kerjaya

SAPURAKENCANA PETROLEUM BERHAD

SapuraKencana Petroleum Berhad has dominated the business relating to the management and distribution of oil, this company has become one o...

11 Jul 2013 / 0 Comments
Acara & Promosi

Jom Berbuka Puasa di Pearl International Hotel

Selamat Bulan Ramadhan kepada semua rakan-rakan Muslim dan juga rakan-rakan yang ingin berpuasa bersama-sama di Bulan Ramadhan ini. Set...

10 Jul 2013 / 0 Comments

Inilah Kehidupan, ISLAM itu bukanlah agama semata, ISLAM itu adalah kehidupan, mengajarkan kita setiap perkara mengenai kehidupan dari sekecil perkara sehingga sebesar perkara.