<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Advanced</title>
		<description><![CDATA[Template Framework for Joomla]]></description>
		<link>https://www.yjsimplegrid.com/documentation/advanced.html</link>
		<lastBuildDate>Tue, 03 Oct 2023 01:49:09 +0000</lastBuildDate>
		<generator>Joomla! - Open Source Content Management</generator>
		<atom:link rel="self" type="application/rss+xml" href="https://www.yjsimplegrid.com/documentation/advanced.feed?limit=10&amp;type=rss"/>
		<language>en-gb</language>
		<managingEditor>youjoomla@gmail.com (YJ Simple Grid - CMS Template Framework)</managingEditor>
		<item>
			<title>Force module float</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/force-module-float.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/force-module-float.html</guid>
			<description><![CDATA[<p>
	The grids are setup so that by default if you have 1 module in the grid it will be as wide as the grid holder or if you have more modules in any given grid they will either get the assigned width value from template manager or they will split the holder width between themselves. In both cases you are not able to float them to a specific side without defining the floats and widths for them within css files.<br>
	<br>
	To make it easier for you we added <b>Force float</b> parameter in <b>Yjsg Module Options</b> tab that will let you force the module floats to specific side thus creating a gap between them or position them to the side you like.
</p>
<br>
<p>
	By selecting options <code>Float left</code> or <code>Float right</code> module will float to the defined side and it will also get assigned fixed width of the value you entered in <b>Force float width</b> parameter.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/mfloat.png" alt="mfloat">
	</span>
</p>
<br>
<h3>Here is how this would look like with 1 or 2 modules in a grid:</h3>
<span class="yjsg-sub-heading">no float:</span>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/mfloat1.png" alt="mfloat1">
	</span>
</p>
<br>
<span class="yjsg-sub-heading">float left:</span>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/mfloat2.png" alt="mfloat2">
	</span>
</p>
<br>
<span class="yjsg-sub-heading">no float:</span><br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/mfloat3.png" alt="mfloat3">
	</span>
</p>
<br>
<span class="yjsg-sub-heading">float left and float right:</span>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/mfloat4.png" alt="mfloat4">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Sun, 22 Jun 2014 14:01:47 +0000</pubDate>
		</item>
		<item>
			<title>Enable rich snippets</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/enable-rich-snippets.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/enable-rich-snippets.html</guid>
			<description><![CDATA[<p>
	Increase your website ranking with custom rich snippets ( microdata ) options. These settings will generate structured microdata (schema.org)
	code snippets that will boost your search engines ranking.
</p>
<ul>
	<h3 class="yjsg-sub-heading">available microdata types:</h3>
	<li>Article</li>
	<li>Blog posting</li>
	<li>News Article</li>
	<li>Medical Scholarly Article</li>
	<li>Tech Article</li>
	<li>Events</li>
	<li>Movies</li>
	<li>Product</li>
	<li>Book</li>
	<li>Recipe</li>
	<li>Video</li>
</ul>
<br>
<p>
	Article rich snippets can be activated in your article manager under the tab <b>Yjsg Rich Snippets</b>. This settings is <b>disabled</b> by default.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/richsnippets-lg.jpg" alt="richsnippets">
	</span>
</p>
<br/>
<p>
	Category rich snippets can be activated in Menu item manager under the tab <b>Yjsg Category Rich Snippets</b>. If set to yes, your category and its articles will get rich snippet type <b>CreativeWork</b> which is applicable to most generic kind of creative work, including books, movies, photographs etc. This settings is <b>disabled</b> by default.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/richsnippets2.png" alt="richsnippets2">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Fri, 27 Jun 2014 19:53:45 +0000</pubDate>
		</item>
		<item>
			<title>Extend article options</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/extend-article-options.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/extend-article-options.html</guid>
			<description><![CDATA[<p>
	YJSG v2 is completely modular and gives you a chance to extend each part of it as well as Joomla article options. If you look in <code>site_root/templates/eximium/custom/yjsgarticle/</code> folder you will find file name <code>yjsg_article.xml</code>.
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/yjsgarticle0.png" alt="yjsgarticle0">
	</span>
</p>
<p>
	We have placed one custom parameter inside as an example. You can use this file to add any additional options that you might need for your articles.
</p>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/yjsgarticle.png" alt="yjsgarticle">
	</span>
</p>
<br />
<p>
	To see this article parameter in action copy the html override from <code>plugins/system/yjsg/includes/html/com_content/article/default.php</code>
	<br />
	to <code>templates/eximium/html/com_content/article/</code> folder.
</p>
<div class="yjtbox yjtb_red lineup"><span class="yjtboxicon fa fa-exclamation-triangle"></span><h4 class="yjtboxtitle">Note</h4>
Please note that if you are using a template that was released prior to Yjsg v2, you would need to copy the file located in <code>plugins/system/yjsg/legacy/html/com_content/article/</code> folder.
</div> <br />
<p>
	Open the newly copied file and after the first php closing <code>?></code> add this snippet.
</p>
<h3 class="yjsg-sub-heading">snippet:</h3>
<pre class="prettyprint linenums">&lt;?php echo  $params-&gt;get(&#039;yjsg_custom_article_param&#039;) ?&gt; </pre> <br />
<p>
	Now go to your article view page and you will se the parameter output.
</p>
<br />
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="http://yjsimplegrid.com/images/docs/yjsgarticle2.png" alt="yjsgarticle2">
	</span>
</p>
<h3>
View Yjsg Article Options tab in frontpage article edit view
</h2>
<p>
	Yjsg Article Options tab is by default set to be visible only in administrator article manager. To see these optons tab in frontend please go to
	your template manager , tab <b>Advanced options</b> and set the parameter <b>Show extra article options to?</b> to desired user groups.
</p>
<br />
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="http://yjsimplegrid.com/images/docs/yjsgarticle3.png" alt="yjsgarticle3">
	</span>
</p>
<br />
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="http://yjsimplegrid.com/images/docs/yjsgarticle4.png" alt="yjsgarticle4">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Fri, 27 Jun 2014 20:22:44 +0000</pubDate>
		</item>
		<item>
			<title>Using LESS Compiler</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/using-less-compiler.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/using-less-compiler.html</guid>
			<description><![CDATA[<p>
	Since YJSG comes with support for
	<a href="http://twitter.github.com/bootstrap/" target="_blank">
		Twitter Bootstrap
	</a>
	which is based on
	<a href="http://lesscss.org/" target="_blank">
		LESS CSS
	</a>
	, we included <code>lessphp</code> class by
	<a href="http://lessphp.gpeasy.com/" target="_blank">
		Gpeasy.com
	</a>
	that compiles your LESS CSS files in to one CSS file.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/lesscompiler.png" alt="lesscompiler">
	</span>
</p>
<br>
<h2> LESS compiler settings</h2>
<p>
	There are 4 compiler settings that you can use in order to take advantage of lessphp class:
</p>
<h3 class="yjsg-sub-heading"> Select Bootstrap version: </h3>
<p>
	Here you can select which bootstrap version to use. You also turn Bootstrap off and use YJSG only which can tremendously speed up your website.
</p>
<h3 class="yjsg-sub-heading">Compile CSS files: </h3>
<p>
	Once you are done editing your website, set this ON so that all your CSS files get compressed into one stylesheet.
</p>
<h3 class="yjsg-sub-heading">Compress compiled CSS: </h3>
<p>
	If set to YES, this setting will compile and compress your generated CSS file and reduce the file size.
</p>
<h3 class="yjsg-sub-heading">Ajax Frontend Recompile:</h3>
<p>
	This setting is mostly used by developers to see immediate changes to CSS/LESS files while editing. If this setting is set to YES recompile process will run in background via AJAX and it will not slow down first page load. Note that after any LESS/CSS file change you would need to wait few seconds and the script will do "hard refresh" so you can see the changes. If this setting is set to NO first page load will be slow until files are recompiled but you will see changes immediately.
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Sun, 22 Jun 2014 14:04:57 +0000</pubDate>
		</item>
		<item>
			<title>Using Custom CSS file</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/using-custom-css-file.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/using-custom-css-file.html</guid>
			<description><![CDATA[<p>
	Every YJSG based template comes with <code>custom.css</code>. Custom.css is loaded as a very last file in header thus you have an option to override any CSS declaration from your template or extensions. We strongly encourage you to use this file to make any modification you might need.
<br/>This way when there is a template update your overrides will still be in effect.
</p>
<p> Once you activate the custom.css in template manager, custom.css file will be placed in <code> site_root/templates/yjsg_template_name/css</code> folder.</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/customcss2.png" alt="customcss2">
	</span>
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/customcss.png" alt="customcss">
	</span>
</p>
<br/>
<div class="yjtbox yjtb_blue radiusb5 lineup"><span class="yjtboxicon fa fa-info-circle fa-lg"></span><h4 class="yjtboxtitle">Using custom.css for responsive add-ons</h4>
<p>
Please use custom.css file for all your CSS overrides or add-ons even responsive layouts. See example below for responsive layouts override.
</p>
</div>
<br/>
<h3 class="yjsg-sub-heading">change module and article title font size on screens smaller than 980px:</h3>
<pre class="prettyprint linenums">@media screen and (max-width: 979px){
.module_title,
.article_title{
font-size:50px;
}
}</pre>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Sun, 22 Jun 2014 14:03:36 +0000</pubDate>
		</item>
		<item>
			<title>Extend module options</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/extend-module-options.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/extend-module-options.html</guid>
			<description><![CDATA[<p>
YJSG v2 is completely modular and gives you a chance to extend each part of it as well as Joomla module options. If you look in <code>site_root/templates/eximium/custom/yjsgmoduleoptions/</code> folder you will find file name <code>yjsg_module_options.xml</code>.
</p><br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/yjsgmoduleoptions.png" alt="yjsgmoduleoptions">
	</span>
</p>
<p>
We have placed additional module styles parameters in there as an example. You can use this file to add any additional options that you might need for your modules.
</p>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/yjsgmoduleoptions1.png" alt="yjsgmoduleoptions1">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Fri, 27 Jun 2014 20:35:18 +0000</pubDate>
		</item>
		<item>
			<title>Add custom shortcodes</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/add-custom-shortcodes.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/add-custom-shortcodes.html</guid>
			<description><![CDATA[<div class="yjtbox yjtb_blue radiusb5 lineup"><span class="yjtboxicon fa fa-info-circle fa-lg"></span><h4 class="yjtboxtitle">Requirement</h4>
<p>
	Please note that extending Yjsg shortcode function requires extended knowledge of PHP, Javascript, HTML and CSS.
</p>
</div> <br/>
<p>
	YJSG v2 is completely modular and gives you a chance to extend each part of it as well as built in Yjsg shortcodes. If you look in <code>site_root/templates/eximium/custom/yjsgshortcodes/</code> folder you will find extended shortcode example for link shortcode.
</p>
<p>
	Please use these files as a template for extending Yjsg shortcode function.<br/>The simple way is to keep on adding own shortcodes to existing <code>$shortcodes</code> array inside the <code>yjsg_shortcode.php</code> file and build additional case for your shortcode inside the <code>yjsg_shortcodes_replace.php</code> file.
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/customshortcode1.png" alt="customshortcode1">
	</span>
</p>
<h3 class="yjsg-sub-heading">link shortcode example:</h3>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/customshortcode.png" alt="customshortcode">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Fri, 27 Jun 2014 20:46:08 +0000</pubDate>
		</item>
		<item>
			<title>Top menu inside header</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/top-menu-inside-header.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/top-menu-inside-header.html</guid>
			<description><![CDATA[<p>
	YJSG comes with the option to place the top menu next to the logo faster and easier.<br>
	Go to template manager tab <b>Top Menu</b> and set parameter <b>Top menu location</b> to <b>In header</b> an hit save.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/topmenu0.png" alt="topmenu0">
	</span>
</p>

<p>
	This option will move your menu from it's default position:
</p>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/topmenu.png" alt="topmenu">
	</span>
</p>
<br>
<p>
	next to your website logo:
</p>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/topmenu1.png" alt="topmenu1">
	</span>
</p>
<br>
<p>
To adjust your top menu position just add following code to <code> site_root/templates/yjsg_template_name/css/custom.css</code> file:
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">#topmenu_holder{
margin-top:15px;
}</pre>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/topmenu2.png" alt="topmenu2">
	</span>
</p>
<br>
If you wish to float your menu, just add float to <code>#top_menu</code> div id: <br>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">#topmenu_holder{
margin-top:15px;
float:right;
}</pre>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/topmenu3.png" alt="topmenu3">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Sun, 22 Jun 2014 14:02:11 +0000</pubDate>
		</item>
		<item>
			<title>Using grid print function</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/using-grid-print-function.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/using-grid-print-function.html</guid>
			<description><![CDATA[<h2>Default grids functions:</h2>
Your YJSG based template comes with 12 default grids and gives you the option to <strong>
	<a href="http://yjsimplegrid.com/documentation/extend/adding-new-modules-grid-to-yjsg-based-template.html">
		add more
	</a>
	</strong>. Here are the default grids and their modules positions names: <br>
<br>
<pre class="prettyprint linenums">------- Grid call function ---------------------- GRID NAME ------- MP START ------ MP END // MP = module position 
yjsg_print_grid_area(&#039;yjsg1&#039;);-------------------| Grid 1 ---------- top1-----------top5
yjsg_print_grid_area(&#039;yjsg2&#039;);-------------------| Grid 2 ---------- adv1-----------adv5
yjsg_print_grid_area(&#039;yjsg3&#039;);-------------------| Grid 3 ---------- user1----------user5
yjsg_print_grid_area(&#039;yjsg4&#039;);-------------------| Grid 4 ---------- user6----------user10
yjsg_print_grid_area(&#039;yjsg5&#039;);-------------------| Grid 5 ---------- user11---------user15
yjsg_print_grid_area(&#039;yjsg6&#039;);-------------------| Grid 6 ---------- user16---------user20
yjsg_print_grid_area(&#039;yjsg7&#039;);-------------------| Grid 7 ---------- user21---------user25
yjsg_print_grid_area(&#039;yjsgheadergrid&#039;);----------| Header ---------- header1--------header3
yjsg_print_grid_area(&#039;yjsgbodytop&#039;);-------------| MB Top ---------- bodytop1-------bodytop3
yjsg_print_grid_area(&#039;yjsgbodybottom&#039;);----------| MB Bottom ------- bodybottom1----bodybottom3
yjsg_print_grid_area(&#039;toppanel&#039;);----------------| Top panel ------- tpan1----------tpan5
yjsg_print_grid_area(&#039;botpanel&#039;);----------------| Bottom panel ---- bpan1----------bpan5</pre>
<br/>
<h2>Grid function explained</h2>
<div class="yjsg-example">Grid function has 4 attributes that u can use:<br>
	<pre class="prettyprint linenums">&lt;?php yjsg_print_grid_area($yjsg_grid_name,$add_width=true,$before,$after);?&gt;</pre> <br>
	<br>
	<ul>
		<li><strong>$yjsg_grid_name</strong> - grid name as in yjsg1 | see complete list of grid names above.</li>
		<li><strong>$add_width=true</strong> - will add class name <code>yjsgsitew</code> ( main site width class ) to the grid like: <code>
			&lt;div id="yjsg1" class="yjsg_grid yjsgsitew" /&gt;.</code></li>
		<li><strong>$before</strong> - anything you want before the grid including additional module positions,</li>
		<li><strong>$after</strong> - closing of what you started in $before IF you did not close it already or anything you want to add AFTER the grid.</li>
	</ul>
</div>
<br/>
<h3 class="yjsg-sub-heading">grid function can be echoed or simply called:</h3>
<pre class="prettyprint linenums">&lt;?php yjsg_print_grid_area(&#039;yjsg1&#039;,NULL,NULL,NULL);?&gt;//  just grid
&lt;?php yjsg_print_grid_area(&#039;yjsg1&#039;);?&gt;//  just grid
&lt;?php yjsg_print_grid_area(&#039;yjsg1,$add_width=true&#039;);?&gt;// grid and width defined
&lt;?php yjsg_print_grid_area(&#039;yjsg1,true&#039;);?&gt;// grid and width defined
&lt;?php yjsg_print_grid_area(&#039;yjsg1&#039;,NULL,&#039;&lt;div id=&quot;before&quot;&gt;,&#039;&lt;/div&gt;&#039;);?&gt; // grid inside the before div 
&lt;?php yjsg_print_grid_area(&#039;yjsg1&#039;,false,&#039;&lt;div id=&quot;before&quot;&gt;,&#039;&lt;/div&gt;&#039;);?&gt;// grid inside the before div
&lt;?php yjsg_print_grid_area(&#039;yjsg1&#039;,$add_width=false,&#039;&lt;div id=&quot;before&quot;&gt;,&#039;&lt;/div&gt;&#039;);?&gt;// grid inside the before div</pre>
<br/>
<h3 class="yjsg-sub-heading">using grid loaded hooks</h3>
For easy check if specific grid is loaded ( present ) on the page , we have created simple <strong>
	<a href="http://www.php.net/manual/en/language.types.boolean.php" target="_blank">
		boolean
	</a>
	</strong>variables that you can use. Default is <code>FALSE</code>: <br>
<br>
<pre class="prettyprint linenums">$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</pre>
<br>
<h3 class="yjsg-sub-heading">HTML Grid Output</h3>
<pre class="prettyprint linenums">&lt;div id=&quot;GRID_NAME&quot; class=&quot;yjsg_grid&quot;&gt; //GRID_NAME eq: yjsg1
    &lt;div id=&quot;MODULE_POSITION_NAME&quot; class=&quot;yjsgxhtml&quot;&gt; //MODULE_POSITION_NAME eq: user1
        &lt;div class=&quot;yjsquare modid(MODULEID) + SUFFIX IF DEFINED IN MODULE SUFFIX&quot;&gt;//MODULEID eq: modid28
            &lt;div class=&quot;h2_holder&quot;&gt;
                &lt;h2 class=&quot;module_title&quot;&gt; 
                    + &lt;span class=&quot;fa fa-ICON_NAME&quot;&gt;&lt;/span&gt;// IF ICON IS USED eq: fa fa-glass
                    Module title... 
                &lt;/h2&gt;
            &lt;/div&gt;
            &lt;div class=&quot;yjsquare_in&quot;&gt; Module content ... &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    -||-
    -||-
    -||-
    -||- 
&lt;/div&gt;</pre>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Sun, 22 Jun 2014 14:05:52 +0000</pubDate>
		</item>
		<item>
			<title>Using Custom params file</title>
			<link>https://www.yjsimplegrid.com/documentation/advanced/using-custom-params-file.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/advanced/using-custom-params-file.html</guid>
			<description><![CDATA[<p>
	YJSG based templates come with <code> yjsg_custom_params.php</code> file which is a magic bullet for all developers. This file is located in <code>site_root/templates/yjsg_template/custom/</code> folder and it "sees" all template parameters, functions and settings which gives you the power to override them. It is very easy to make your own conditions and have your template act on them.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/customparams.png" alt="customparams">
	</span>
</p>
<br>
For your convenience here is the list of few custom parameters you can override and control trough <code>yjsg_custom_params.php</code> file: <br>
<br>
<pre class="prettyprint linenums">-- JOOMLA DOCUMENT TYPE EXAMPLES --
$document = &amp;JFactory::getDocument();
$document-&gt;addStyleSheet(JURI::base() . &#039;location/css/style.css&#039;);
$document-&gt;addScript(&#039;&#039;);
$document-&gt;addScriptDeclaration(&quot;jQuery.noConflict();&quot;);
$document-&gt;addCustomTag(&#039;&#039;);
$document-&gt;addScriptDeclaration(&quot;&quot;);
//////////////////////////// 
////////////////////////////   
-- IF STATEMENTS VARS --
$text_direction == 1------------------------| RTL is on
$topmenu_off == 2 || $itemid == 0 ----------| Top menu is on 
$selectors_override ==1 --------------------| Selectors override is on -  css , google font , cufon , squirrel
$selectors_override_type -------------------| 1 = CSS | 2 = Google | 3 = @font-face
$default_menu_style ------------------------| 1 = YJ Mega CSSDropdown | 2 = YJ Mega SMoothDropdown | 
--------------------------------------------| 3 = YJ Mega SMoothDropline | 4 = YJ Mega CSSDropline | 5= Split Menu
--------------------------------------------| 6 = Module position topmenupoz
$responsive_on == 1 ------------------------| yjresponsive.css and yjresponsive.js are loaded
$yjsg_mobile -------------------------------| all mobile devices   use as    if($yjsg_mobile) do something
$midblock_off ------------------------------| &lt;jdoc:include type=&quot;component&quot;  /&gt; and surrounding divs are disabled.
--------------------------------------------| use as   if(!$midblock_off) mid block is ON do what I need
//////////////////////////// 
//////////////////////////// 
--GRID LOADED CHECK--
check if grid is loaded with these variables. Default is false. 
Description is advising what module positions the grid contains
$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
//////////////////////////// 
//////////////////////////// 
-- CUSTOM JS --
use var name  $yjsg_js .= 
Example:
$yjsg_js.=&quot;var myVar =&#039;my_js_var;&#039;&quot;;
// note
dont forget the dot before = operator
For better performance and cleaner head tags
$yjsg_js is echoed at the end of the page in layouts/yjsg_footer.php
//////////////////////////// 
//////////////////////////// 
-- CUSTOM COLOR STYLING --
custom color styling based on link color. use $cc_color ( custom color css ) variable to declare css properties
use if($css_file == &#039;gray&#039;){} for specific stylesheets
//////////////////////////// 
$yjsg_color-&gt;darker(&#039;10%&#039;) makes the color 10% darker based on the link color
$yjsg_color-&gt;lighter(&#039;10%&#039;) makes the color  10% lighter based on the link color
//////////////////////////// 
use those 2 methods to make auto colors based on percentage
Use this example to see result. Just add below $cc_css:
//////////////////////////// 
$cc_css.=&quot;a.readon{background:&quot;.$style_color.&quot;;}&quot;;
$cc_css.=&quot;.button,.validate,a.readon:hover{background:&quot;.$yjsg_color-&gt;darker(&#039;10%&#039;).&quot;;}&quot;;</pre>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Advanced</category>
			<pubDate>Sun, 22 Jun 2014 14:04:03 +0000</pubDate>
		</item>
	</channel>
</rss>
