This section is dedicated to developer in you. Browse the articles and make your YJSG theme unique.
------- Grid call function ---------------------- GRID NAME ------- MP START ------ MP END // MP = module position
yjsg_print_grid_area('yjsg1');-------------------| Grid 1 ---------- top1-----------top5
yjsg_print_grid_area('yjsg2');-------------------| Grid 2 ---------- adv1-----------adv5
yjsg_print_grid_area('yjsg3');-------------------| Grid 3 ---------- user1----------user5
yjsg_print_grid_area('yjsg4');-------------------| Grid 4 ---------- user6----------user10
yjsg_print_grid_area('yjsg5');-------------------| Grid 5 ---------- user11---------user15
yjsg_print_grid_area('yjsg6');-------------------| Grid 6 ---------- user16---------user20
yjsg_print_grid_area('yjsg7');-------------------| Grid 7 ---------- user21---------user25
yjsg_print_grid_area('yjsgheadergrid');----------| Header ---------- header1--------header3
yjsg_print_grid_area('yjsgbodytop');-------------| MB Top ---------- bodytop1-------bodytop3
yjsg_print_grid_area('yjsgbodybottom');----------| MB Bottom ------- bodybottom1----bodybottom3
yjsg_print_grid_area('toppanel');----------------| Top panel ------- tpan1----------tpan5
yjsg_print_grid_area('botpanel');----------------| Bottom panel ---- bpan1----------bpan5
<?php yjsg_print_grid_area($yjsg_grid_name,$add_width=true,$before,$after);?>
yjsgsitew ( main site width class ) to the grid like:
<div id="yjsg1" class="yjsg_grid yjsgsitew" />.<?php yjsg_print_grid_area('yjsg1',NULL,NULL,NULL);?>// just grid
<?php yjsg_print_grid_area('yjsg1');?>// just grid
<?php yjsg_print_grid_area('yjsg1,$add_width=true');?>// grid and width defined
<?php yjsg_print_grid_area('yjsg1,true');?>// grid and width defined
<?php yjsg_print_grid_area('yjsg1',NULL,'<div id="before">,'</div>');?> // grid inside the before div
<?php yjsg_print_grid_area('yjsg1',false,'<div id="before">,'</div>');?>// grid inside the before div
<?php yjsg_print_grid_area('yjsg1',$add_width=false,'<div id="before">,'</div>');?>// grid inside the before div
FALSE: $yjsg1_loaded----------------------------| top1-top5 $yjsg_header_loaded ---------------------| header1-header3 $yjsg2_loaded----------------------------| adv1-adv5 $yjsg3_loaded----------------------------| user1-user5 $yjsg_bodytop_loaded---------------------| bodytop1-bodytop3 $yjsg_bodybottom_loaded------------------| bodybootom1-bodybootom3 $yjsg4_loaded----------------------------| user6-user10 $yjsg5_loaded----------------------------| user11-user15 $yjsg6_loaded----------------------------| user16-user20 $yjsg7_loaded----------------------------| user21-user25 $yjsgTopPanel_loaded---------------------| tpan1-tpan5 $yjsgBotPanel_loaded---------------------| bpan1-bpan5
<div id="GRID_NAME" class="yjsg_grid"> //GRID_NAME eq: yjsg1
<div id="MODULE_POSITION_NAME" class="yjsgxhtml"> //MODULE_POSITION_NAME eq: user1
<div class="yjsquare modid(MODULEID) + SUFFIX IF DEFINED IN MODULE SUFFIX">//MODULEID eq: modid28
<div class="h2_holder">
<h2 class="module_title">
+ <span class="fa fa-ICON_NAME"></span>// IF ICON IS USED eq: fa fa-glass
Module title...
</h2>
</div>
<div class="yjsquare_in"> Module content ... </div>
</div>
</div>
-||-
-||-
-||-
-||-
</div>