<?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>My Quick Fix &#187; Joomla!</title>
	<atom:link href="http://myquickfix.co.uk/index.php/category/computers/web-development/joomla/feed/" rel="self" type="application/rss+xml" />
	<link>http://myquickfix.co.uk</link>
	<description>Quick fixes for niggly problems...</description>
	<lastBuildDate>Thu, 24 Sep 2009 15:10:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>&quot;JFolder::create: Could not create directory&quot; error in Joomla 1.5.* on IIS.</title>
		<link>http://myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 09:46:14 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[temporary]]></category>
		<category><![CDATA[tmp]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=552</guid>
		<description><![CDATA[Problem
When trying to add a Plugin, Component or Module in Joomla&#8217;s Extension Manager, you might get the following error:
JFolder::create: Could not create directory
Warning! Failed to move file.
Shown here:

This is likely &#8211; but not definitely &#8211; to be after the site has been moved from location to another, a change of directory, or server.
Solution
When a Component, Plugin or Module is added, the Joomla system attempts to copy the installable zip to a temporary directory, called &#8216;tmp&#8216;. From there, PHP extracts the files and installs them. The error above usually occurs for ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>When trying to add a Plugin, Component or Module in Joomla&#8217;s Extension Manager, you might get the following error:</p>
<p><span style="color: #ff0000;">JFolder::create: Could not create directory<br />
Warning! Failed to move file.</span></p>
<p>Shown here:</p>
<p><img class="size-full wp-image-551 alignnone" title="Error showing in extension manager" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder1.png" alt="Error showing in extension manager" width="300" height="300" /></p>
<p>This is likely &#8211; but not definitely &#8211; to be after the site has been moved from location to another, a change of directory, or server.</p>
<h2>Solution</h2>
<p>When a Component, Plugin or Module is added, the Joomla system attempts to copy the installable zip to a temporary directory, called &#8216;<strong>tmp</strong>&#8216;. From there, PHP extracts the files and installs them. The error above usually occurs for one or more of the following reasons (in order of likelihood):</p>
<p><strong>The path to the &#8216;tmp&#8217; directory is wrong in the Joomla configuration file</strong></p>
<p>In the Joomla installation root, find the file called &#8216;configuration.php&#8217;. In this file there should be a line with that says something like:</p>
<p><em>var $tmp_path = &#8216;C:\\path\\to\\your\\cms\\tmp&#8217;;</em></p>
<p>A masked live example is shown here:</p>
<p><img class="alignnone size-full wp-image-550" title="Correct path to tmp directory" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder2.png" alt="Correct path to tmp directory" width="450" height="200" /></p>
<p>Check that this path is correct, and that the &#8216;tmp&#8217; directory truly does sit in that location. In this example, the directory would need to be here: d<em>:\clients\sites\[my client]\tmp.</em></p>
<p><strong>The temporary exists, but is not &#8216;writable&#8217;</strong></p>
<p>If the &#8216;tmp&#8217; directory has the wrong permissions, the web service won&#8217;t be able to copy the installer files to it. To check/correct this you will need  access to the server physically, or via a remote admin method like <a href="http://en.wikipedia.org/wiki/Remote_Desktop_Protocol">RDP</a> (terminal services), <a href="http://en.wikipedia.org/wiki/Vnc">VNC</a> or similar.</p>
<p>Find the &#8216;tmp&#8217; directory in the web root, and view the permissions. The IIS Guest account, called &#8216;IUSR_[machinename]&#8216;, needs to be given &#8216;modify&#8217; privileges. Example shown below:</p>
<p><img class="alignnone size-full wp-image-566" title="giving IUSR account modify permissions" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder3.png" alt="giving IUSR account modify permissions" width="368" height="474" /></p>
<p><strong>The temporary directory doesn&#8217;t exist</strong></p>
<p>To check this, navigate to your web root (often wwwroot) and check that a directory called &#8216;<strong>tmp</strong>&#8216; exists. This directory should have been created when the Joomla was installed, but it&#8217;s conceivable that it might have been deleted&#8230; maybe? If it doesn&#8217;t exist, create it, and make sure its &#8216;writable&#8217; (see previous step).</p>
<p>If none of this works, or you spot a mistake,  post a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changing JCE &#039;Browse&#039; path (File Directory Path)</title>
		<link>http://myquickfix.co.uk/index.php/2009/01/changing-jce-browse-path-file-directory-pathdirectory-path/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/01/changing-jce-browse-path-file-directory-pathdirectory-path/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 14:33:02 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[JCE]]></category>
		<category><![CDATA[joomla 1.5]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=309</guid>
		<description><![CDATA[Problem
A coleague wanted to change the default &#8216;browse&#8217; path that the JCE &#8216;Image Manager&#8217; and &#8216;File Browser&#8217; plugins use. By default when you use the plugins, the contents of the &#8216;Stories&#8217; directory will be displayed. It seems that even if you go into the plugin settings ( under &#8216;Components &#62; JCE Administration &#62; Plugins &#62; [plugin name]&#8216; ), and set the &#8216;File Directory Path&#8217; setting, it still doesn&#8217;t change the default path!
Solution
Navigate to Components &#62; JCE Administration &#62; Groups as shown below:
Choose Groups from the main menu...
Then select the group you want ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>A coleague wanted to change the default &#8216;browse&#8217; path that the JCE &#8216;Image Manager&#8217; and &#8216;File Browser&#8217; plugins use. By default when you use the plugins, the contents of the &#8216;Stories&#8217; directory will be displayed. It seems that even if you go into the plugin settings ( under &#8216;Components &gt; JCE Administration &gt; Plugins &gt; [plugin name]&#8216; ), and set the &#8216;File Directory Path&#8217; setting, it still doesn&#8217;t change the default path!</p>
<h2>Solution</h2>
<p>Navigate to <strong>Components &gt; JCE Administration &gt; Groups</strong> as shown below:</p>
<div id="attachment_310" class="wp-caption aligncenter" style="width: 310px"><img class="size-full wp-image-310" title="jce-groups" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/jce-groups.gif" alt="" width="300" height="240" /><p class="wp-caption-text">Choose Groups from the main menu...</p></div>
<p>Then select the group you want to edit. If you haven&#8217;t set up any groups, just click on the &#8216;Default&#8217; group to edit it&#8217;s properties. Once the settings are on display, from the right-hand side, under the &#8216;Editor Parameters&#8217; heading, expand the &#8216;Plugin Options&#8217; item, and enter your desired path in &#8216;File Directory Path&#8217;:</p>
<p> </p>
<div id="attachment_311" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/jce-groups-path.gif"><img class="size-full wp-image-311" title="jce-groups-path" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/jce-groups-path.gif" alt="Note: this must not be set to the Joomla root" width="300" height="240" /></a><p class="wp-caption-text">Note: this must not be set to the Joomla root</p></div>
<p><strong>Note:</strong> The path you enter must be at least one level above the Joomla! root. i.e [root]/myimages/.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/01/changing-jce-browse-path-file-directory-pathdirectory-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving VirtueMart: Link path problem in admin console</title>
		<link>http://myquickfix.co.uk/index.php/2009/01/moving-virtuemart-link-path/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/01/moving-virtuemart-link-path/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 11:07:59 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[VirtueMart]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=301</guid>
		<description><![CDATA[Problem
Just now, I needed to move a website running Joomla 1.5 and VirtueMart 1.1.2 from the development server, to the live web space. After I had moved the data, and the files, and updated the path in Joomla&#8217;s &#8216;configuration.php&#8217; file, it seemed to work ok, but all the links in the VirtueMart Admin area still pointed to my development server.
Solution
After doing a &#8216;find in files&#8217; for my development server&#8217;s name, I found two more paths that need changing in VirtueMart&#8217;s own configuration file. This is the file:
/administrator/components/com_virtuemart/virtuemart.cfg.php
The following two paths ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Just now, I needed to move a website running Joomla 1.5 and VirtueMart 1.1.2 from the development server, to the live web space. After I had moved the data, and the files, and updated the path in Joomla&#8217;s &#8216;configuration.php&#8217; file, it seemed to work ok, but all the links in the VirtueMart Admin area still pointed to my development server.</p>
<h2>Solution</h2>
<p>After doing a &#8216;find in files&#8217; for my development server&#8217;s name, I found two more paths that need changing in VirtueMart&#8217;s own configuration file. This is the file:</p>
<blockquote><p>/administrator/components/com_virtuemart/virtuemart.cfg.php</p></blockquote>
<p>The following two paths need editing to point to the new server location (URL):</p>
<pre name="code" class="php">
define( 'URL', 'http://my.devserver.com/joomla/' );
define( 'SECUREURL', 'https://secure.devserver.com/joomla/' );
</pre>
<p>A simple fix, but probably worth posting.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/01/moving-virtuemart-link-path/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Select template by Section in Joomla 1.5</title>
		<link>http://myquickfix.co.uk/index.php/2009/01/select-template-by-sectiocategory-in-joomla-15/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/01/select-template-by-sectiocategory-in-joomla-15/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 23:27:16 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[joomla 1.5]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=281</guid>
		<description><![CDATA[Problem
In Joomla 1.5, at present, there is no way to set the template applied to an article or category  based on the section that article is in. Templates can be set by menu item, but not by the overall section they reside in. This means that if multiple templates are being used, each time a new article is added, changes have to be made to the template setup too &#8211; very tedious. All I wanted was to be able to create an article or category, add it to a certain ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>In Joomla 1.5, at present, there is no way to set the template applied to an article or category  based on the section that article is in. Templates can be set by menu item, but not by the overall section they reside in. This means that if multiple templates are being used, each time a new article is added, changes have to be made to the template setup too &#8211; very tedious. All I wanted was to be able to create an article or category, add it to a certain section, and know that it would be rendered/displayed using a particular template:</p>
<h2>Solution</h2>
<p>This took some searching and tweaking. I found a post in the Joomla developers forum about someone trying to do something similar, but their example code was broken. It was enough to get me started though.</p>
<p>What you need to do is: find and open application.php in the includes directory on the root of your Joomla 1.5 installation. Then find line 309 or thereabouts and look for this code:</p>
<blockquote><p><span style="color: #999999;">309</span> <span style="color: #ee7700;">// Allows for overriding the active template from the request</span><br />
<span style="color: #999999;">310</span> <span style="color: #0000ff;">$template = JRequest::getCmd(&#8216;template&#8217;, $template);</span><br />
<span style="color: #999999;">311</span> <span style="color: #0000ff;">$template = JFilterInput::clean($template, &#8216;cmd&#8217;);</span> <span style="color: #ee7700;">// need to filter the default value as well</span></p></blockquote>
<p>Insert <strong>AFTER</strong> the comment on line 309, but <strong>BEFORE</strong> line 310, add this code:</p>
<blockquote><p><span style="color: #ee7700;">// Templates by Section hack &#8211; Begin</span></p>
<p><span style="color: #0000ff;">$eItemView = JRequest::getVar(&#8216;view&#8217;);<br />
$eItemId = JRequest::getVar(&#8216;id&#8217;);</span></p>
<p><span style="color: #0000ff;">$sectionId = NULL;</span></p>
<p><span style="color: #0000ff;">$eItemId = (strpos($eItemId,&#8221;:&#8221;))? substr($eItemId,0,strpos($eItemId,&#8221;:&#8221;)) : $eItemId;</span></p>
<p><span style="color: #0000ff;">switch ($eItemView) {<br />
case &#8220;article&#8221;:<br />
$edb =&amp; JFactory::getDBO();<br />
$eQuery = &#8216;SELECT sectionid FROM #__content WHERE id LIKE &#8216;.$eItemId.&#8221;;<br />
$edb-&gt;setQuery($eQuery, 0, 1);<br />
$sectionId = $edb-&gt;loadResult();<br />
break;<br />
case &#8220;category&#8221;:<br />
$edb =&amp; JFactory::getDBO();<br />
$eQuery = &#8216;SELECT section FROM #__categories WHERE id LIKE &#8216;.$eItemId.&#8221;;<br />
$edb-&gt;setQuery($eQuery, 0, 1);<br />
$sectionId = $edb-&gt;loadResult();<br />
break;<br />
case &#8220;section&#8221;:<br />
$sectionId = $eItemId;<br />
break;<br />
}</span></p>
<p><span style="color: #ee7700;">// Edit the section id below, you can find it in the sections admin area.</span><br />
<span style="color: #0000ff;">if ($sectionId == &#8220;1&#8243;) {<br />
$template = &#8220;rhuk_milkyway_red&#8221;; <span style="color: #ee7700;">// Use the full template name.</span><br />
}</span><br />
<span style="color: #ee7700;">// Add more if clauses if there are other templates.</span></p>
<p><span style="color: #ee7700;">// Templates by Section hack &#8211; End</span></p></blockquote>
<p>Hopefully you can see what this does. It looks for the section id to use in 3 ways, depending on whether joomla is currently displaying a section root page, a category root page, or an article. It then looks to see whether that section id has had a specific template specified for it by name.</p>
<p>This hack works well for me, I only need to add the different template data once in application.php for a given site. Ideally someone needs to make an admin mod for this, so that sections and categories can be assigned different templates in the backend. Maybe one day I&#8217;ll make one, but not unless there&#8217;s demand <img src='http://myquickfix.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Any questions, corrections or thoughts, please comment below (no need to create an account or anything!)</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/01/select-template-by-sectiocategory-in-joomla-15/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Format the footer [subscribe] link in AcaJoom newsletters</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/format-the-footer-subscribe-link-in-acajoom-newsletters/</link>
		<comments>http://myquickfix.co.uk/index.php/2008/12/format-the-footer-subscribe-link-in-acajoom-newsletters/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 16:00:40 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[acajoom]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=145</guid>
		<description><![CDATA[Problem
I&#8217;m using AcaJoom Plus as a newsletter component for Joomla, on behalf of a client. While testing the component I found that once the &#8220;Change your subscription&#8221; and &#8220;Unsubscribe&#8221; links were appended, it messed up my template and styling. The text is surrounded SPAN with a class called &#8216;subscriptionlink_nws&#8217; applied to it, but there is only so much you can do with styles in the newsletter itself.
Solution
The &#8221;Change your subscription&#8221; and &#8220;Unsubscribe&#8221; links can be found in the file &#8216;class.jmail.php&#8217; which sits in: [site root]/administrator/components/com_acajoom/classes/.
Open this file and at around line 76 ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I&#8217;m using <a title="AcaJoom Website" href="http://www.acajoom.com/">AcaJoom Plus</a> as a newsletter component for Joomla, on behalf of a client. While testing the component I found that once the &#8220;Change your subscription&#8221; and &#8220;Unsubscribe&#8221; links were appended, it messed up my template and styling. The text is surrounded SPAN with a class called &#8216;subscriptionlink_nws&#8217; applied to it, but there is only so much you can do with styles in the newsletter itself.</p>
<h2>Solution</h2>
<p>The &#8221;Change your subscription&#8221; and &#8220;Unsubscribe&#8221; links can be found in the file &#8216;class.jmail.php&#8217; which sits in: [site root]/administrator/components/com_acajoom/classes/.</p>
<p>Open this file and at around line 76 you should see:</p>
<blockquote><p>$subscriptionstext = &#8216;&lt;p&gt;&#8217;. $subscriptionslink . &#8216;&lt;br /&gt;&#8217; . $unsubscribelink . &#8216;&lt;/p&gt;&#8217;;</p></blockquote>
<p>I found that simply removing the &lt;p&gt; tags made things instantly better, but you might want to add more custom html in there.</p>
<p>This works for the &#8216;News&#8217;, &#8216;Plus&#8217; and presumably &#8216;Pro&#8217; versions of AcaJoom.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2008/12/format-the-footer-subscribe-link-in-acajoom-newsletters/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#039;Restricted Access&#039; message in JCE Editor Plugin / Mambot</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/restricted-access-jce-editor/</link>
		<comments>http://myquickfix.co.uk/index.php/2008/12/restricted-access-jce-editor/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 17:35:16 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[JCE]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=54</guid>
		<description><![CDATA[Problem
Man, this had me tearing my hair out! I was trying to install JCE Editor update 1.1.9.2, for the Joomla Content Editor component/mambot. The mambot installed fine, but whenever I tried to use a Plugin that had a file browse area, I&#8217;d see &#8220;Restricted Access&#8221; in the file list pane. An example is shown here:
Plugin showing Restricted Access
Solution
The problem was lazyness. I hadn&#8217;t read the install info thoroughly enough. is says &#8220;Joomla! 1.0.13 requires this session fix.&#8221; I don&#8217;t know exactly what the patch does, but it&#8217;s about session&#8217;ish&#8217;ness, and works a ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Man, this had me tearing my hair out! I was trying to install <a title="JCE Editor downloads link" href="http://www.joomlacontenteditor.net/downloads/editor.html" target="_self">JCE Editor update 1.1.9.2</a>, for the Joomla Content Editor component/mambot. The mambot installed fine, but whenever I tried to use a <a title="JCE Plugins" href="http://www.joomlacontenteditor.net/downloads/plugins.html" target="_self">Plugin</a> that had a file browse area, I&#8217;d see &#8220;Restricted Access&#8221; in the file list pane. An example is shown here:</p>
<div id="attachment_56" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/jce-restricted.gif"><img class="size-medium wp-image-56     " style="border: 1px solid #aaa;" title="jce-restricted-access" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/jce-restricted-240x300.gif" alt="File Manager Plugin showing 'Restricted Access' after Mambot update." width="240" height="300" /></a><p class="wp-caption-text">Plugin showing Restricted Access</p></div>
<h2>Solution</h2>
<p>The problem was lazyness. I hadn&#8217;t read the install info thoroughly enough. is says &#8220;Joomla! 1.0.13 requires <a title="Session fix for Joomla 1.0.13" href="http://forum.joomla.org/viewtopic.php?t=200725">this session fix</a>.&#8221; I don&#8217;t know exactly what the patch does, but it&#8217;s about session&#8217;ish&#8217;ness, and works a treat!</p>
<p>By the way, If you have a Joomla CMS driven site, and still use the included TinyMCE content editor,  JCE is excellent as a replacement content editor for Joomla 1.0.* and 1.5.* versions. I can also recommend the free and &#8216;subscription&#8217; <a title="JCE Editor Plugins download page" href="http://www.joomlacontenteditor.net/downloads/plugins.html" target="_self">JCE plugins</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2008/12/restricted-access-jce-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
