SOY CMS manual
Item often used
Entry list block[entry_list]
This block can be used on top page and the archive page.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding entries.
All entries for top page in new order at the date
The entry on a pertinent category or years for the archive page in new order at the date
It outputs it respectively.
cms:id | Tag | Explanation |
---|---|---|
entry_id | All | ID of the object entry is output. |
title | All | The title of each entry of the object entry is output with the link to the page. |
title_plain | All | Only the title of the object entry is output (since 1.1.1). |
content | All | The text in the object entry is output. |
more | All | The postscript of the object entry is output. |
create_date | All | The creation date of the object entry is output. |
create_time | All | The making time of the object entry is output. |
entry_link | A | Links of each entries in the object entry to the page are generated. |
more_link | A | Links of each entries to which the postscript of the object entry is displayed to the page are generated. |
trackback_link | A | Links of each entries of which it is top is the trackback of the object entreis to the page are generated. |
trackback_count | All | The trackback number of object entries is output. |
comment_link | A | Links of each entries of which it is top is the comment on the object entry to the page are generated. |
comment_count | All | The number of comments of object entries is output. |
category_list | All | (1.2.4~) The block of the category applied to the object entry is output. Please use and set category_link described later and category_name. |
category_link | A | (1.2.4~) The link of the category applied to the object entry to the archive page is generated. It is possible to use it in above-mentioned category_list. |
category_name | All | (1.2.4~) The name of the category applied to the object entry is output. It is possible to use it in above-mentioned category_list. |
Example
<!-- b_block:id="entry_list" -->
<div>
<h2 cms:id="title">The title enters here. </h2>
<p cms:id="content">The text enters here. </p>
<a cms:id="more_link">Continuation is displayed. </a>
|<a cms:id="entry_link">This article is read. </a>
|<a cms:id="comment_link">Comment(<!-- cms:id="comment_count" -->0<!-- /cms:id="comment_count" -->)</a>
|<a cms:id="trackback_link">Trackback(<!-- cms:id="trackback_count" -->0<!-- /cms:id="trackback_count" -->)</a>
<p>
<!-- cms:id="category_list" -->
<a cms:id="category_link"><!-- cms:id="category_name" --><!-- /cms:id="category_name" --></a>
<!-- /cms:id="category_list" -->
</p>
</div>
<!-- /b_block:id="entry_list" -->
It has linked with the following. [next_link]
This block can be used on top page and the archive page.
It is possible to move to the following page including the entry when there is an entry more than entry number of cases displayed on each page or is an older entry by the link that this block generates.
"Old entry" is a list of the article on the blog of the management screen and a lower entry.
It is not displayed when there is no subsequent page.
Please use this block for A tag.
cms:id | Tag | Explanation |
---|---|---|
There is no cms:id that can be used in this block. |
Example
<a b_block:id="next_link">As follows</a b_block:id="next_link">
It has linked ahead. [prev_link]
This block can be used on top page and the archive page.
It is possible to move to the page before the entry is contained by the link that this block generates when there is an entry more than entry number of cases displayed on each page or is a newer entry.
"New entry" is a list of the article on the blog of the management screen and an upper entry.
When the previous page doesn't exist, this block is not displayed.
Please use this block for A tag.
cms:id | Tag | Explanation |
---|---|---|
There is no cms:id that can be used in this block. |
Example
<a b_block:id="prev_link">It is returns</a b_block:id="prev_link">
Top page link[top_link]
This block can be used on all the blog pages.
This block outputs the link of a pertinent blog to top page.
Please use this block for A tag.
cms:id | Tag | Explanation |
---|---|---|
There is no cms:id that can be used in this block. |
It is also possible to output URL to the top page of the blog name and the blog by the following formats.
Character string | Content | Version that can be used |
---|---|---|
@@blog_name; | Title of blog | |
@@blog_url; | URL of top page of blog | 1.2.3 The following |
Example
<a b_block:id="top_link">Top</a b_block:id="top_link">
Category list[category]
This block can be used on all the blog pages.
Information on the label used for the category division set to the blog is output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding categories.
cms:id | Tag | Explanation |
---|---|---|
category_link | A | The link of the object category to the archive page is generated. |
category_name | All | The name of the object category is output. |
entry_count | All | The number of entries that belong to the object category is output. |
Example
<ul>
<!-- b_block:id="category" -->
<li><a cms:id="category_link">
<!-- cms:id="category_name" --><!-- /cms:id="category_name" -->(<!-- cms:id="entry_count" -->0<!-- /cms:id="entry_count" -->)
</a>
</li>
<!-- /b_block:id="category" -->
</ul>
Archive list according to the moon[archive]
This block can be used on all the blog pages.
The contributed entry is totaled according to the moon and output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding moons.
cms:id | Tag | Explanation |
---|---|---|
archive_link | A | The link of the moon of the object to the archive page according to the moon is generated. |
archive_month | All | The moon of the object is output. |
entry_count | All | The number of entries contributed to the moon of the object is output. |
Example
<ul>
<!-- b_block:id="archive" -->
<li><a cms:id="archive_link">
<!-- cms:id="archive_month" --><!-- /cms:id="archive_month" cms:format="Y年m月" -->(<!-- cms:id="entry_count" -->0<!-- /cms:id="entry_count" -->)
</a>
</li>
<!-- /b_block:id="archive" -->
</ul>
Entry contributed recently list[recent_entry_list]
This block can be used on all the blog pages.
The block contributed recently is output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding entries.
The number of cases displayed here is the same as the display number on the RSS page that can be set on a set page.
cms:id | Tag | Explanation |
---|---|---|
entry_id | All | ID of the object entry is output. |
title | All | Only the title of the object entry is output. The link is not generated. |
entry_link | A | Links of each articles in the object entry to the entry page 9 ..(.. are generated. |
create_date | All | The contribution date in the object entry is output. |
create_time | All | The contribution time of the object entry is output. |
Example
<ul>
<!-- b_block:id="recent_entry_list" -->
<li>
<a cms:id="entry_link">
<!-- cms:id="title" -->The title enters here. <!-- /cms:id="title" -->
(<!-- cms:id="create_date" cms:format="m/i"-->03/17<!-- /cms:id="create_date" -->)
</a>
</li>
<!--/b_block:id="recent_entry_list" -->
</ul>
Comment contributed recently list[recent_comment_list]
This block can be used on all the blog pages.
The comment contributed recently is output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding comments.
The number of cases displayed here is fixation now by ten.
cms:id | Tag | Explanation |
---|---|---|
entry_title | All | The title of the entry to which the comment is contributed is output. |
title | All | The title of the contributed comment is output. |
author | All | The name of the contributed comment is output. |
submit_date | All | The contribution date of the contributed comment is output. |
submit_time | All | The contribution time of the contributed comment is output. |
entry_link | A | Links of each entry to which the comment is contributed to the entry page are output. |
Example
<ul>
<!-- b_block:id="recent_comment_list" -->
<li>
<a cms:id="entry_link">
<!-- cms:id="title" -->Title of comment<!-- /cms:id="title" -->
<br />=>
<!-- cms:id="entry_title" -->Title of entry<!-- /cms:id="entry_title" -->
[<!-- cms:id="submit_date" cms:format="m/d" -->03/17<!-- /cms:id="submit_date" -->]
</a>
</li>
<!--/b_block:id="recent_comment_list" -->
</ul>
Trackback contributed recently list[recent_trackback_list]
Thisblock can be used on all the blog pages.
The trackback list contributed recently is output.
It is a block, and the content of the block is output repeatedly repeating this block only as for the number of corresponding trackbacks.
The number of cases displayed here is fixation now by ten.
cms:id | Tag | Explanation |
---|---|---|
title | All | The title of the contributed trackback is output. |
url | A | URL of the blog of the contributed trackback origin is generated. |
blog_name | All | The name of the blog of the contributed trackback origin is generated. |
excerpt | All | The summary of the article on the blog of the contributed trackback origin is output. |
submit_date | All | The contribution date of the trackback is output. |
submit_time | All | The contribution time of the trackback is output. |
entry_link | A | Links of each entry in the entry to which the trackback is contributed to the page are generated. |
entry_title | All | The title of the entry to which the trackback is contributed is output. |
Example
<ul>
<!-- b_block:id="recent_trackback_list" -->
<li>
<a cms:id="entry_link">
<!-- cms:id="title" -->Title<!-- /cms:id="title" -->
<br />=><!-- cms:id="entry_title" -->Title of entry<!-- /cms:id="entry_title" -->
[<!-- cms:id="submit_date" cms:format="m/d" -->03/17<!-- /cms:id="submit_date" -->]
</a>
</li>
<!--/b_block:id="recent_trackback_list" -->
</ul>