<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2titles.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemtitles.css"?><!-- generator="Joomla! 1.5 - Open Source Content Management" --><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
	<channel>
		<title>Minitek - Templates Tutorials</title>
		<description>Joomla Development - Extensions - Templates &amp;amp; Tutorials</description>
		<link>http://www.minitek.gr</link>
		<lastBuildDate>Wed, 22 May 2013 04:40:01 +0000</lastBuildDate>
		<generator>Joomla! 1.5 - Open Source Content Management</generator>
		<language>en-gb</language>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Minitek-TemplatesTutorials" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="minitek-templatestutorials" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/Minitek-TemplatesTutorials" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FMinitek-TemplatesTutorials" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
			<title>How to dynamically resize a div with javascript and jQuery</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/layout-design-tutorials/item/251-how-to-dynamically-resize-a-div-with-javascript-and-jquery.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/layout-design-tutorials/item/251-how-to-dynamically-resize-a-div-with-javascript-and-jquery.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/8ee107fb8e11fa27c5eb0c84c03d7dff_S.jpg" alt="How to dynamically resize a div with javascript and jQuery" /></div><div class="K2FeedIntroText">When you are designing a website, in some cases you will find your self in a situation where the <strong>width of a div element must be dynamically resized taking into account the static width of another div element</strong>.</div><div class="K2FeedFullText">


<h3>Example</h3><br />

Look at the image below. The main container has a <strong>fluid width of 100%</strong>.<br />
The left div has a <strong>static width of 300px</strong> and the right container must <strong>automatically fill the remaining space</strong>.<br /><br />

<img src="http://www.minitek.gr/images/tutorials/js_resize_divs.jpg" rel="" /><br /><br />

<h3>Using jQuery to set the right div width</h3><br />

With jQuery we can achieve an all-around solution that <strong>resizes the right div even when the browser window is resized</strong>.<br /><br />

1. Create a new <strong>.js</strong> file inside <strong>templates/your_template/js/javascript.js</strong>.<br /><br />

2. Copy the latest jQuery library file inside <strong>templates/your_template/js/</strong>.<br />
   You can download jQuery from <a href="http://jquery.com/" rel="nofollow">here</a>.<br /><br />

2. Include the jQuery library and the new <strong>.js</strong> file inside the head section of the <strong>index.php</strong> file of your template.<br /><br />

{code class="brush:javascript" }
<script language="javascript" type="text/javascript" src&#61;&quot;&lt;?php echo $this->baseurl; ?>/templates/your_template/js/jquery-1.7.1.min.js"></script>
<script language="javascript" type="text/javascript" src&#61;&quot;&lt;?php echo $this->baseurl; ?>/templates/your_template/js/javascript.js"></script>
{/code}<br />

3. Insert this code inside the file <strong>javascript.js</strong>:<br />

{code class="brush:javascript" }
$(document).ready(function() {
  var right_width    = $("#main_container").width() - 300;
  $('#right_div').css("width",right_width + "px");
});

$(document).ready(function() {
  $(window).resize(function(){
    var right_width    = $("#main_container").width() - 300;
    $('#right_div').css("width",right_width + "px");
  });
});
{/code}
where:<br />
<strong>main_container</strong> = the id for the main container div,<br />
<strong>right_div</strong> = the id for the right div,<br />
<strong>300</strong> = the left div width (in pixels).<br /><br />

Did this work out for you?<br />
Let us know in the <strong>comments below</strong>.

<br /><br />
{loadposition contentlinks}
<br /><br /></div>]]></description>
			<category>Layout design</category>
			<pubDate>Wed, 14 Mar 2012 15:18:16 +0000</pubDate>
		</item>
		<item>
			<title>How to change the module output in Joomla</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/item/240-how-to-change-the-module-output-in-joomla.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/item/240-how-to-change-the-module-output-in-joomla.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/269b36e876e375e05083f78293992209_S.jpg" alt="How to change the module output in Joomla" /></div><div class="K2FeedIntroText">In Joomla, the module output is controlled through the <strong>Module Chrome</strong> and the file <strong>templates/system/html/modules.php</strong>. When you insert a module position inside your template <strong>index.php</strong> file, you usually define a style for it.</div><div class="K2FeedFullText">

For example:<br />

{code class="brush:html" }
<jdoc:include type="modules" name="user1" style="xhtml" />
{/code}

