<?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>Extend</title>
		<description><![CDATA[Template Framework for Joomla]]></description>
		<link>https://www.yjsimplegrid.com/documentation/extend.html</link>
		<lastBuildDate>Tue, 03 Oct 2023 01:48:18 +0000</lastBuildDate>
		<generator>Joomla! - Open Source Content Management</generator>
		<atom:link rel="self" type="application/rss+xml" href="https://www.yjsimplegrid.com/documentation/extend.feed?type=rss"/>
		<language>en-gb</language>
		<managingEditor>youjoomla@gmail.com (YJ Simple Grid - CMS Template Framework)</managingEditor>
		<item>
			<title>Module title icons</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/module-title-icons.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/module-title-icons.html</guid>
			<description><![CDATA[<p>
	YJSG comes with over 400 font icons by
	<a href="http://fortawesome.github.io/Font-Awesome/" target="_blank">
		FontAwesome
	</a>
	that you can place before or after the module title.<br>
	To set this up go to module manager, click on Yjsg Module Options tab and click on any icon you like. The icon before/after inputbox will be filled in automatically. You can also start typing the icon name. The icon you are looking for will be placed on top of the list. <br>
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/moduleicons2.png" alt="moduleicons2">
	</span>
</p>
<br>
<p>
	you can than transform your module titles from simple text to something like this:
</p>
<br>
<p>
</p>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/moduleicons.png" alt="moduleicons">
	</span>
</p>
]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:55:59 +0000</pubDate>
		</item>
		<item>
			<title>Activate sliding panels</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/activate-sliding-panels.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/activate-sliding-panels.html</guid>
			<description><![CDATA[<h2> Slide me some content </h2>
<p>
	All YJSG based templates come with 3 sliding panels that you can use to populate your content. Sliding panels are completely responsive and are visible on all devices. Their locations are:
</p>
<ul>
	<li> Page top above header - contains 5 modules grid  with module positions names <span class="yjt_label yjtb_green">tpan1 - tpan5</span></li>
	<li> Page bottom below footer - contains 5 modules grid <span class="yjt_label yjtb_green">bpan1 - bpan5</span>
	</li>
	<li> Page left side - contains 1 module position with name <span class="yjt_label yjtb_green">sidepanel</span></li>
</ul>
<br>
<h3> Top Panel </h3>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/slidingpanels2.png" alt="slidingpanels2">
	</span>
</p>
<br>
<h3> Bottom Panel </h3>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/slidingpanels3.png" alt="slidingpanels3">
	</span>
</p>
<br>
<h3> Side Panel </h3>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/slidingpanels4.png" alt="slidingpanels4">
	</span>
</p>
<br>
<h2> Panels settings </h2>
<p>
	Panels can  be activated all at once or individually. To activate sliding panel just publish your module in any of module positions mentioned above. Panels settings including the width adjustments for modules in top and bottom panel, can be found in template manger<br/>under the tab name <b> Layout </b>.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/slidingpanels1.png" alt="slidingpanels1">
	</span>
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/slidingpanels1_1.png" alt="slidingpanels1_1">
	</span>
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/slidingpanels1_2.png" alt="slidingpanels1_2">
	</span>
</p>
<br>
<h2> Panels styling </h2>
<p>
	Panels are very easy to style and they do not contain any images. <br>
	Default panels style is located in <code> site_root/templates/yjsg_based_template/css/yjsg_layout.css </code>.<br>
	Panels default background color is white but it can be changed with few simple CSS rules.
</p>
<br>
<pre class="prettyprint linenums">/* top panel container */
#yjsg_toppanel_slide {
background:#0ebcd1;
color:#fff;
border-bottom:1px solid #098594;
}
/* top panel open/close button */
#yjsg_toppanel_open {
background:#0ebcd1;
color:#000;
border:1px solid #098594;
}
/* side panel container */
#yjsg_sidepanel_slide{
}
/* side panel open/close button */
#yjsg_sidepanel_open{
}
/* bottom panel container */
#yjsg_botpanel_slide{
}
/* bottom panel open/close button */
#yjsg_botpanel_open{
}</pre> <br>
<p>
	The above code would result in following top panel style
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/slidingpanels5.png" alt="slidingpanels5">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:51:19 +0000</pubDate>
		</item>
		<item>
			<title>Simple rounded corners</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/simple-rounded-corners.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/simple-rounded-corners.html</guid>
			<description><![CDATA[<p>
	To slim down the markup and make rounded corners faster and easier to understand we have used simple CSS class <code>.addround</code><br />
	with default <code>5px</code> border radius.
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">.addround {
-webkit-border-radius:5px;
-khtml-border-radius:5px;
-moz-border-radius:5px;
border-radius:5px;
border:1px solid #999;
margin:5px;
}</pre><br/>
<p>
	To activate rounded corners for your module just go in template manager, tab <b>Layout</b> hover over the module position,<br />
	click on top left icon, select <b>Round</b> and hit save.<br/>
	<br />
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/roundedcorners.png" alt="roundedcorners">
	</span>
</p>
<br>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/roundedcorners2.png" alt="roundedcorners2">
	</span>
</p>
<br>
<p>
	With small CSS change  you can turn your default rounded corners in to this:
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">.addround{
background: #40b1e2;
border:none;
box-shadow:inset 0px -100px 100px #329dcc;
color:#fff;
}
.addround .module_title,
.addround a{
color:#fff;
}
.addround a:hover,
.addround a:focus{
color:#121212;
}</pre> <br>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/roundedcorners3.png" alt="roundedcorners2">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:56:26 +0000</pubDate>
		</item>
		<item>
			<title>Adding custom Javascript</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/adding-custom-javascript.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/adding-custom-javascript.html</guid>
			<description><![CDATA[<p>
	There are several ways to include your custom Javascript code in to Joomla. In this tutorial we will explain how to use them and which one is better depending on the code that you like to include.
</p>
<h2>Trough template manager</h2>
<p>
	YJSG template administration comes with <b>Custom code</b> tab that you can use to add your custom javascript snippets to template head or footer.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/add_javascrip_template_manager.png" alt="add_javascrip_template_manager">
	</span>
</p>
<h2>Using JDocument</h2>
<p>
	In joomla you can use
	<a href="http://docs.joomla.org/JDocument" target="_blank">
		JDocument
	</a>
	class to add custom Javascript files or block of Javascript code in <code>head</code> section of your template.<br>
	This first example shows how to add custom Javascript file in YJSG based template.<br>
	For your convenience you can use file name <code>yjsg_custom_params.php</code> to add any custom files or code blocks. <br>
	This file is located in <code>site_root/template/yjsg_template_name/custom/</code> folder.
</p>
<br>
<h3>Adding custom Javascript file via JDocument/addScript</h3>
<p>
	First move your Javascript file to <code>site_root/template/yjsg_template_name/src/</code> folder , open <code>yjsg_custom_params.php</code> and add this line.
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">$document-&gt;addScript($yj_site.&#039;src/my_new_js_file.js&#039;);</pre> <br>
<h3>Adding custom file via $YjsgCustomJS array</h3>
<p>
	This option is specific to YJSG based templates only and is used to load your Javascript file after all template scripts and Joomla Javascript library files have loaded.<br>
	To use <code>$YjsgCustomJS</code> first move your Javascript file to <code>site_root/template/yjsg_template_name/src/</code> folder , open <code>yjsg_custom_params.php</code> and add this line.
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">$YjsgCustomJS= array();
$YjsgCustomJS[] = $yj_site.&#039;src/my_new_js_file.js&#039;;</pre>
<p>
	To add multiple files add this line in <code>yjsg_custom_params.php</code>
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">$YjsgCustomJS= array();
$YjsgCustomJS[] = $yj_site.&#039;src/my_new_js_file.js&#039;;
$YjsgCustomJS[] = $yj_site.&#039;src/my_new_js_file2.js&#039;;</pre> <br>
<h3>Adding block of Javascript in head with JDocument/addScriptDeclaration</h3>
<p>
	To add block of Javascript code, open <code>yjsg_custom_params.php</code> and add this line
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">$document-&gt;addScriptDeclaration(&quot;
var myVar = &#039;myValue&#039;;
&quot;);</pre> <br>
<h3>Adding block of Javascript in head with $yjsg_js variable</h3>
<p>
	One advantage of <code>$yjsg_js</code> variable use is that is loading your Javascript block code at the bottom of your page instead of the head. This way the code blocs are not clogging up your page load plus is much better for your website SEO. For better performance and cleaner head tags <code>$yjsg_js</code> is echoed at the end of the page in <code>layouts/yjsg_footer.php</code>. Usage is very simple and it is similar to <code>JDocument/addScriptDeclaration</code>.<br>
	Just add following line to <code>yjsg_custom_params.php</code> file.
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">$yjsg_js.=&quot;var myVar =&#039;my_js_var;&#039;&quot;;</pre> <br>
<span class="yjt_label yjtb_yellow">Warning:</span>
<b>don't forget the dot before the <code>=</code> operator.</b>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:52:57 +0000</pubDate>
		</item>
		<item>
			<title>Adding new modules grid</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/adding-new-modules-grid.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/adding-new-modules-grid.html</guid>
			<description><![CDATA[<p>
	In YJSG you can add additional <b>7</b> grids. Each grid can have <b>up to 5</b> modules. Please note that they all <b>must be named</b> as you see it in example below. Only changeable variable is the name of your module position. You can name your module positions aka. <code>modNames</code> located in <code>yjsg_print_grid_area</code> function  as you wish.
</p>
<h3 class="yjsg-sub-heading"> available grids: </h3>
<pre class="prettyprint linenums">&lt;?php yjsg_print_grid_area(&#039;yjsgName=newgrid1|modNames=anynameyoulike&#039;); ?&gt;
&lt;?php yjsg_print_grid_area(&#039;yjsgName=newgrid2|modNames=anynameyoulike&#039;); ?&gt;
&lt;?php yjsg_print_grid_area(&#039;yjsgName=newgrid3|modNames=anynameyoulike&#039;); ?&gt;
&lt;?php yjsg_print_grid_area(&#039;yjsgName=newgrid4|modNames=anynameyoulike&#039;); ?&gt;
&lt;?php yjsg_print_grid_area(&#039;yjsgName=newgrid5|modNames=anynameyoulike&#039;); ?&gt;
&lt;?php yjsg_print_grid_area(&#039;yjsgName=newgrid6|modNames=anynameyoulike&#039;); ?&gt;
&lt;?php yjsg_print_grid_area(&#039;yjsgName=newgrid7|modNames=anynameyoulike&#039;); ?&gt;</pre><br>
<h2>Step 1 - Prepare the field</h2>
<p>
	You should first decide where to add your new grid position.  Open template <code>index.php</code> and try to find a suitable place for your new grid.<br />
	For example under the main menu.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newgrid1.png" alt="newgrid1">
	</span>
</p>
<h2>Step 2 - Add the code snippet in index.php</h2>
Please add following code snippet in previously determined space: <br>
<h3 class="yjsg-sub-heading">markup:</h3>
<pre class="prettyprint linenums">&lt;?php yjsg_print_grid_area(&#039;yjsgName=newgrid1|modNames=newposition&#039;,true); ?&gt;</pre>
<p>
	See information about
	<a href="http://yjsimplegrid.com/documentation/advanced/using-grid-print-function.html" target="_blank">
		Grid print function
	</a>
	for additional function options.
</p>
<h2>Step 3 - Add new module positions to your templateDetails.xml file</h2>
Under this line in <code>templateDetails.xml</code> : <br>
<h3 class="yjsg-sub-heading">markup:</h3>
<pre class="prettyprint linenums">&lt;position&gt;user25&lt;/position&gt;</pre> <br>
Add this xml snippet: <br>
<h3 class="yjsg-sub-heading">markup:</h3>
<pre class="prettyprint linenums">&lt;position&gt;newposition1&lt;/position&gt;
&lt;position&gt;newposition2&lt;/position&gt;
&lt;position&gt;newposition3&lt;/position&gt;
&lt;position&gt;newposition4&lt;/position&gt;
&lt;position&gt;newposition5&lt;/position&gt;</pre> <br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newgrid2.png" alt="newgrid2">
	</span>
</p>
<h2>Step 4 - Add new grid params to template-settings.xml</h2>
Under this line in <code>template-settings.xml</code> : <br>
<h3 class="yjsg-sub-heading">markup:</h3>
<pre class="prettyprint linenums">&lt;fields name=&quot;params&quot; addfieldpath=&quot;/plugins/system/yjsg/elements&quot;&gt;</pre> <br>
Add this xml snippet: <br>
<h3 class="yjsg-sub-heading">markup:</h3>
<pre class="prettyprint linenums">&lt;fieldset name=&quot;YJSG_LAYOUT_LABEL&quot;&gt;
    &lt;field name=&quot;yjsg_newgrid1_width&quot; type=&quot;yjsgmultitext&quot; default=&quot;20|20|20|20|20&quot; labels=&quot;Newposition1|Newposition2|Newposition3|Newposition4|Newposition5&quot; customchrome=&quot;YJsgxhtml|YJsgxhtml|YJsgxhtml|YJsgxhtml|YJsgxhtml&quot; items=&quot;5&quot; size=&quot;2&quot; class=&quot;serialize_multiple&quot; /&gt;
&lt;/fieldset&gt;</pre> <br>
<h3>Custom grid field explained:</h3>
<ul>
	<li>
		<strong>name</strong>: variable that contains your new grid information. </li>
	<li>
		<strong>default</strong>: an array of default module widths. </li>
	<li>
		<strong>labels</strong>: visible positions names labels in template manager. </li>
	<li>
		<strong>customchrome</strong>: default module chrome. Can be <code>YJsgxhtml, YJsground, YJsgblank, YJsgtabs, YJsgaccordion, YJsgslides</code>. </li>
	<li>
		<strong>items</strong>: number of modules in the grid. </li>
	<li>
		<strong>size</strong>: width inputbox size. </li>
	<li>
		<strong>class</strong>: default grid class in template admin.<b>Do not change this</b>. </li>
</ul>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newgrid3.png" alt="newgrid3">
	</span>
</p>
<br>
<p>
	Please note that new field name variable name="yjsg_<b>newgrid1</b>_width" must match the grid print function attribute <code>yjsgName=newgrid1</code>.<br>
	Once you are done your new grid will be visible in template manager under tab <b>Layout</b>. Also note that the position of the grid in <code>index.php</code> will be replicated in your <b>Layout tab</b>. As you can see in our example the new grid is positioned under the main menu.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newgrid4.png" alt="newgrid4">
	</span>
</p>
<h2>Step 5 - Publish your module in new module position</h2>
<p>
	Go to your desired module manager and publish the module in your new module position.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newgrid5.png" alt="newgrid5">
	</span>
</p>
<br>
<h3 class="yjsg-sub-heading">result:</h3>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newgrid6.png" alt="newgrid6">
	</span>
</p>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:54:15 +0000</pubDate>
		</item>
		<item>
			<title>Adding new template style</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/adding-new-template-style.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/adding-new-template-style.html</guid>
			<description><![CDATA[<h2> Step 1 - add style name to template-settings.xml</h2>
<p>
	Open <code>site_root/templates/template_name/template-settings.xml</code> file and find variable name <code>yjsg_get_styles</code>
</p>
<h3 class="yjsg-sub-heading">markup:</h3>
<pre class="prettyprint linenums">&lt;field name=&quot;yjsg_get_styles&quot; type=&quot;yjsglist&quot; default=&quot;blue|40b1e2&quot; label=&quot;YJSG_COLOR_LABEL&quot; description=&quot;YJSG_COLOR_DESC&quot; yjsgstyles=&quot;blue==40b1e2&quot;&gt;
    &lt;option value=&quot;blue|40b1e2&quot;&gt;Blue&lt;/option&gt;
&lt;/field&gt;</pre><br/>
<div class="yjtbox yjtb_blue radiusb5 lineup"><span class="yjtboxicon fa fa-info-circle fa-lg"></span><h4 class="yjtboxtitle">Field attributes</h4>
<p>
	The <code>yjsg_get_styles</code> field name attributes are important and they control the styleswitcher as well as logo,color picker and style params in template manager. The values in attributes are separated by <code>|</code> or <code>==</code> and you need to pay close attention to them.
</p>
</div> <br>
<h3 class="yjsg-sub-heading">yjsg_get_styles field name attributes:</h3>
<ul>
	<li>
		<strong>name</strong>: variable that contains style information. </li>
	<li>
		<strong>type</strong>: yjsglist element type. </li>
	<li>
		<strong>default</strong>: default select color style and its link color. </li>
	<li>
		<strong>label</strong>: element label for template manager </li>
	<li>
		<strong>description</strong>: element description for template manager. </li>
	<li>
		<strong>yjsgstyles</strong>: all available template styles. </li>
	<li>
		<strong>option value</strong>: option style name and its default link color. </li>
</ul>
<br>
<h3 class="yjsg-sub-heading">add new style name:</h3>
<p>
	We will now add new style name <code>green</code> to existing style names so our field name <code>yjsg_get_styles</code> changes to this;
</p>
<h3 class="yjsg-sub-heading">markup:</h3>
<pre class="prettyprint linenums">&lt;field name=&quot;yjsg_get_styles&quot; type=&quot;yjsglist&quot; default=&quot;blue|40b1e2&quot; label=&quot;YJSG_COLOR_LABEL&quot; description=&quot;YJSG_COLOR_DESC&quot; yjsgstyles=&quot;blue==40b1e2|green==748500&quot;&gt;
    &lt;option value=&quot;blue|40b1e2&quot;&gt;Blue&lt;/option&gt;
    &lt;option value=&quot;green|748500&quot;&gt;Green&lt;/option&gt;
&lt;/field&gt;</pre> <br/>
<p>
	You new template style name should now be visible in template manager.
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newstyle1.png" alt="newstyle1">
	</span>
</p>
<br>
<br>
<h2> Step 2 - add new style images folder </h2>
<p>
	Please go to <code> site_root/templates/template_name/images</code> folder copy <code>blue</code> images folder and rename it to <code>green</code>.
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newstyle2.png" alt="newstyle2">
	</span>
</p>
<br>
<h2> Step 3 - add and edit new stylesheet </h2>
<p>
	Since we already have stylesheets  for each style name please go to <code> site_root/templates/template_name/css</code> folder copy <code>blue.css</code> file name and rename it to <code>green.css</code>.
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newstyle3.png" alt="newstyle3">
	</span>
</p>
<br/>
<p>
	Open <code>green.css</code> and replace all instances of <code>images/blue</code> to <code>images/green</code> and all instances of color code <code>40b1e2</code> to <code>748500</code>.<br>
	Note that some CSS properties like <code>a:hover</code> color property or specific background images need to be changed as well.<br/>
	We will not go in to details for those but just note that you might need to change them in order to adapt your new template style.<br/>
	Now go to template manager and set <code>Green</code> as your default template style. Hit save and go to your homepage:<br>
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newstyle4.png" alt="newstyle4">
	</span>
</p>
<br>
<h3 class="yjsg-sub-heading">change and replace your logo:</h3>
<p>
	As you can see only thing left is changing your logo to fit your new style. Please open <code>logo.psd</code> and change it's color code.<br>
	Now replace existing <code>logo.png</code> file name in <code>site_root/templates/template_name/images/green</code> folder with new logo;
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newstyle5.png" alt="newstyle5">
	</span>
</p>
<br>
<p>
	Go to your homepage and refresh. Your new logo should be visible.
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/newstyle6.png" alt="newstyle6">
	</span>
</p>
<br>
<p>
	If logo process change is to complicated, you can upload new logo file within template manager. Go to tab name <b> Layout </b> and upload or select logo file from your server:
</p>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/logo5.png" alt="logo5">
	</span>
</p>
]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:54:57 +0000</pubDate>
		</item>
		<item>
			<title>Adding new module position</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/adding-new-module-position.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/adding-new-module-position.html</guid>
			<description><![CDATA[<h2>Step 1 - Prepare the field</h2>
<p>
	You should first decide where to add your new module position. Open template <code>index.php</code> and try to find a suitable place for your new module. For example under the main menu.
</p>
<h2>Step 2 - Add the code snippet in index.php</h2>
Please add following code snippet in previously determined space: <br>
<br>
<pre class="prettyprint linenums">&lt;jdoc:include type=&quot;modules&quot; name=&quot;newposition&quot; style=&quot;YJsgxhtml&quot; /&gt;</pre><br/>
<h3 class="yjsg-sub-heading">module print attributes</h3>
<ul>
	<li>
		<strong>name=</strong> module position name. </li>
	<li>
		<strong>style=</strong> module chrome output which can be , <code>YJsgxhtml</code> ,<code>Yjround</code>, <code>YJsgplain</code>. </li>
</ul>
<br/>
<h2>Step 3 - Add new module position to your templateDetails.xml file</h2>
Under this line in <code>templateDetails.xml</code> : <br>
<br>
<pre class="prettyprint linenums">&lt;position&gt;user25&lt;/position&gt;</pre><br>
Add this xml snippet: <br>
<br>
<pre class="prettyprint linenums">&lt;position&gt;newposition&lt;/position&gt;</pre> <br>
<h3 class="yjsg-sub-heading">YJsgxhtml module chrome output:</h3>
<pre class="prettyprint linenums">&lt;div class=&quot;yjsquare modidMODULEID&quot;&gt;
    &lt;div class=&quot;h2_holder&quot;&gt;
        &lt;h2 class=&quot;module_title&quot;&gt; Title &lt;/h2&gt;
    &lt;/div&gt;
    &lt;div class=&quot;yjsquare_in&quot;&gt; module content... &lt;/div&gt;
&lt;/div&gt;</pre> <br/>
<p>
	Note that a space in module title will split your title and each part will be surrounded by a span.<br/>
	This way you can additionally style the separated title.
</p>
<h3 class="yjsg-sub-heading">YJsground module chrome output:</h3>
<pre class="prettyprint linenums">&lt;div class=&quot;yjsquare modidMODULEID addround&quot;&gt;
    &lt;div class=&quot;h2_holder&quot;&gt;
        &lt;h2 class=&quot;module_title&quot;&gt;
            &lt;span class=&quot;title_split titlesplit0&quot;&gt;Module&lt;/span&gt;
            &lt;span class=&quot;title_split titlesplit1&quot;&gt;Title&lt;/span&gt;
        &lt;/h2&gt;
    &lt;/div&gt;
    &lt;div class=&quot;yjsquare_in&quot;&gt; module content... &lt;/div&gt;
&lt;/div&gt;</pre><br/>
<h3 class="yjsg-sub-heading">YJsgplain module chrome output:</h3>
<pre class="prettyprint linenums">&lt;div class=&quot;yjplain modidMODULEID&quot;&gt; module content... &lt;/div&gt;</pre> ]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:53:45 +0000</pubDate>
		</item>
		<item>
			<title>Adding accordion side menu</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/adding-accordion-side-menu.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/adding-accordion-side-menu.html</guid>
			<description><![CDATA[<h2>Setting up accordion menu</h2>
<br>
<p>
	YJSG template framework comes with built in accordion side menu that you can take advantage of.<br/> To activate accordion menu, go to your <b>Menu Module manager</b>, tab name <b>Yjsg Menu Options</b> and from parameter <b>Select menu type</b>,<br/>select either <b>Accordion</b> or <b>Accordion no toggle</b>;
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/accmenu.png" alt="accmenu">
	</span>
</p>
<br>
<div class="yjtbox yjtb_blue radiusb5 lineup"><span class="yjtboxicon fa fa-info-circle fa-lg"></span><h4 class="yjtboxtitle">Toggle or no toggle</h4>
Main difference between <b>Accordion</b> and <b>Accordion no toggle</b> is that <b>Accordion no toggle</b> can display all menu levels but the selected level will not collapse previously opened accordion. Where <b>Accordion</b> will collapse the previously opened accordion but it can display maximum of <b>End level 2</b> menu items.
</div>
<br>
<p>
	Next click on <b>Module</b> tab and select the <b>End level</b>. Read info above to make easier decision.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/accmenu2.png" alt="accmenu2">
	</span>
</p>
<br>
<p>
	Your accordion menu is setup. Please remember to publish it in any module position you like. When you click the parent menu item it's child elements will slide down. Demo can be seen
	<a href="http://joomlatemplates.youjoomla.info/eximium/" traget="_blank">
		<b>here</b>
	</a>
	.
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/accmenu3.png" alt="accmenu3">
	</span>
</p>
<br>
<h3>Accordion menu items styling</h3>
<br>
<p>
	Once the accordion menu is activated there are few CSS class names that you can use to style your menu items.<br/>Depending on state ( open/closed ) 
	the toggler ( parent menu item ) gets additional class name:
</p>
<ul>
	<li><code>active_yjsgacc</code>: Active, open parent item.</li>
	<li><code>inactive_yjsgacc</code>: Inactive, closed parent item.</li>
</ul>
]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:51:54 +0000</pubDate>
		</item>
		<item>
			<title>Assign Bootstrap menu styles</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/assign-bootstrap-menu-styles.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/assign-bootstrap-menu-styles.html</guid>
			<description><![CDATA[<p>
	Besides 5 menu types YJSG comes with additional 3 Bootstrap menus. To activate Bootstrap menus, go to your <b>Menu Module manager</b>, tab name <b>Yjsg Menu Options</b> and from parameter <b>Select menu type</b>, select either <b>Bootstrap nav pills</b>, <b>Bootstrap navbar</b> or <b>Bootstrap navbar inverse</b>.
</p>
<br>
<div class="yjtbox yjtb_blue radiusb5 lineup"><span class="yjtboxicon fa fa-info-circle fa-lg"></span><h4 class="yjtboxtitle">Bootstrap menu info</h4>
<p>
	Mega menu is <b>not</b> functional when you use Bootstrap menu styles and Bootstrap menu type will show <b>maximum of 3 menu levels</b>.
	Note that Bootstrap menu requires either <b>Bootstrap2</b> or <b>Bootstrap3</b> to be activated in template manager.
</p>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/bsmenu8.png" alt="bsmenu8">
	</span>
</p>
</div> <br>
<h2> Step 1 - switch top menu to module position </h2>
<p>
	Go to your template manager tab name <b> Top menu</b> and set <b> Default Menu Style</b> to <b> Menu module position </b>: <br>
	<br>
</p>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/bsmenu.png" alt="bsmenu">
	</span>
</p>
<br>
<h2> Step 2 - assign menu module to topmenupoz module position </h2>
<p>
	Go to your Menu module manager and assign it to <code>topmenupoz</code> module position:
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/bsmenu2.png" alt="bsmenu2">
	</span>
</p>
<br>
<h3 class="yjsg-sub-heading"> Bootstrap nav pills </h3>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/bsmenu4.png" alt="bsmenu4">
	</span>
</p>
<br>
<h3 class="yjsg-sub-heading"> Bootstrap navbar </h3>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/bsmenu5.png" alt="bsmenu5">
	</span>
</p>
<br>
<h3 class="yjsg-sub-heading"> Bootstrap navbar inverse </h3>
<p>
	<code>navbar navbar-inverse</code> class name can also be used if you wish to have dark navbar menu style;
</p>
<br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/bsmenu6.png" alt="bsmenu6">
	</span>
</p>
]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:55:37 +0000</pubDate>
		</item>
		<item>
			<title>Adding new Google font family</title>
			<link>https://www.yjsimplegrid.com/documentation/extend/adding-new-google-font-family.html</link>
			<guid isPermaLink="true">https://www.yjsimplegrid.com/documentation/extend/adding-new-google-font-family.html</guid>
			<description><![CDATA[<h2>Simple approach</h2>
<p>
	In YJSG we have used very simple approach for implementing
	<a href="http://www.google.com/webfonts" target="_blank">
		<b>Google fonts</b>
	</a>
	. <br/>
	This option will let you use all <span class="label label-success">600+</span> available font families in Google fonts library.
</p>
<h3 class="yjsg-sub-heading">example:</h3><br>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/googlefont2.png" alt="googlefont2">
	</span>
</p>
<br>
<h2>Usage</h2>
<p>
	Go to your template manager, tab name <span class="label label-info">Style</span> and activate following parameters:
</p>
<ul>
	<li>Use Element Tags font override set to <b>Yes</b></li>
	<li>Element tag override type select <b> Google font</b></li>
	<li>Google Font-Family leave as default or use this as example <code> Mouse+Memoirs|cursive|normal </code></li>
	<li>In Affected Selectors textarea add the selectors that should use Google font-family defined above</li>
</ul>
<br/>
<p class="yjsgcenter">
	<span class="yjt_imgs bthin radiusb8 bspace yjt_none">
	<img src="/images/docs/googlefont.png" alt="googlefont">
	</span>
</p>
<br>
<h2>Google font param explained</h2>
<p>
	Google font param has 3 attributes that you can use and each of them needs to be separated by <code>|</code>:
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">Mouse+Memoirs|cursive|normal</pre> <br>
<p>
	First attribute is the actual font name taken directly from Google font stylesheet link,<span class="label label-info"> family= </span> ( including <span class="label label-info"> + </span>):
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">http://fonts.googleapis.com/css?family=Mouse+Memoirs</pre>
<p>
	Second attribute is general font-family like:
</p>
<ul>
	<li>sans</li>
	<li>sans-serif</li>
	<li>cursive</li>
	<li>fantasy</li>
	<li>monospace</li>
</ul>
<p>
	Second attribute can be combined:
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">Mouse+Memoirs|&#039;Helvetica&#039;,arial|normal
Mouse+Memoirs|Helvetica,arial|normal</pre>
<p>
	Third attribute is font-weight which you can define as:
</p>
<ul>
	<li>bold</li>
	<li>normal</li>
	<li>500</li>
	<li>700</li>
</ul>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">Mouse+Memoirs|cursive|normal
Mouse+Memoirs|cursive|bold
Mouse+Memoirs|cursive|700</pre><br/>
<h2>Multiple fonts</h2>
<p>
	For stylesheet with multiple fonts, use double equal sign between font names. Note that additional font will be included in Google stylesheet but you would need to add affected selectors for additional font inside one of the template CSS files.
</p>
<h3 class="yjsg-sub-heading">example:</h3>
<pre class="prettyprint linenums">Rock+Salt==Open+Sans:400,500</pre>
<h3 class="yjsg-sub-heading">in custom.css add :</h3>
<pre class="prettyprint linenums">h2.my_class{
font-family:Open Sans,sans-serif;
font-weight:300;
}</pre>]]></description>
			<author>youjoomla@gmail.com (Stefan)</author>
			<category>Extend</category>
			<pubDate>Sun, 22 Jun 2014 13:53:22 +0000</pubDate>
		</item>
	</channel>
</rss>
