Children Tags Component for Smartphone

The template part to show the list of tags which is a child of this tag. This part is used in the Tag page.

The desktop browser version is Children Tags.


The appearance of children tags part is below.

smart phone child tags

This template part shows the child tags of the current page's tag. In order to calculate the child tags, it uses Keyword Tag's tree structure.

Edit the design

This template part consists of Html and Style Sheet.

Edit html

The Html to show the Child Tags is below.

This Html extracts "@cms_tag" array variable. This html is similar to Smartphone Tag of the Page.

Edit Style Sheet

The Style Sheet for the Html is below.

This style sheet is define the style for the div tag whose id is "#children-tags" and the inner Html elements.

Server Side Program

The server side program to get child tags object from the database is below.

This program does following operations.

  1. Get tag object of current page by SELECT SQL.
  2. Get child tags from database by SELECT SQL.

This part is for pages representing a keyword tag's content. This part is not available in pages which is not Tag Page.

Go to Top