In the above example the style you have defined is <strong>xhtml</strong>. This means that Joomla will look into the file <strong>templates/system/html/modules.php</strong> to find the Module Chrome <strong>modChrome_xhtml</strong>. This Module Chrome defines the module output structure.<br /><br />
However you can override this Module Chrome if there is a file <strong>modules.php</strong> inside <strong>templates/your_template/html/</strong>. In this file you can redefine a Module Chrome <strong>modChrome_xhtml</strong> so that you can override the default one in <strong>templates/system/html/modules.php</strong>.<br /><br />
You can also create a new custom Module Chrome. For example let's create a new Module Chrome with the name <strong>minitek</strong>. In this case the module include inside the file <strong>index.php</strong> of your template should be:<br />

{code class="brush:html" }
<jdoc:include type="modules" name="user1" style="minitek" />
{/code}
The module style in the above example is <strong>minitek</strong>. Now we must define a Module Chrome <strong>modChrome_minitek</strong> inside the file <strong>modules.php</strong>.<br /><br />

Open the file <strong>templates/your_template/html/</strong> and insert this new function: (Create this file if it does not exist)<br />

{code class="brush:php" }
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');<br />

function modChrome_minitek($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
		&lt;div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>">
		<?php if ($module->showtitle != 0) : ?>
			<h3><?php echo $module->title; ?></h3>
		<?php endif; ?>
			<?php echo $module->content; ?>
		&lt;/div>
	<?php endif;
}
{/code}
You see that the function name is <strong>modChrome_minitek</strong> because we have defined the style <strong>minitek</strong> in the module include.
<br />
Now you can customize the above code, for example you can change the ordering of the html elements or add new ones. You can change the <strong>h3</strong> tag to a <strong>h2</strong> for example or make any customizations you like.


<br /><br /><br />
{loadposition contentlinks}
<br /><br /></div>]]></description>
			<category>Templates Tutorials</category>
			<pubDate>Thu, 26 Jan 2012 14:10:24 +0000</pubDate>
		</item>
		<item>
			<title>How to add a Facebook Like button in your website</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/social-media-widgets-tutorials/item/180-how-to-add-a-facebook-like-button-in-your-website.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/social-media-widgets-tutorials/item/180-how-to-add-a-facebook-like-button-in-your-website.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/b262fcb3a88d76445a5d5d6ad933cf2d_S.jpg" alt="How to add a Facebook Like button in your website" /></div><div class="K2FeedIntroText">The Facebook Like button is undoubtedly the most important Social Plugin. It can boost your website traffic significantly and adds up to your website user interaction.<br /><br />

There are <strong>2 versions</strong> of the <strong>Like</strong> button: the <strong>iframe</strong> version and the <strong>XFBML</strong> version.<br /><br />

<h3>1. The iframe version</h3><br />

This is the more simple version of the button. Just add this code in the page where you want to display the button:<br />

{code class="brush:html" }
&lt;iframe src="http://www.facebook.com/plugins/like.php?href=http://www.minitek.gr&amp;layout=standard&amp;show_faces=false&amp;
width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:60px;"&gt;
&lt;/iframe&gt;
{/code}

<strong>Attributes</strong><br /><br />
- <strong>href</strong> - the URL to like. The XFBML version defaults to the current page.<br />
- <strong>send</strong> - specifies whether to include a Send button with the Like button. This only works with the XFBML version.<br />
- <strong>layout</strong> - there are three options.<br />
        ---- <strong>standard</strong> - displays social text to the right of the button and friends' profile photos below. Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos).<br />
        ---- <strong>button_count</strong> - displays the total number of likes to the right of the button. Minimum width: 90 pixels. Default width: 90 pixels. Height: 20 pixels.<br />
        ---- <strong>box_count</strong> - displays the total number of likes above the button. Minimum width: 55 pixels. Default width: 55 pixels. Height: 65 pixels.<br />
- <strong>show_faces</strong> - specifies whether to display profile photos below the button (standard layout only).<br />
- <strong>width</strong> - the width of the Like button.<br />
- <strong>action</strong> - the verb to display on the button. Options: 'like', 'recommend'<br />
- <strong>font</strong> - the font to display in the button. Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'<br />
- <strong>colorscheme</strong> - the color scheme for the like button. Options: 'light', 'dark'<br />
- <strong>ref</strong> - a label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters and some punctuation (currently +/=-.:_). The ref attribute causes two parameters to be added to the referrer URL when a user clicks a link from a stream story about a Like action:<br />
        ---- <strong>fb_ref</strong> - the ref parameter<br />
        ---- <strong>fb_source</strong> - the stream type ('home', 'profile', 'search', 'other') in which the click occurred and the story type ('oneline' or 'multiline'), concatenated with an underscore.

