02 April 2009

Showing only element in the next page

Choose one of the elements that appear only in front page blog, eg choose the elements of my label and open the Template-> Edit Html and do not forget to mark the box next to any posts smaller Expand Widget Templates. then search for any posts or code elements Label1. after the meet and place add two lines of code in the position of the text as I give it color.

Example:



<b:widget id="Label1" locked="false" title="" type="Label">
<b:includable id="main">
<b:if cond='data:blog.pageType == "item"'>

<- Only display title if it's non-empty ->
<b:if cond="data:title != """>
</ b: if> </ b: if> </ b: includable> </ b: widget> <h2 class="title"> <data:title> </ data: title> </ H2>

<div class="widget-content">
<data:content>
</ data: content>
</ div>

<b:include name="quickedit">

</ b: if>

</ b: includable>
</ b: widget>



Remember, just add the code that only the second.
You need to know each add an element of the default blogger gave the name according to the elements. eg elements Html / javascript in Html Rename, elements in the Link List Name LinkList, text elements in the Name text, in the Label Name label. and so on.
And add each element of the same elements eg text, then the blogger name with Text1, Text2, Text3 ff. Html / javascript Html1 so, Html2, Html3 and so on.

Or so easy to find elements that we add, good brother to give the title on each element. Suppose for a list of elements liks or linklist to the title bloggrol and so on.

No comments:

Post a Comment