<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>klevismiho.com &#187; Open Source for Web</title>
	<atom:link href="http://klevismiho.com/category/web-open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://klevismiho.com</link>
	<description>Blog of an Albanian Web Developer</description>
	<lastBuildDate>Tue, 06 Dec 2011 15:41:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>HTML5 Boilerplate looks interesting</title>
		<link>http://klevismiho.com/html5-boilerplate-looks-interesting/</link>
		<comments>http://klevismiho.com/html5-boilerplate-looks-interesting/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 07:51:04 +0000</pubDate>
		<dc:creator>klevisi</dc:creator>
				<category><![CDATA[Open Source for Web]]></category>

		<guid isPermaLink="false">http://klevismiho.com/?p=202</guid>
		<description><![CDATA[It looks like a perfect startup theme. I will do my next HTML5/CSS site with it.]]></description>
			<content:encoded><![CDATA[<p>It looks like a <a href="http://html5boilerplate.com/" target="_blank">perfect startup theme</a>.  I will do my next HTML5/CSS site with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://klevismiho.com/html5-boilerplate-looks-interesting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Basis Theme</title>
		<link>http://klevismiho.com/wordpress-basis-theme/</link>
		<comments>http://klevismiho.com/wordpress-basis-theme/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 07:19:32 +0000</pubDate>
		<dc:creator>klevisi</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://klevismiho.com/?p=195</guid>
		<description><![CDATA[I just discovered the WP Basis Theme. It&#8217;s a clean and very minimalistic theme. I will use it on my next project for sure.]]></description>
			<content:encoded><![CDATA[<p>I just discovered the <a href="http://wpbasis.de/readme-en_US.php" target="_blank">WP Basis Theme</a>. It&#8217;s a clean and very minimalistic theme. I will use it on my next project for sure.</p>
]]></content:encoded>
			<wfw:commentRss>http://klevismiho.com/wordpress-basis-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change JForms (0.7 RC2) email subject</title>
		<link>http://klevismiho.com/change-jforms-0-7-rc2-email-subject/</link>
		<comments>http://klevismiho.com/change-jforms-0-7-rc2-email-subject/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 10:55:53 +0000</pubDate>
		<dc:creator>klevisi</dc:creator>
				<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://klevismiho.com/?p=172</guid>
		<description><![CDATA[It&#8217;s strange but JForms doesn&#8217;t have a field where you can put the subject of the email that goes to the administrator when a form is filled. They will implement it later for sure. However, if you want to change the subjects of the forms, you should hack the Mail.php code of JForms. Here is [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s strange but JForms doesn&#8217;t have a field where you can put the subject of the email that goes to the administrator when a form is filled. They will implement it later for sure.<br />
However, if you want to change the subjects of the forms, you should hack the Mail.php code of JForms.</p>
<p>Here is how to do it:</p>
<p>1. Go to <strong>/administrator/components/com_jforms/plugins/storage/Mail/Mail.php</strong></p>
<p>2. Find this linke of code:</p>
<pre class="brush: php">$mail-&gt;SetSubject($field-&gt;parameters[&#039;subject&#039;]);</pre>
<p>and replace it with:</p>
<pre class="brush: php">

$formID = $form-&gt;id;
if($formID == 1) {
$mail-&gt;SetSubject(JText::_(&#039;TEXT FOR SUBJECT IN FORM WITH ID 1&#039;));
} else if($formID == 2) {
$mail-&gt;SetSubject(JText::_(&#039;TEXT FOR SUBJECT IN FORM WITH ID 2&#039;));
} else if($formID == 3) {
$mail-&gt;SetSubject(JText::_(&#039;TEXT FOR SUBJECT IN FORM WITH ID 3&#039;));
} else {
$mail-&gt;SetSubject(JText::_(&#039;TEXT FOR SUBJECT IN FORM WITH A DIFFERENT ID&#039;));
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://klevismiho.com/change-jforms-0-7-rc2-email-subject/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Changing header information in a Joomla Template</title>
		<link>http://klevismiho.com/changing-heade-information-in-a-joomla-template/</link>
		<comments>http://klevismiho.com/changing-heade-information-in-a-joomla-template/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 11:22:52 +0000</pubDate>
		<dc:creator>klevisi</dc:creator>
				<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://klevismiho.com/?p=153</guid>
		<description><![CDATA[In some Joomla templates you can change the information in the &#60;head&#62; tags directly by going in the template and adding html code inside the &#60;head&#62; tags. However, some other templates have in the header this line of code: &#60;jdoc:include type=&#8221;head&#8221; /&#62; which includes the header information from some file. If you like to change [...]]]></description>
			<content:encoded><![CDATA[<p>In some Joomla templates you can change the information in the &lt;head&gt; tags directly by going in the template and adding html code inside the &lt;head&gt; tags. However, some other templates have in the header this line of code:</p>
<p><strong>&lt;jdoc:include type=&#8221;head&#8221; /&gt;</strong></p>
<p>which includes the header information from some file.<br />
If you like to change a &lt;meta&gt; tag, directly in the template file, you should write this PHP code inside the scope of the &lt;head&gt; tags:</p>
<p><strong>&lt;?php $this-&gt;setMetaData(&#8216;robots&#8217;, &#8216;noindex, nofollow&#8217;); ?&gt;</strong></p>
<p>which is equivalent with:</p>
<p><strong>&lt;meta name=&#8221;robots&#8221; content=&#8221;noindex, nofollow&#8221; /&gt;</strong></p>
<p>Since I use this technique often, and I often forget about it, i decided to put it in my blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://klevismiho.com/changing-heade-information-in-a-joomla-template/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHPExcel and Joomla</title>
		<link>http://klevismiho.com/phpexcel-and-joomla/</link>
		<comments>http://klevismiho.com/phpexcel-and-joomla/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 14:54:54 +0000</pubDate>
		<dc:creator>klevisi</dc:creator>
				<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://klevismiho.com/?p=143</guid>
		<description><![CDATA[When you try to include the PHPExcel library into a joomla article (using a plugin for inserting PHP code into an article), it doesn&#8217;t work. It displays a white screen. I found a solution for that. It maybe not the best way to fix this since  I&#8217;ve modified the Joomla core. Go to /libraries/loader.php and [...]]]></description>
			<content:encoded><![CDATA[<p>When you try to include the PHPExcel library into a joomla article (using a plugin for inserting PHP code into an article), it doesn&#8217;t work. It displays a white screen. I found a solution for that. It maybe not the best way to fix this since  I&#8217;ve modified the Joomla core.</p>
<p>Go to <strong>/libraries/loader.php</strong> and replace:</p>
<pre class="brush: php">
function __autoload($class)
{
if(JLoader::load($class)) {
return true;
}
return false;
}
</pre>
<p>with:</p>
<pre class="brush: php">
function Joomla_Autoload($class) {
if(JLoader::load($class)) {
return true;
}
return false;
}
/*** specify extensions that may be loaded ***/
spl_autoload_extensions(&#039;.php, .class.php, .lib.php&#039;);
/*** register the loader functions ***/
spl_autoload_register(&#039;Joomla_Autoload&#039;);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://klevismiho.com/phpexcel-and-joomla/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JF Twitter module problem fix</title>
		<link>http://klevismiho.com/jf-twitter-module-problem-fix/</link>
		<comments>http://klevismiho.com/jf-twitter-module-problem-fix/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 15:15:34 +0000</pubDate>
		<dc:creator>klevisi</dc:creator>
				<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://klevismiho.com/?p=133</guid>
		<description><![CDATA[If you have experienced this error in your webpage: Fatal error: Cannot use object of type stdClass as array in /modules/mod_jf_twitter/helper.php on line 38 Then it is a problem of &#8220;JF Twitter&#8221; module. Do the following on /modules/mod_jf_twitter/helper.php/helper.php on line 38: Change this: if(!empty($this-&#62;tweets)) { $profile = $this-&#62;tweets[0]-&#62;user; } To this: if(count($this-&#62;tweets)&#62;1 and !empty($this-&#62;tweets)) { [...]]]></description>
			<content:encoded><![CDATA[<p>If you have experienced this error in your webpage:</p>
<p><strong>Fatal error: Cannot use object of type stdClass as array in /modules/mod_jf_twitter/helper.php on line 38</strong></p>
<p>Then it is a problem of &#8220;JF Twitter&#8221; module. Do the following on <strong>/modules/mod_jf_twitter/helper.php/helper.php</strong> on line 38:</p>
<p>Change this:</p>
<pre class="brush: php">

if(!empty($this-&gt;tweets)) {
$profile = $this-&gt;tweets[0]-&gt;user;
}
</pre>
<p>To this:</p>
<pre class="brush: php">

if(count($this-&gt;tweets)&gt;1 and !empty($this-&gt;tweets)) {
$profile = $this-&gt;tweets[0]-&gt;user;
} else {
echo &quot;&quot;;
}
</pre>
<p>I  am not sure why this problem occurs, but I think it is because an  application can do a fixed number of calls per hour on the Twitter API.  The first time this error hapened to me was when Twitter.com was over  capacity, but it happened again when Twitter.com was working. This happened on &#8220;JF Twitter V.2.3&#8243;</p>
]]></content:encoded>
			<wfw:commentRss>http://klevismiho.com/jf-twitter-module-problem-fix/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>UserCake User Management System</title>
		<link>http://klevismiho.com/usercake-user-management-system/</link>
		<comments>http://klevismiho.com/usercake-user-management-system/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 10:11:28 +0000</pubDate>
		<dc:creator>klevisi</dc:creator>
				<category><![CDATA[Open Source for Web]]></category>

		<guid isPermaLink="false">http://klevismiho.com/?p=100</guid>
		<description><![CDATA[If you need a simple user management system in php go with UserCake. Don&#8217;t confuse it with CakePHP, it has nothing to do with it. I&#8217;ve used UserCake on a project, and it was very nice to use, so I recommend it. And the best thing is that it is open source.]]></description>
			<content:encoded><![CDATA[<p>If  you need a simple user management system in php go with <a href="http://usercake.com" target="_blank">UserCake</a>.<br />
Don&#8217;t confuse it with CakePHP, it has nothing to do with it.<br />
I&#8217;ve used UserCake on a project, and it was very nice to use, so I recommend it.<br />
And the best thing is that it is open source.</p>
]]></content:encoded>
			<wfw:commentRss>http://klevismiho.com/usercake-user-management-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phpfreechat Albanian language</title>
		<link>http://klevismiho.com/phpfreechat-albanian-language/</link>
		<comments>http://klevismiho.com/phpfreechat-albanian-language/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 19:09:26 +0000</pubDate>
		<dc:creator>klevisi</dc:creator>
				<category><![CDATA[Open Source for Web]]></category>

		<guid isPermaLink="false">http://klevismiho.com/en/?p=21</guid>
		<description><![CDATA[I just translated phpfreechat version 1.2 into the albanian language. Feel free to download and use. Installation: 1. DOWNLOAD the language file. 2. extract it into /i18n/ folder 3. in your chat file (suppose it is chat.php) add the following code in the beginning: $params['language'] = &#8216;sq_AL&#8217;; Enjoy!]]></description>
			<content:encoded><![CDATA[<p>I just translated <a href="http://phpfreechat.net" target="_blank">phpfreechat</a> version 1.2 into the albanian language.<br />
Feel free to download and use.</p>
<p>Installation:<br />
1. <a href="/sq_AL.zip">DOWNLOAD</a> the language file.<br />
2. extract it into /i18n/ folder<br />
3. in your chat file (suppose it is chat.php) add the following code in the beginning:<br />
$params['language'] = &#8216;sq_AL&#8217;;</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://klevismiho.com/phpfreechat-albanian-language/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