<br /><br />

<h3>2. The XFBML version</h3><br />

This is the more complicated version of the button. It uses the XFBML <strong>fb:like</strong> tag and <a href="http://developers.facebook.com/docs/reference/javascript/" target=_blank" rel="nofollow">Javascript SDK</a>.<br /><br />

The XFBML version <em>gives you the ability (through the Javascript library) to listen for like events so that you know in real time when a user clicks the Like button, and it always gives the user the ability to add an optional comment to the like</em>.<br /><br />

The code for the XFBML version is like this:<br />

{code class="brush:html" }
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.minitek.gr" send="false" width="450" show_faces="true" font=""></fb:like>
{/code}
You can use the <strong>configurator</strong> in <a href="http://developers.facebook.com/docs/reference/plugins/like/#" target="_blank" rel="nofollow">this page</a> to create your own button.<br /><br />

<h3>3. Open Graph Tags</h3><br />

This part is not necessary but it is highly recommended.<br />
Open Graph Tags are <meta> tags that you add to the <head> of your website to add more information to the URL to like.<br />
With the Open Graph Tags you can define a title, type, image, url and site name for the URL so that the link is properly displayed in Facebook when someone clicks on the button.<br />
You can use the <strong>configurator</strong> in <a href="http://developers.facebook.com/docs/reference/plugins/like/#" target="_blank" rel="nofollow">this page</a> to get Open Graph Tags for your page.

<br /><br /><br />
{loadposition contentlinks}
<br /><br /></div>]]></description>
			<category>Social Media widgets</category>
			<pubDate>Fri, 02 Sep 2011 11:49:28 +0000</pubDate>
		</item>
		<item>
			<title>How to add a Twitter Follow me button in your website</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/social-media-widgets-tutorials/item/176-how-to-add-a-twitter-follow-me-button-in-your-website.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/social-media-widgets-tutorials/item/176-how-to-add-a-twitter-follow-me-button-in-your-website.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/f0ba2bfd8f936a77d3b146acfe9443c7_S.jpg" alt="How to add a Twitter Follow me button in your website" /></div><div class="K2FeedIntroText">Adding a twitter "Follow me" button in Joomla is easy. You can add the button inside a module, you can hardcode the button inside your template or can even add the button inside an article.<br /><br />

<h3>Button code</h3><br />
First of all you need to grab the button code. You can create your own button here: <a href="http://twitter.com/about/resources/followbutton" target="_blank" rel="nofollow">http://twitter.com/about/resources/followbutton</a>. Configure your preferences and then copy the generated code.<br />
The code will look like this:<br />

{code class="brush:html" }
&lt;a href="http://twitter.com/{screen_name}" class="twitter-follow-button" data-show-count="true"&gt;Follow @Minitek_gr&lt;/a&gt;
&lt;script src="http://platform.twitter.com/widgets.js" type="text/javascript"&gt;&lt;/script&gt;<br /><br />
{/code}
where <strong>{screen_name}</strong> is your tweeter screen name.<br /><br />

<h3>"Follow me" button inside an article</h3><br />
Here is an example of the Twitter "Follow me" button inside an article:<br /><br />

<a href="http://twitter.com/Minitek_gr" class="twitter-follow-button" data-show-count="true">Follow @Minitek_gr</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script><br /><br />

Just insert the code inside a Joomla article (or a K2 article).<br /><br />

<h3>"Follow me" button inside a module</h3><br />

To insert the button inside a module you can either insert the code inside your own custom module or create a new <strong>Custom HTML</strong> module and insert the code inside the field <strong>Custom output</strong>.<br /><br /><br />

{loadposition contentlinks}
<br /><br /></div>]]></description>
			<category>Social Media widgets</category>
			<pubDate>Wed, 31 Aug 2011 19:20:32 +0000</pubDate>
		</item>
		<item>
			<title>How to create a Scroll-to-top effect with jQuery</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/item/109-how-to-create-a-back-to-top-effect-with-jquery.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/item/109-how-to-create-a-back-to-top-effect-with-jquery.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/73608782f50eb6af17bb69bdcd662692_S.jpg" alt="How to create a Scroll-to-top effect with jQuery" /></div><div class="K2FeedIntroText">This tutorial will help you to create a <strong>Scroll to top</strong> effect with smooth animation.<br /><br />

