Items filtered by date: December 2012
Example1:
Case1:
Case2:

Case3:

Case4:

Sep, 2011
Customize a block with position tag
Example 1:
Do you want the width of position in the block is equal?You will declare tags like as fllowing:

The result is positions: user3, user4, user5, user6 will has width = Layout width / 4. HTML of block spotlight1 is:

Example 2:
Do you want to create some positions in block has specific width and rest of positons are equal width?You will declare tags like as fllowing:

The result of user3 has width is 400px and user4, user5, user6 has width is (Layout width – 400) / 3. HTML code of spotlight1 like as following:

Example 3: The block example declares "offset":

The user3, user4, user5, user6 has width=(Layout width - 50 )/4. HTML code of spotlight1 like as following:

Example 4: The block example declares "group":

HTML code of footer2 like as following:

Sep, 2011
Tag "position"
Attributes of Position:
- Width attribute: This is width of position.
- Height attribute: This is height of position.
- Type attribute: There're 5 types: modules, component, message, html, feature
- Module type: The position contains modules which is enable in there.

- Component type: The position contains component which system is calling.

- Message type: The position will show messages of system if it sees specific case.

- HTML type: The position will contain HTML code which is declared. HTML code will be declared in

- Feature type: The content of position will be rendered from function that was declared. Those functions are in yt_template.class.php file on the path: root_site/template/your_template/includes/
@menu - getMenu()
@logo - getLogo()
@linkFooter - getLinkFooter()
@fontsize - getControlFontSize()
@copyright - $this->getCopyright();
@switch_modes - getSwitchModes()
- Group attribute: This attribute declared which group is of position
- Style attribute: This attribute just only used for position tag which has type="module". It declares style of module in position. Style of module is defined in root_site/template/system/html/modules.php or root_site/template/your_template/html/modules.php.
- Colspan attribute: This attribute just only for positions of and positions of block which declares group. Colspan has two 2 values: 0 and 1. The default value is 0 and it's unnecessary to declare. When colspan="1", width of positon is 100%.
- Column attribute: This attribute use for position of . It has two values: yt_col1 and yt_col2 which correspond to div#yt_col1 and div#yt_col2 in div#content. Usually, div#content is divided two big columns: div#yt_col1 và div#yt_col2. The position will be in the column which it is declared.
Sep, 2011
The Tags at Level 1 in the Blocks Tag
Example Image for Document Tree of blocks tag:

The "block"(header1, header2, menu, ...) is ordered from top to bottom of the site with "order" attribute. The width of body of blocks is equal "Template Width"
Blocks' name:
You can declare the same or diffirence names. You must use "content" tag and that is unique "content" tag to used.Attributes:
- Id attribute: This is id of div html tag. Don't declare coincided id.
- Order attribute: This attribute must be declared. It is used for ordering blocks follow increased arrangement. The ordering to show blocks is from top to bottom site.
- Autosize attribute: This attribute can be declared or not. It has two values: 0 and 1. The default value is "1". The block which can't calculate width of positions automaticlally will declare autosize="0".
- Offset attribute: If you want to calculate width of positions base on general width which is Layout width minus some quantities, you have to declare minus quantities by "offset" attribute.
E.g.: general width = 1024 – 50 --> declare: offset=”50px” - showDivTop attribute, showDivBottom attribute: These are two separate attributes of "content" tag. It has two values: 0 and 1. The default value is "0". Three html div tags is added "div#content" tag and they're used for template which has complicated style.
Example:
Sep, 2011
Tag "groups", tag "group"
The "groups" tag has child group tags. They're used for declaring group of positions. The group tag has following attributes:

Declare the group: left, right, main in the file layout_name.xml (your_template/layouts/layout_name.xml) ...

Will have priority in administrator(Administrator/Template Manager/your_template/)

- Width: This is width of group and used for calculating width of positions in that group.
- Height: This is limited height of group. Usually, group will declare height=""

Declare the group: left, right, main in the file layout_name.xml (your_template/layouts/layout_name.xml) ...

Will have priority in administrator(Administrator/Template Manager/your_template/)

Sep, 2011
Tag "head"
The "Head" tag has two child tags: "stylesheet" and "script". They're used for declaring stylesheet and javascript which you want to add into your template besides available others in Yt Framework.
Example:

Example:

- "stylesheet" tag: file .css(style1.css) in the path : root_site/templates/your_template/css/
- "script" tag: file .js(script1.js) in the path: root_site/templates/your_template/js/
Jan, 2016
SJ Youtube Userguide
This documentation will be update soon!
Nov, 2015
SJ Super Category for Content Userguide
This documentation will be update soon!
Nov, 2015
SJ Search Pro for Virtuemart Userguide
The module user guide will be updated soon.
Feb, 2015
SJ Listing Tabs for Content Userguide
Let's go HERE for reading full help documentation of SJ Listing Tabs for Content!

