SOY CMS manual

Manual top

Item often used

The following entry[next_entry]

This block of each entry can be used on the page.

The link of the title and each entry in the following entry in the entry displayed now to the page is displayed in this block.

cms:id Tag Explanation
title All The title of the following entry is output.
entry_link a Links of the following each entries to the page are output.

"The following entry" is a list of the article on the blog of the management screen and an upper entry.

Example
<div b_block:id="next_entry">
<a cms:id="entry_link"><!-- cms:id="title" --><!--/cms:id="title" --></a>
</div b_block:id="next_entry">

<div b_block:id="prev_entry">
<a cms:id="entry_link"><!-- cms:id="title" --><!--/cms:id="title" --></a>
</div b_block:id="prev_entry">

The previous entry[prev_entry]

This block can be used in each entry page.

The link of the title and each entry in the entry before the entry displayed now to the page is displayed in this block.

cms:id Tag Explanation
title All The title of the previous entry is output.
entry_link a The link to entry previous page is output.

"Previous entry" is a list of the article on the blog of the management screen and a lower entry.

Example
<div b_block:id="next_entry">
<a cms:id="entry_link"><!-- cms:id="title" --><!--/cms:id="title" --></a>
</div b_block:id="next_entry">

<div b_block:id="prev_entry">
<a cms:id="entry_link"><!-- cms:id="title" --><!--/cms:id="title" --></a>
</div b_block:id="prev_entry">

Present category block[current_category]

This block can be used on the archive page.

Name of the category being displayed now is output.

It is not displayed in the archive page according to the moon (However, it is displayed in less than 1.2.2).

cms:id Tag Explanation
category_name All The name of a present category is output.
category_link A The link of a present category to the archive page is output.
Example
<!-- b_block:id="current_category" -->
<h2><a cms:id="category_link"><!-- cms:id="category_name" -->Title of category<!-- /cms:id="category_name"--></a></h2>
<!-- /b_block:id="current_category" -->

Present block at years[current_archive]

This block can be used on the archive page.

Years being displayed on the archive page according to the moon now are output.

When the day is specified on the archive page according to the category and the archive page according to the moon, it is not displayed.

cms:id Tag Explanation
archive_date All Present years are output. Cms:format can be specified. It is displayed like "June, 2008" when not specifying it.
archive_link A The link at present years to the archive page is output.

It is possible to use it since SOY CMS 1.2.2.

Example
<!-- b_block:id="current_archive" -->
    <h2><a cms:id="archive_link"><!-- cms:id="archive_month" cms:format="Y年m月" --><!-- /cms:id="archive_month" --></a></h2>
<!-- /b_block:id="current_archive" -->

Present years and category block[current_category_or_archive]

This block can be used on the archive page.

Years when the name of the category being displayed now is being displayed on the archive page according to the moon now are output in the archive page according to the category by the one that "Present category block" and "Present block at years" were combined.

cms:id Tag Explanation
archive_name All The name of a present years or category is output.
archive_link A The link at present years to the archive page or links of a present category to the archive page are output.

It is possible to use it since SOY CMS 1.2.4.

Example
<!-- b_block:id="current_category_or_archive" -->
    <h2><a cms:id="archive_link"><!-- cms:id="archive_name" cms:format="Y年m月" -->"Years and Month" or category name<!-- /cms:id="archive_name" --></a></h2>
<!-- /b_block:id="current_category_or_archive" -->

Entry block[entry]

This block of each entry can be used on the page.