<h3>The essentials</h3><br />

We will be using the <strong>jQuery library</strong> along with a jQuery plugin called <strong>jQueryLocalScroll</strong>.<br /><br />

The plugin <strong>jQueryLocalScroll</strong> actually animates a regular anchor navigation</strong> allowing the users to navigate with a smooth scrolling effect. So when a predefined link is clicked, the screen will smoothly scroll to the top instead of jumping to the top.<br /><br />

You need 3 files to create this scrolling effect:<br /><br />

1. The jQuery library - You can download the latest jQuery library <a href="http://jquery.com/" target="_blank" rel="nofollow">here</a>.<br />
2. The jQuery.LocalScroll Minified and<br />
3. The jQuery.ScrollTo Minified - You can download both these files <a href="http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html" target="_blank" rel="nofollow">here</a>.<br /><br />

<h3>Implementation</h3><br />

What you need to do is to set a link and an anchor, that means to define an id for the element you want to scroll to.<br />
We will create a link at the bottom of the template index.php file (templates/yourtemplate/index.php) and an anchor element at the top of the index.php. So, everytime you click on the link at the bottom of the page, the screen will smoothly scroll to the top anchor.<br /><br />

Firstly you must copy these 3 files <strong>jquery-1.6.min.js</strong>, <strong>jquery.scrollTo-1.4.2-min.js</strong>, <strong>jquery.localscroll-1.2.7-min.js</strong> inside the <strong>js</strong> directory in your template (templates/mytemplate/js).<br /><br />

Now open the file <strong>index.php</strong> and insert these lines to the <strong>head</strong> section:<br />
{code class="brush:php" }
<script type="text/javascript" src&#61;&quot;<?php echo $this->baseurl?>/templates/yourtemplate/js/jquery-1.6.2min.js"></script>
<script type="text/javascript" src&#61;&quot;<?php echo $this->baseurl?>/templates/yourtemplate/js/jquery.scrollTo-1.4.2-min.js"></script>
<script type="text/javascript" src&#61;&quot;<?php echo $this->baseurl?>/templates/yourtemplate/js/jquery.localscroll-1.2.7-min.js"></script>
<script type="text/javascript">
     jQuery.noConflict();																	
		 jQuery(document).ready(function(){																	
				jQuery.localScroll();									
		 });							
</script>		
{/code}
<em>Make sure that you enter the correct names/versions of the files.</em><br /><br />

Go to the bottom of the index.php file and insert the <strong>scroll to top</strong> link:<br />
{code class="brush:php" }
&lt;a href="http://www.minitek.gr/#totop" title="<?php echo JText::_('Top');?>" rel="nofollow"&gt;<?php echo JText::_('Top');?&gt;&lt;/a&gt;
{/code}
<br />
Finally go to the top of the index.php file and insert the <strong>anchor</strong> div:<br />
{code class="brush:html" }
&lt;div id="totop"&gt;&lt;/div&gt;
{/code}

<br /><br />
{loadposition contentlinks}
<br /><br /></div>]]></description>
			<category>Templates Tutorials</category>
			<pubDate>Tue, 16 Aug 2011 10:49:19 +0000</pubDate>
		</item>
		<item>
			<title>How to change the favicon in your Joomla website</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/item/92-how-to-change-the-favicon-in-your-joomla-website.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/item/92-how-to-change-the-favicon-in-your-joomla-website.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/51a3864ed3ad604d2340c3f8fe249f94_S.jpg" alt="How to change the favicon in your Joomla website" /></div><div class="K2FeedIntroText">Favicons are the small 16x16 icons that appear on the left of the URL in the address bar of your browser as well as on the browser's tabs, in the bookmarks and on your desktop shortcuts.<br /><br />

<h2>Method 1</h2>
You can easily create a favicon for your website by taking your website logo, resizing it to 16x16 pixels and saving it as a .gif or .png image.<br /><br />
<h4>To activate your new favicon:</h4>
1. Copy the image in the root of your template.<br />
2. Include this line inside the head tag of your index.php file<br />
{code class="brush:html" }
&lt;link rel="shortcut icon" href="http://yoursite.com/templates/your_template/favicon.png" /&gt;
{/code}
Using this method, the favicon will not appear in Internet Explorer.<br /><br />

