<?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>blog.joaomorais.com &#187; Joomla!</title>
	<atom:link href="http://blog.joaomorais.com/tag/joomla/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.joaomorais.com</link>
	<description>Blog about software development, personal projects and development tools.</description>
	<lastBuildDate>Mon, 10 Apr 2017 02:26:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>How to translate administrator menu items in Joomla! 1.5.6?</title>
		<link>http://blog.joaomorais.com/how-to-translate-administrator-menu-items-in-joomla-1-5-6/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-translate-administrator-menu-items-in-joomla-1-5-6</link>
		<comments>http://blog.joaomorais.com/how-to-translate-administrator-menu-items-in-joomla-1-5-6/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 12:49:03 +0000</pubDate>
		<dc:creator>João Morais</dc:creator>
				<category><![CDATA[Papers]]></category>
		<category><![CDATA[1.5.6]]></category>
		<category><![CDATA[Administrator]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Items]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[Menu]]></category>

		<guid isPermaLink="false">http://solidlocker.webhs.org/wordpress/?p=157</guid>
		<description><![CDATA[That’s a question that I’ve been doing to myself in the past two days. Unfortunately there aren’t much informations about this subject, and from what I’ve read there is a lot of people with the same doubts I had. Because I haven’t found any documentation on this subject I’ve decided to write the my own [...]]]></description>
				<content:encoded><![CDATA[<p>That’s a question that I’ve been doing to myself in the past two days.</p>
<p>Unfortunately there aren’t much informations about this subject, and from what I’ve read there is a lot of people with the same doubts I had.</p>
<p>Because I haven’t found any documentation on this subject I’ve decided to write the my own tutorial, hope it helps you.</p>
<p><span id="more-157"></span></p>
<p>Assuming that you already know how to create a <a title="Joomla!" href="http://joomla.org/">Joomla!</a> component setup XML file, I’ll write here how you can translate your administrator menu items using language packages. That way I will not talk about website front-end since I’m only focusing on administration menus.</p>
<p>I will also assume that you have a directory structure similar to the one below:</p>
<pre class="brush:plain">com_mycomponent
com_mycomponent/mycomponent.xml
com_mycomponent/admin
com_mycomponent/admin/index.html
com_mycomponent/admin/language
com_mycomponent/admin/language/index.html
com_mycomponent/admin/language/en-GB.com_mycomponent.ini
com_mycomponent/admin/language/en-GB.com_mycomponent.menu.ini
com_mycomponent/admin/language/pt-PT.com_mycomponent.ini
com_mycomponent/admin/language/pt-PT.com_mycomponent.menu.ini</pre>
<p>1. Open XML setup file.</p>
<pre class="brush:shell">$ geany com_mycomponent/mycompoment.xml</pre>
<p>2. Open administration tag and start to write component administration menu, our component’s menu will be composed by a title (COM_MYCOMPONENT) and two child links (LINK-1 and LINK-2). Note that all &amp; must be escaped to &amp;amp; for the file to be valid XML and be parsed by the installer.</p>
<pre class="brush:plain">&lt;administration&gt;
&lt;menu&gt;COM_MYCOMPONENT&lt;/menu&gt;
&lt;submenu&gt;
&lt;menu link=”option=com_mycomponent&amp;amp;controller=c1“&gt;LINK-1&lt;/menu&gt;
&lt;menu link=”option=com_mycomponent&amp;amp;controller=c2“&gt;LINK-2&lt;/menu&gt;
&lt;/submenu&gt;</pre>
<p>Now that we&#8217;ve finished the component administration menu, we will load language package files that will translate your component administration menu itens.<br />
For this example we will have two different translations, English and Portuguese.<br />
Although we are writing four files, two pairs for each language, the *.menu.ini are the ones that matter for this tutorial, the other ones are used to translate other texts that you will use in your component.</p>
<pre class="brush:plain">&lt;languages folder=”admin/language”&gt;
&lt;language tag=”en-GB”&gt;en-GB.com_mycomponent.ini&lt;/language&gt;
&lt;language tag=”en-GB”&gt;en-GB.com_mycomponent.menu.ini&lt;/language&gt;
&lt;language tag=”pt-PT”&gt;pt-PT.com_mycomponent.ini&lt;/language&gt;
&lt;language tag=”pt-PT”&gt;pt-PT.com_mycomponent.menu.ini&lt;/language&gt;
&lt;/languages&gt;
&lt;/administration&gt;</pre>
<p>End of component administration supported languages and close administration tag.</p>
<p>3. Edit the English package file and write the translations for the items you’ve just created.</p>
<pre class="brush:shell">$ geany com_mycomponent/admin/language/en-GB.com_mycomponent.menu.ini</pre>
<pre class="brush:plain">COM_MYCOMPONENT=My Component
COM_MYCOMPONENT.LINK-1=Link number one
COM_MYCOMPONENT.LINK-2=Link number two</pre>
<p>4. Repeat the step #3 for the Portuguese package file.</p>
<pre class="brush:shell">$ geany com_mycomponent/admin/language/pt-PT.com_mycomponent.menu.ini</pre>
<pre class="brush:plain">COM_MYCOMPONENT=O meu Componente
COM_MYCOMPONENT.LINK-1=Ligação número 1
COM_MYCOMPONENT.LINK-2=Ligação número 2</pre>
<p>Note : All ini files need to be saved as UTF-8.</p>
<p>With this four steps you are able to translate your component administrator menu items, although it is a simple process, unfortunately there isn’t much documentation on this subject, and the one that exists is a bit poor and doesn’t explain all the steps.</p>
<p>To complete what I’ve wrote in here you can also take a look at <a title="Translating  entries on the Components menu" href="http://docs.joomla.org/Tutorial:Translating_entries_on_the_Components_menu">this</a> tutorial that talks about this subject, and you may also take a look at <a title="Tutorials about Components" href="http://www.joomladevuser.com/tutorials/components">this one</a> that covers the steps needed to follow while developing a component.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomorais.com/how-to-translate-administrator-menu-items-in-joomla-1-5-6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Joomla! 1.5.6 Released</title>
		<link>http://blog.joaomorais.com/joomla-1-5-6-released/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=joomla-1-5-6-released</link>
		<comments>http://blog.joaomorais.com/joomla-1-5-6-released/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 12:02:41 +0000</pubDate>
		<dc:creator>João Morais</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[Patch]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://solidlocker.webhs.org/wordpress/?p=243</guid>
		<description><![CDATA[Till a couple of days now I was using Joomla! 1.5.5 but yesterday a new release came out. This new release is a security release made to solve a high level security issue, then it&#8217;s recommended to upgrade immediately. Some websites are already being owned because of this security flaw, do not risk to get [...]]]></description>
				<content:encoded><![CDATA[<p>Till a couple of days now I was using <a title="Joomla!" href="http://www.joomla.org/">Joomla!</a> 1.5.5 but yesterday a new release came out.</p>
<p>This new release is a security release made to solve a high level security issue, then it&#8217;s recommended to upgrade immediately.</p>
<p>Some websites are already being owned because of this security flaw, do not risk to get owned too and update your website software as soon as possible.</p>
<p>If you need help read the migration/upgrade instructions in <a title="Joomla! 1.5.6 Released" href="http://www.joomla.org/announcements/release-news/5199-joomla-156-released.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomorais.com/joomla-1-5-6-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla!</title>
		<link>http://blog.joaomorais.com/joomla/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=joomla</link>
		<comments>http://blog.joaomorais.com/joomla/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 16:56:46 +0000</pubDate>
		<dc:creator>João Morais</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://solidlocker.webhs.org/wordpress/?p=54</guid>
		<description><![CDATA[Last week I&#8217;ve wrote in here that I was looking for a CMS with a couple of specs. After a lot of reading I&#8217;ve decided to bet on Joomla!, although it has a couple of bad reviews it fulfills my needs (I hope). At the moment I&#8217;m running Joomla! 1.5.5 stable. Yesterday after I installed [...]]]></description>
				<content:encoded><![CDATA[<p>Last week I&#8217;ve wrote in <a title="Content Management Systems (CMS)" href="http://blog.joaomorais.com/content-management-system-cms/">here</a> that I was looking for a CMS with a couple of specs. After a lot of reading I&#8217;ve decided to bet on <a title="Joomla!" href="http://joomla.org/">Joomla!</a>, although it has a couple of bad reviews it fulfills my needs (I hope).</p>
<p>At the moment I&#8217;m running <a title="Joomla!" href="http://joomla.org/">Joomla!</a> 1.5.5 stable.</p>
<p>Yesterday after I installed the software I&#8217;ve looked for some tutorials that would guide me through the process of developing a component for this version of <a title="Joomla!" href="http://joomla.org/">Joomla!</a>.</p>
<p>It would be expectable to have some great <a title="Joomla! Tutorials" href="http://developer.joomla.org/tutorials.html">tutorials</a> in <a title="Joomla! Developer Network" href="http://developer.joomla.org/">Joomla! Developer Network</a> but to be honest I&#8217;ve got to say that the ones that are available are a bit poor, and most of Documentation is written for the older versions.</p>
<p>After a lot of searches I&#8217;ve found these <a title="Create MVC component for Joomla! 1.5 - Hello World" href="http://www.vojtechovsky.net/joomla/component-helloworld-2-create-tutorial-guide-en.html">tutorials</a> and they are great, at least for helping me out in these first steps.</p>
<p><span id="more-54"></span>Another thing that I&#8217;ve noticed was that there are a lot of people with problems related with the installation of extensions and a lot of discussions about this in <a title="Joomla!" href="http://joomla.org/">Joomla!</a> forums, it seems that there isn&#8217;t a final solution for this kind of problem.</p>
<p>One popular solution (and from what I&#8217;ve read it does not solve this problem for everyone) is to change directory permissions to <em>777</em>. In my opinion that&#8217;s not the best way to solve this problem, because if you have a shared host, you&#8217;ll probably get into troubles soon or later since other users will have permissions to mess with your files.</p>
<p>Another thing you can do, if you have enough privileges, is to change the user/group in your <em>httpd.conf</em> that way when your script creates any files/directories, they are created with the same user/group as your account.</p>
<p>I&#8217;ve used the second option, because at the moment I&#8217;m working locally, then I have root privileges. In the future I hope to find a better solution otherwise I&#8217;ll stick to this one, since I&#8217;ll also have root privileges in the production server too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomorais.com/joomla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Management System (CMS)</title>
		<link>http://blog.joaomorais.com/content-management-system-cms/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=content-management-system-cms</link>
		<comments>http://blog.joaomorais.com/content-management-system-cms/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 08:10:50 +0000</pubDate>
		<dc:creator>João Morais</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Content Management Systems]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Open]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://solidlocker.webhs.org/wordpress/?p=45</guid>
		<description><![CDATA[In the past few days I&#8217;ve been reading a lot of reviews about Content Management Systems (CMS) at OpenSourceCMS. Great site by the way, lots of useful informations in there. Although the site above has a lot of informations it&#8217;s really hard to find a CMS that fits your needs, most of the people who [...]]]></description>
				<content:encoded><![CDATA[<p>In the past few days I&#8217;ve been reading a lot of reviews about <a title="Content Management Systems" href="http://en.wikipedia.org/wiki/Content_management_system">Content Management Systems</a> (CMS) at <a title="OpenSourceCMS" href="http://www.opensourcecms.com/">OpenSourceCMS</a>. Great site by the way, lots of useful informations in there.</p>
<p>Although the site above has a lot of informations it&#8217;s really hard to find a CMS that fits your needs, most of the people who use this kind of tools are regular users and their main goal is to install and manage the CMS with success.</p>
<p>That way most of the reviews that I&#8217;ve found are written without a developers perspective.</p>
<p><span id="more-45"></span></p>
<p>At the moment I need to find a CMS that is Open Source, written in PHP under a <a title="Model-View-Controller" href="http://en.wikipedia.org/wiki/Model-view-controller">Model-View-Controller</a> (MVC) pattern, that has some good support/documentation and a big community behind it.</p>
<p>Till now, the only one that I found that fulfills the specs above is <a title="Joomla" href="http://www.joomla.org/">Joomla</a>! Unfortunately I&#8217;ve already read some bad reviews on it, saying that it&#8217;s too complex and it&#8217;s code is a bit messy.</p>
<p>I&#8217;ll keep on searching, but in the next few days I&#8217;ll have to make a decision so that I can start working.</p>
<p>If you have any useful informations on this subject please tell me something.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomorais.com/content-management-system-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