When the content of each entry of a pertinent entry on the page is output, it is possible to use it.

 

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 part 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 entry 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 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 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 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" -->
<div>
<h2 cms:id="title">The title enters here. </h2>
<span cms:id="create_date" cms:format="Y/m/d">2008/03/17</span>
<p cms:id="content">The text enters here. </p cms:id="content">
<p cms:id="more">The postscript enters here. </p cms:id="more">
<span cms:id="create_time" cms:format="H:i">17:00</span>
<a cms:id="comment_link">Comment(<!-- cms:id="comment_count"--><!-- /cms:id="comment_count"-->)</a>
<a cms:id="trackback_link">Trackback(<!-- cms:id="trackback_count"--><!-- /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" -->

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>

Comment form[comment_form]

This block of each entry can be used on the page.

The form can be set up so that those who inspect it may contribute the comment to the entry in this block.

It is possible to confirm it on the comment and the management page contributed here.

Please use this block for the FORM tag.

cms:id Tag Explanation
title input Please set it to input input as a title of the contribution comment.
author input Please set it to input input as a contributor of the contribution comment.
body textarea Please set it to textarea input as a text of the contribution comment.
mail_address input Please set it to input input as a mail address of the contribution comment.
url input Please set it to input input as URL of the contribution comment.
Example
<form b_block:id="comment_form">
<p>Title:<input cms:id="title" /></p>
<p>Name:<input cms:id="author" /></p>
<p>Mail:<input cms:id="mail_address" /></p>
<p>URL:<input cms:id="url" /></p>
<p><textarea cms:id="body"></textarea></p>
<input type="submit" value="submit">
</form b_block:id="comment_form">

Comment list[comment_list]

This block of each entry can be used on the page.

The list of the contributed comment can be output to the entry in this block.

The comment set from the management page to the refusal is not displayed.

cms:id Tag Explanation
title All The title of the contribution comment is output.
author All The name of the contributor of the contribution comment is output.
body All The text part of the contribution comment is output.
submit_date All The contribution date of the contribution comment is output.
submit_time All The contribution time of the contribution comment is output.
url A URL of the contribution comment is generated.
mail_address A The mail address of the contribution comment is generated.
Example
<!-- b_block:id="comment_list" -->
<div>
<h5 cms:id="title" cms:alt="Non-title">Title</h5>
<a cms:id="mail_address"><!-- cms:id="author" cms:alt="Nameless" -->Name<!-- /cms:id="author" --></a>
|<!-- cms:id="submit_date" cms:format="Y-m-d"-->2008-03-17<!-- /cms:id="submit_date"-->
|<a cms:id="url">URL</a>
<div cms:id="body" cms:alt="Non-text">Text</div>
<span cms:id="submit_time" cms:format="H:i">17:52</span>
</div>
<!--/b_block:id="comment_list" -->

Trackback list[trackback_list]

This block of each entry can be used on the page.

The list of the contributed trackback can be output to the entry in this block.

The trackback set from the management page to the refusal is not displayed.

Please note no display if it doesn't set it to permission because the initial state is a refusal to the contributed trackback.

cms:id Tag Explanation
title All The title of the contributed track back is output.
url A URL of the contributed track back is generated.
blog_name All The blog name of the contributed track back origin is output.
excerpt All The summary of the blog article on the contributed track back origin is output.
submit_date All The date when the track back was contributed is output.
submit_time All Time when the track back was contributed is output.
Example
<ul>
<!-- b_block:id="trackback_list" -->
<li>
<h5 cms:id="title">Title</h5>
<a cms:id="url"><!-- cms:id="blog_name"-->Blog name<!-- /cms:id="blog_name"--></a>
<p cms:id="excerpt">Summary</p>
<span cms:id="submit_date" cms:format="Y/m/d H:i">2008/03/15 12:35</span>
</li>
<!--/b_block:id="trackback_list" -->
</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>

Track back URL has been output. [trackback_link]

This block of each entry can be used on the page.

URL to contribute the track back to this entry is output in this block.

Please use this block for the INPUT tag.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example
<input b_block:id="trackback_link">

Present block at date[current_archive_date]

This block can be used on the archive page.

The date being displayed on the archive page according to the moon now is output.

When the day is not specified on the archive page according to the category and the archive page according to the moon, it is not displayed.

cms:id Tag Explanation
archive_date All A present date is output. cms:format can be specified. It is displayed like "19 June, 2008" when not specifying it.
archive_link A The link at a present date to the archive page is output.

It is possible to use it since SOY CMS 1.2.2.

Example
<!-- b_block:id="current_archive_date" -->
<h2><a cms:id="archive_link">
<!-- cms:id="archive_date" cms:format="Y年m月d日" -->
<!-- /cms:id="archive_date" --></a></h2>
<!-- /b_block:id="current_archive_date" -->
1/1