<h2>Method 2</h2>
<h4>To ensure that your favicon works in all browsers you must save the favicon image in the official Windows Icon .ico format</h4>

1. You can use one of these free online sites to convert your image to .ico format:<br /><br />

<a href="http://converticon.com/" target="_blank" rel="nofollow">http://converticon.com/</a><br />
<a href="http://www.favicongenerator.com/" target="_blank" rel="nofollow">http://www.favicongenerator.com/</a><br />
<a href="http://www.htmlkit.com/services/favicon/" target="_blank" rel="nofollow">http://www.htmlkit.com/services/favicon/</a><br />
<a href="http://tools.dynamicdrive.com/favicon/" target="_blank" rel="nofollow">http://tools.dynamicdrive.com/favicon/</a><br />
<a href="http://www.favicon.cc/" target="_blank" rel="nofollow">http://www.favicon.cc/</a><br /><br />

2. Copy the file to the /joomla/templates/your_template/ directory and name it favicon.ico.<br />
3. Include this line inside the head tag of your index.php file<br />
{code class="brush:html" }
&lt;link rel="shortcut icon" href="http://yoursite.com/templates/your_template/favicon.ico" /&gt;
{/code}
4. To see your new favicon, you must firstly clear the browser cache memory.<br /><br /><br />

{loadposition contentlinks}
<br /><br /></div>]]></description>
			<category>Templates Tutorials</category>
			<pubDate>Sat, 06 Aug 2011 11:02:34 +0000</pubDate>
		</item>
		<item>
			<title>How to embed a flash swf in a Joomla template</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/item/70-how-to-embed-a-flash-swf-in-a-joomla-template.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/item/70-how-to-embed-a-flash-swf-in-a-joomla-template.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/3749aaa8ee129d7e919bddcc7e09cd36_S.jpg" alt="How to embed a flash swf in a Joomla template" /></div><div class="K2FeedIntroText">Embedding a flash .swf file inside the header of the template is a very common request.<br /><br />

Just follow the steps below.<br /><br />

<h3>1. Create a new folder in your template called "flash"</h3>
Copy your .swf file inside this folder.

<h3>2. Add this code inside the header div in the index.php file of your template</h3>
{code class="brush:html "}
<object data="/<?php echo $this->baseurl ?>/templates/your_template/flash/your_flash.swf" type="application/x-shockwave-flash" width="500" height="50">
&lt;param name="movie" value="<?php echo $this->baseurl ?>/templates/your_template/flash/your_flash.swf" />
&lt;param name="menu" value="false" /&gt;
&lt;param name="wmode" value="transparent" /&gt;
&lt;param name="quality" value="best" /&gt;
</object>
{/code}

Now you're good to go!

<br /><br /><br />
{loadposition contentlinks}
<br /><br /></div>]]></description>
			<category>Templates Tutorials</category>
			<pubDate>Wed, 13 Jul 2011 17:52:45 +0000</pubDate>
		</item>
		<item>
			<title>How to add a new module position to a Joomla template</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/item/64-how-to-add-a-new-module-position-to-a-joomla-template.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/item/64-how-to-add-a-new-module-position-to-a-joomla-template.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/e9c724eeb5636d1c1c1a2c2e85d40377_S.jpg" alt="How to add a new module position to a Joomla template" /></div><div class="K2FeedIntroText">Adding a new module position in your joomla template is a very fast and easy task. Just follow the steps described below. <br /><br />

<h1>Adding a new module position</h1>

<h4>1. Locate and open the file index.php</h4>
You will find the file inside the root of your template folder.

<h4>2. Select exactly where you want to add the new module position.</h4>
By using <strong>Firefox</strong> and <strong>Firebug</strong> you can see the structure of your template in the frontend so that it is easier to find the exact location where you will add the new position.

<h4>3. Insert this code inside index.php</h4>
{code class="brush:php" }
<?php if($this->countModules( 'newposition' )) { ?>
&lt;div class="newposition"&gt;
<jdoc:include type="modules" name="newposition" style="none" />
&lt;/div&gt;			
<?php } ?>
{/code}

The code above will display the new position only if there is actually a module inside it, otherwise the position will not be displayed.

<h4>4. Open the file templateDetails.xml</h4>
You will find the file inside the root of your template folder.<br />
Locate the <positions> section of the file and insert this
{code class="brush:xml;" }
&lt;position&gt;newposition&lt;/position&gt;
{/code}

