SOY CMSマニュアル

Manual top

Management of Mobile Page

About a mobile template

1. About the template

It is necessary to design the template on a mobile page in consideration of the layered structure of the page map unlike other pages and blogs.

And, there are some special, mobile blocks to treat those layered structures.

2. About a mobile block

A portable page is composed of the tree structure like the page map.

A mobile block only for some portable pages exists to use this tree structure.

A mobile block

m_block="***" 

It uses it specifying it for. Please see of a mobile block about each operation of a mobile block.

The main contents[main]

This block is used to display contents that become mains on a portable page.

cms:id Tag Explanation
entry_id All ID of the object entry is output.
title All The title of the object entry is output.
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.
Example

Title of present page[current_page_title]

The title of a present page is displayed.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

It had displayed it when there was no child. [no_child]

When a present page doesn't include a child page alone, it displays it.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

Link to present page[current_page_link]

The link of pages being displayed now is output.

Please use this block for A tag.

cms:id Tag Explanation
There is no cms:id that can be used in this block.

Link to the following division page[next_page_link]

When a present page extends to two or more pieces and exists, the link to the following division page is generated.

The example) If present is a mini page of 1/3, the link of 2/3 to the mini page is generated.

Please use this block for A tag.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

Link to the previous division page[prev_page_link]

When a present page extends to two or more pieces and exists, the link to the previous division page is generated.

The example) If present is a mini page of 2/3, the link of 1/3 to the mini page is generated.

Please use this block for A tag.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

Position of present division page[current_pager]

Whether the entire piece how many a present division page hits when a present page extends to two or more pieces and exists is displayed.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

The maximum number of partitions on present page[max_pager]

When a present page extends to two or more pieces and exists, the maximum number of partitions on the page is displayed.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

Link to parents page[parent_page_link]

The link of a present page to the parents page is generated.

Please use this block for A tag.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

Title of parents page[parent_page_title]

The title of the parents page on a present page is displayed.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

List of elder brother page[prev_sibling_page_list]

The list of the elder brother page (It is this hierarchy and a page from me that exists in the high rank) on a present page is output.

cms:id Tag Explanation
page_title * The title is output.
page_link A The link to the object page is generated.
Example

List of younger brother page[next_sibling_page_list]

The list of the younger brother page (It is this hierarchy and a page from me that exists in the subordinate position) on a present page is output.

cms:id Tag Explanation
page_title * The title is output.
page_link A The link to the object page is generated.
Example

It had displayed it when there was a brother. [has_siblings]

Only when the brother page exists, it displays it.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

It had displayed it when there was no brother. [no_siblings]

It displays it when there is no brother alone.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

List of child page[child_page_list]

The list of the child page on a present page is displayed.

cms:id Tag Explanation
page_title * The title is output.
page_link A The link to the object page is output.
Example

It had displayed it when there was a child. [has_child]

When a present page includes only the child page, it displays it.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

Link to top page[root_page_link]

The link to the page that hits top page (root page) on a present portable page is output.

Please use this block for A tag.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example

Title of top page[root_page_title]

The title of the page that hits top page (root page) on a present portable page is output.

cms:id Tag Explanation
There is no cms:id that can be used in this block.
Example
1/1