<br />
The new module position is now created. You can style individually the new position with the class <strong>newposition</strong>.

<br />
<br />
{loadposition contentlinks}
<br />
<br /></div>]]></description>
			<category>Templates Tutorials</category>
			<pubDate>Sun, 10 Jul 2011 08:56:41 +0000</pubDate>
		</item>
		<item>
			<title>How to display Joomla system messages in a modal window</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/item/44-how-to-display-joomla-system-messages-in-a-modal-window.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/item/44-how-to-display-joomla-system-messages-in-a-modal-window.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/8fe3e0f34d3083cba6fe73d62a783d7f_S.jpg" alt="How to display Joomla system messages in a modal window" /></div><div class="K2FeedIntroText"><p>The built-in Joomla system messages and notifications are usually placed within a template near the top or just above the component area.</p>
<p>A very common request is to open the joomla system messages in a nice modal window.</p>
<p>In this tutorial we will be using the Mootools framework to achieve this.</p>
<p> </p>
<p>Firstly you must insert the "message include" in your template. You can put this above the component include</p>
<p>{code class="brush:html" }</p>
<p>&lt;jdoc:include type="message" /&gt;</p>
<p>{/code}</p>
<p> </p>
<p>Now you must must include the Mootools framework in your template as well as the javascript code that adds the modal window effect.</p>
<p>Put this code at the top section of your template</p>
<p>{code class="brush:html" }</p>
<p>JHTML::_('behavior.mootools');<br />JHTML::_('behavior.modal');</p>
<p>{/code}</p>
<p>and insert this code inside the &lt;head&gt; section of your template</p>
<p>{code class="brush:javascript" }</p>
<p>&lt;script type="text/javascript"&gt;</p>
<p>window.addEvent('domready', function(){<br /> if( $('system-message') ){<br /> SqueezeBox.initialize();<br /> SqueezeBox.open( $('system-message'), {<br /> handler: 'adopt',<br /> shadow: true,<br /> overlayOpacity: 0.5,<br /> size: {x: 600, y: 100},<br /> onOpen: function(){<br /> $('system-message').setStyle('visibility', 'visible');<br /> }<br /> });<br /> }<br />});</p>
<p>&lt;/script&gt;</p>
<p>{/code}</p>
<p> </p>
<p>The above code does the following:</p>
<ol>
<li>initializes the modal window with "SqueezeBox.initialize()"</li>
<li>creates a new modal window and inserts the system message with the id "system-message" in it</li>
</ol> 
<ul>
</ul>
<p><em>This modification works with Joomla 1.5 and Joomla 1.7.</em></p>
<br />
<br />
{loadposition contentlinks}
<br />
<br />
<br /></div>]]></description>
			<category>Templates Tutorials</category>
			<pubDate>Tue, 14 Jun 2011 09:14:31 +0000</pubDate>
		</item>
		<item>
			<title>The 11 most popular Joomla Template Providers</title>
			<link>http://www.minitek.gr/tutorials/templates-tutorials/item/42-the-11-most-popular-joomla-template-providers.html</link>
			<guid>http://www.minitek.gr/tutorials/templates-tutorials/item/42-the-11-most-popular-joomla-template-providers.html</guid>
			<description><![CDATA[<div class="K2FeedImage"><img src="http://www.minitek.gr//media/k2/items/cache/19f9cefdfb07230a68581d617885a3af_S.jpg" alt="The 11 most popular Joomla Template Providers" /></div><div class="K2FeedIntroText">This is a list with the 11 most popular template providers for Joomla that offer top quality commercial and free templates.
<div class="hor-divider"></div>

<h1>1. Joomlart</h1>
<a href="http://www.joomlart.com/affiliate/idevaffiliate.php?id=1937" target="_blank" rel="nofollow"><img src="http://www.minitek.gr/images/tutorials/tmpl-prov/joomlart.png" /></a>
<br /><br />
<a href="http://www.joomlart.com/affiliate/idevaffiliate.php?id=1937" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>2. Rocket Theme</h1>
<a target="_blank" href="http://www.shareasale.com/r.cfm?b=277934&u=519473&m=30300&urllink=&afftrack="><img src="http://www.shareasale.com/image/30300/rt-joomla-250x250_s1.jpg" alt="Joomla Themes" border="0"></a>
<br /><br />
<a href="http://www.shareasale.com/r.cfm?b=269852&u=519473&m=30300&urllink=&afftrack=">Go to website</a>

<div class="hor-divider"></div>

<h1>3. Templateplazza</h1>
<a href="http://www.templateplazza.com/affiliate/idevaffiliate.php?id=906_0_1_7" target="_blank" rel="nofollow"><img border="0" src="http://www.templateplazza.com/affiliate/banners/160x140.gif" width="160" height="140" alt=""></a>
<br /><br />
<a href="http://www.templateplazza.com/affiliate/idevaffiliate.php?id=906" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>4. Shape5</h1>
<a href="http://www.shape5.com/affiliate/joomla_templates_wordpress_themes_phpbb3_styles.php?id=1441_0_1_4" target="_blank" rel="nofollow"><img border="0" src="http://www.shape5.com/affiliate/banners/s5_ptc_125x125.jpg" width="125" height="125" alt="Professional Joomla Templates, Phpbb3 Styles, Wordpress Themes Club"></a>
<br /><br />
<a href="http://www.shape5.com/affiliate/joomla_templates_wordpress_themes_phpbb3_styles.php?id=1441" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>5. Joomla Designs</h1>
<a href="http://www.joomladesigns.co.uk/affiliate/idevaffiliate.php?id=358_0_1_4" target="_blank" rel="nofollow"><img border="0" src="http://www.joomladesigns.co.uk/affiliate/banners/joomladesigns_468_60_black.jpg" width="468" height="60"></a>
<br /><br />
<a href="http://www.joomladesigns.co.uk/affiliate/idevaffiliate.php?id=358" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>6. Hot Joomla</h1>
<a href="http://www.hotjoomlatemplates.com/affiliate/idevaffiliate.php?id=178_0_1_4" target="_blank"><img border="0" src="http://www.hotjoomlatemplates.com/affiliate/banners/hotjoomla_468_60.jpg" width="468" height="60" alt=""></a>
<br /><br />
<a href="http://www.hotjoomlatemplates.com/affiliate/idevaffiliate.php?id=178" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>7. Joomagic</h1>
<a href="http://www.joomagic.com/affiliate/idevaffiliate.php?id=1189" target="_blank" rel="nofollow"><img border="0" src="http://www.minitek.gr/images/tutorials/joomagic.jpg" alt=""></a>
<br /><br />
<a href="http://www.joomagic.com/affiliate/idevaffiliate.php?id=1189" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>8. Pixels Paradise</h1>
<a href="http://www.pixelsparadise.com/idevaffiliate/idevaffiliate.php?id=557_5_1_15" target="_blank" rel="nofollow"><img src="http://www.pixelsparadise.com/idevaffiliate/banners/468banner.gif" border="0"></a>
<br /><br />
<a href="http://www.pixelsparadise.com/idevaffiliate/idevaffiliate.php?id=557" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>9. Joomla Monster</h1>
<a href="http://www.joomla-monster.com/index.php?aff_id=511" target="_blank" rel="nofollow"><img src="http://www.joomla-monster.com/administrator/components/com_virtuemart/banners/65ce874c4483a286897212e559fa2cd9.jpg" border="0"></a>
<br /><br />
<a href="http://www.joomla-monster.com/index.php?aff_id=511" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>10. Joomla Bamboo</h1>
<a href="http://www.joomlabamboo.com/729-0-1-6.html" target="_blank" rel="nofollow"><img border="0" src="http://www.joomlabamboo.com/idevaffiliate/banners/JoomlaBamboo_468_60.gif" width="468" height="60" alt=""></a>
<br /><br />
<a href="http://www.joomlabamboo.com/729.html" target="_blank" rel="nofollow">Go to website</a>

<div class="hor-divider"></div>

<h1>11. JoomlaShack</h1>
<a href="https://joomlashack.infusionsoft.com/go/plates/ioannis7" target="_blank" rel="nofollow"><img src="http://www.joomlashack.com/images/banners/joomlashack_468.png" border=0></a>
<br /><br />
<a href="https://joomlashack.infusionsoft.com/go/plates/ioannis7" target="_blank" rel="nofollow">Go to website</a>
<div class="hor-divider"></div>

<br /><br /><br />
{loadposition contentlinks}
<br /><br /></div>]]></description>
			<category>Templates Tutorials</category>
			<pubDate>Thu, 09 Jun 2011 10:05:58 +0000</pubDate>
		</item>
	</channel>
</rss>
