<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Joomla Tips</title>
	
	<link>http://joomlatips.com</link>
	<description />
	<lastBuildDate>Sun, 21 Feb 2010 12:48:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/joomlatips" /><feedburner:info uri="joomlatips" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>joomlatips</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Joomla Template Workshop (LIVE)</title>
		<link>http://feedproxy.google.com/~r/joomlatips/~3/OlW4JE2O-sQ/joomla-template-workshop-live</link>
		<comments>http://joomlatips.com/2010/development-tips/joomla-template-workshop-live#comments</comments>
		<pubDate>Sun, 21 Feb 2010 11:25:20 +0000</pubDate>
		<dc:creator>Tess</dc:creator>
				<category><![CDATA[Development tips]]></category>
		<category><![CDATA[helpful advice]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[Joomla template]]></category>
		<category><![CDATA[suggestions]]></category>

		<guid isPermaLink="false">http://joomlatips.com/?p=275</guid>
		<description><![CDATA[Joomla template creator workshop, by the developer of Biggie Small template for Joomla.]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-282" title="Joomla template Biggie Smalls" src="http://joomlatips.com/wp/wp-content/uploads/2010/02/biggiesmalls.png" alt="Joomla template Biggie Smalls" width="492" height="300" /><br />
Daniel from <a title="Click here to visit Compojoom.com" href="http://compojoom.com/" target="_blank">Compojoom.com</a>, creator of the Joomla template &#8220;Biggie Smalls&#8221;, is now meeting the demand from the community and is offering a <a href="http://www.eventbrite.com/event/558717138/compojoom2010/3443936979" target="_blank">live workshop</a>.</p>
<blockquote><p>&#8220;&#8230;a lot of my members asked me if I could show them how to make templates like I did; therefore by popular demand, I&#8217;m organizing a live training webinar wherein I will teach you all you need to know in matter of 3 hours instead of the 3 months it would take you should you have decided to go figure it out yourself.&#8221;</p></blockquote>
<p><span id="more-275"></span></p>
<h3>Content, time and place</h3>
<p>This webinar takes place on <strong>March 6</strong> and will have a duration of 3 hours. For full content (and it&#8217;s a lot!) of the workshop, <a href="http://www.eventbrite.com/event/558717138/compojoom2010/3443936979" target="_blank">click here</a>. <strong>Bonus:</strong> you also get get the developer version of the Biggie Smalls template (value USD 147).</p>
<p class="alert" style="text-align: center;"><a href="http://www.eventbrite.com/event/558717138/compojoom2010/3443936979?discount=joomlajunkie" target="_blank">CLICK HERE to register for this event</a><br />
(Enter discount code <strong>JOOMLAJUNKIE</strong> for 30% off!</p>
<img src="http://feeds.feedburner.com/~r/joomlatips/~4/OlW4JE2O-sQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://joomlatips.com/2010/development-tips/joomla-template-workshop-live/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://joomlatips.com/2010/development-tips/joomla-template-workshop-live?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=joomla-template-workshop-live</feedburner:origLink></item>
		<item>
		<title>How to change a websites php memory_limit</title>
		<link>http://feedproxy.google.com/~r/joomlatips/~3/VjO3vd5JemA/how-to-change-a-websites-php-memory_limit</link>
		<comments>http://joomlatips.com/2010/core-tips/how-to-change-a-websites-php-memory_limit#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:39:15 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Core tips]]></category>
		<category><![CDATA[Development tips]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[memory limit]]></category>
		<category><![CDATA[memory_limit]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://joomlatips.com/?p=267</guid>
		<description><![CDATA[Have you ever installed a Joomla extension and got nothing but a white screen?
Most likely you hit the memory limit on your  server.  Memory limits help to keep scripts from running out of control or using up all of your free memory.  On the other hand, sometimes you are adding a fancy [...]]]></description>
			<content:encoded><![CDATA[<p class="sub-intro">Have you ever installed a Joomla extension and got nothing but a white screen?</p>
<p>Most likely you hit the memory limit on your  server.  Memory limits help to keep scripts from running out of control or using up all of your free memory.  On the other hand, sometimes you are adding a fancy extension to your site, that simply requires slightly more memory then the default 8mb that <a title="Apache Wiki" href="http://en.wikipedia.org/wiki/Apache_HTTP_Server">Apache</a> gives you.   Let&#8217;s show you how to fix that.</p>
<p><span id="more-267"></span>First, before we get too far, these instructions assume your server is running Apache and you either are on a VPS, or a dedicated server.  If you are on a shared host, this might still be possible, but it is dependent upon how your host has your account setup.  It may or may not be easy to change.  If you are unsure, submit a ticket to your webhost.  You are paying for their service, there is nothing wrong with asking them.</p>
<p>Now, let&#8217;s get rolling.  You will want to be able to see what your memory limit is easily.  If you are on Joomla, you can login to the backend and go to:<br />
<code>Help&gt;System Info&gt;Php Information</code></p>
<p>Search the page for &#8220;memory_limit&#8221;.  You will see something similar to this.  (yours will possibly say 8m)</p>
<p><img class="aligncenter" title="memory_limit" src="http://www.prothemer.com/assets/staff/matt/screencaps/2009-10-29_1400.png" alt="" width="467" height="100" /></p>
<h4>Now that we know what our php memory limit is, let&#8217;s get to changing it.</h4>
<p>Many guides for changing your memory limit on the internet are written for people with a dedicated server and presume you want your entire server, and all it&#8217;s enclosed websites to have a higher memory limit.  This is less then ideal, but I will explain who to do it anyhow.</p>
<h4>Edit your php.ini file.</h4>
<p>Open your php.ini file.  <a title="definition to YMMV" href="http://www.urbandictionary.com/define.php?term=YMMV">YMMV</a>, but it will most likely be located at:<br />
<code>/etc/php.ini</code><br />
Search for memory_limit and change the value from 8m, to 16mb or 32mb. (don&#8217;t go much higher)</p>
<p>Save the file, then restart Apache via ssh using this commend or whatever method you prefer.<br />
<code>/etc/init.d/httpd restart</code><br />
Check your phpinfo now, and you should be fixed.</p>
<p>Now, if you have more then one website on your server you most likely do not want to raise your memory limit globally.  You would want to do it on a per-site basis.  To do it this way, you will make a change in your websites public_html directory.  This is called a override.</p>
<p>Not all webhosting companies are the same.  There are two ways you can do this.</p>
<h4>A: .htaccess override.</h4>
<p>Open up, (or create) a file in your public_html directory called .htaccess.  Inside this file, add the line<br />
<code>php_value memory_limit 16M</code><br />
Save it, and check your phpinfo again.  No restart is required for this.</p>
<h4>B: php.ini method</h4>
<p>If .htaccess didn&#8217;t work, some webhosts will have you put a file called php.ini in your public_html directory instead.  Inside that file, insert the line:<br />
<code>memory_limit = 16M</code><br />
Save it, and check your phpinfo again.</p>
<p>Use one or the other of these methods.   Typically one of these methods will make your site 500 error if your webhost does not allow it.  Make sure you check your site after every change you make.  If your site 500&#8217;s, then your host does not permit the method you tried, and revert your changes.</p>
<div id="attachment_2054" class="wp-caption aligncenter" style="width: 460px"><img class="size-large wp-image-2054" title="ISE" src="http://www.prothemer.com/blog/wp-content/uploads/2009/10/ISE-490x340.jpg" alt="500 error.  No bueno!" width="450" height="312" /><p class="wp-caption-text">500 error.  No bueno!</p></div>
<p>There.  Now you have raised your php memory limit to be able to handle heavier scripts.  You can usually get by with 8mb for Joomla, but with new extensions like <a href="http://www.corephp.com/">WordPress4Joomla</a> and <a href="http://www.joomlajunkie.com/templates/morph/morph.html">JoomlaJunkies Morph</a>, you will most likely need 16mb.  the minimum requirement for Drupal is 16mb, with 32mb recommended.  Just do not go much over 128mb.  Typically 32 will be more then enough.<br />
What do you keep your memory limit at on your site?  Let us know your thoughts in the comments.</p>
<img src="http://feeds.feedburner.com/~r/joomlatips/~4/VjO3vd5JemA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://joomlatips.com/2010/core-tips/how-to-change-a-websites-php-memory_limit/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://joomlatips.com/2010/core-tips/how-to-change-a-websites-php-memory_limit?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-change-a-websites-php-memory_limit</feedburner:origLink></item>
		<item>
		<title>How to disable ?tp=1 in Joomla</title>
		<link>http://feedproxy.google.com/~r/joomlatips/~3/FDCIq22RHho/how-to-disable-tp1-in-joomla</link>
		<comments>http://joomlatips.com/2010/core-tips/how-to-disable-tp1-in-joomla#comments</comments>
		<pubDate>Wed, 27 Jan 2010 21:11:21 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Core tips]]></category>
		<category><![CDATA[?tp=1]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[positions]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://joomlatips.com/?p=248</guid>
		<description><![CDATA[We covered how to show your published module positions using ?tp=1 in a previous post.
Now, a few weeks have passed and for some reason you are hyper paranoid and want to know how to hide it.  My first thought is to tell you that there are far more important things to be worrying about, but [...]]]></description>
			<content:encoded><![CDATA[<p class="sub-intro">We covered how to show your published module positions using ?tp=1 in a <a href="http://joomlatips.com/2009/core-tips/view-module-positions-on-a-joomla-site-with-tp1">previous post.</a></p>
<p>Now, a few weeks have passed and for some reason you are hyper paranoid and want to know how to hide it.  My first thought is to tell you that <a href="http://joomlatips.com/2009/core-tips/chmod-your-config-php-to-prevent-security-issues">there are far more important things to be worrying about</a>, but to each his own.  *shrugs*</p>
<p>The easiest way is to add this to your Joomla .htaccess file.<span id="more-248"></span></p>
<p><code>##### Start ?tp=1 prevention ######<br />
RewriteCond %{QUERY_STRING}  tp=(.*)<br />
RewriteRule ^(.*)$ index.php [F,L]<br />
##### End ?tp=1  prevention ######</code></p>
<p>You may need to change it from htaccess.txt to .htaccess first.  If your site goes down after changing the file name or has odd behaviors it&#8217;s time for you to do some reading on what .htaccess is and how to use it.  <a title="whats a htaccess file?" href="http://www.webhostingresourcekit.com/256.html" target="_blank">This article</a> has a lot of good info on the file and it&#8217;s proper usage.</p>
<p>I have heard about the previous method not working well for everybody in all situations.   Maybe you don&#8217;t want to use SEO urls.  Maybe you don&#8217;t want to read about htaccess and it&#8217;s proper usage.  You can always <a title="plugin disabling module positions view" href="http://extensions.joomla.org/extensions/5064/details" target="_blank">use this plugin on Joomla.org.</a> I have no personal experience with it, but it seems pretty straight forward.</p>
<p>A third alternative is to do a core hack.</p>
<p>Go to <strong>/libraries/joomla/application/module/helper.php </strong>and look around line 200 for this code.</p>
<p><code>//dynamically add outline style<br />
if(JRequest::getBool('tp')) {<br />
$attribs['style'] .= ' outline';<br />
}</code></p>
<p>Comment out the 3rd line out with //</p>
<p><code>//dynamically add outline style<br />
if(JRequest::getBool('tp')) {<br />
//$attribs['style'] .= ' outline';<br />
}</code><br />
<em>Keep in mind this is a core hack.  If you upgrade or patch your Joomla install, this hack will get deleted.</em></p>
<p>Finally, if all this code confuses you or is a hassle, you might want to try out <a href="http://www.joomlajunkie.com/templates/morph/morph.html">Morph from JoomlaJunkie.</a> This feature, as well as hundreds of other tweaks are built right into it.</p>
<p>This tip was inspired by a <a title="other ways to disable view module in joomla" href="http://blog.joomlaworks.gr/post/276187662/properly-preventing-tp-1-on-joomla-sites-using-php" class="broken_link"  target="_blank">Tumblr post I read here.</a> It has 2 other ways to disable ?tp=1 if you want other options.</p>
<img src="http://feeds.feedburner.com/~r/joomlatips/~4/FDCIq22RHho" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://joomlatips.com/2010/core-tips/how-to-disable-tp1-in-joomla/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://joomlatips.com/2010/core-tips/how-to-disable-tp1-in-joomla?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-disable-tp1-in-joomla</feedburner:origLink></item>
		<item>
		<title>Lose the WYSIWYG editor in Joomla</title>
		<link>http://feedproxy.google.com/~r/joomlatips/~3/EW5ExFlLW3M/lose-the-wysiwyg-editor-in-joomla</link>
		<comments>http://joomlatips.com/2010/core-tips/lose-the-wysiwyg-editor-in-joomla#comments</comments>
		<pubDate>Fri, 15 Jan 2010 21:37:01 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Core tips]]></category>
		<category><![CDATA[Development tips]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[inline editor]]></category>
		<category><![CDATA[WYSIWYG]]></category>

		<guid isPermaLink="false">http://joomlatips.com/?p=236</guid>
		<description><![CDATA[The editor is great in Joomla, don&#8217;t take this the wrong way, but if you want perfectly formatted content that displays exactly how you want it, there is no replacement for hand coding your articles.

Yes, it is great to be able to write a quick article and click a few buttons in the editor window [...]]]></description>
			<content:encoded><![CDATA[<p class="sub-intro">The editor is great in Joomla, don&#8217;t take this the wrong way, but if you want perfectly formatted content that displays exactly how you want it, there is no replacement for hand coding your articles.</p>
<p></p>
<p>Yes, it is great to be able to write a quick article and click a few buttons in the editor window to align things, but in the long run, you are really just hindering your education.  Knowing basic html is going to help you make cleaner, more readable, and more reliable websites.  Most articles consist of a lot of:<br />
<code>< p > and < h*> tags.</code><br />
Why run the risk of using a editor that may insert all sorts of nonsense like using <code>< p >< /p ></code> as spacers?  It&#8217;s not semantic, it makes no sense, and it&#8217;s invariably going to cause you issues over the long haul.<br />
<br />
Get a html cheat cheat, keep it nearby, and go unpublish all your WYSIWYG plugins in Joomla.  You will be glad you did.</p>
<img src="http://feeds.feedburner.com/~r/joomlatips/~4/EW5ExFlLW3M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://joomlatips.com/2010/core-tips/lose-the-wysiwyg-editor-in-joomla/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://joomlatips.com/2010/core-tips/lose-the-wysiwyg-editor-in-joomla?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=lose-the-wysiwyg-editor-in-joomla</feedburner:origLink></item>
		<item>
		<title>Automatically change your footer copyright</title>
		<link>http://feedproxy.google.com/~r/joomlatips/~3/ddpQdCk0dv0/automatically-change-your-footer-copyright-year</link>
		<comments>http://joomlatips.com/2010/core-tips/automatically-change-your-footer-copyright-year#comments</comments>
		<pubDate>Tue, 05 Jan 2010 19:55:45 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Core tips]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[copywrite]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[©]]></category>

		<guid isPermaLink="false">http://joomlatips.com/?p=225</guid>
		<description><![CDATA[Another year passes by with all the usual fun and frivolity, however, Did you remember to change your Copyright on your website footer?
Chances are, this wasn&#8217;t too high on your list, and you might overlook it until somebody mentions it to you in May.
There is no reason to have to do this yearly maintenance if [...]]]></description>
			<content:encoded><![CDATA[<p class="sub-intro">Another year passes by with all the usual fun and frivolity, however, Did you remember to change your Copyright on your website footer?</p>
<p>Chances are, this wasn&#8217;t too high on your list, and you might overlook it until somebody mentions it to you in May.<br />
There is no reason to have to do this yearly maintenance if you don&#8217;t mind doing a little cut and pasting.<br />
<br />
First, find where your copyright is inserted.  In Joomla, it is generally at the bottom of the templates index.php file.  Depending on the template, it may be in a different location.  Your mileage may vary.</p>
<p><span id="more-225"></span></p>
<p><img src="http://www.prothemer.com/assets/staff/matt/screencaps/2010-01-05_1435.png" alt="joomla copyright" /></p>
<p>Now, we will simply change the 2009 date, to this bit of php code:<br />
(Remove the space after the < and before the >)</p>
<p><code> < ?php echo date('Y');? > </code></p>
<p>So it looks like this now.</p>
<p><img src="http://www.prothemer.com/assets/staff/matt/screencaps/2010-01-05_1438.png" alt="self updating copyright" /></p>
<p>Pretty sweet right?</p>
<img src="http://feeds.feedburner.com/~r/joomlatips/~4/ddpQdCk0dv0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://joomlatips.com/2010/core-tips/automatically-change-your-footer-copyright-year/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://joomlatips.com/2010/core-tips/automatically-change-your-footer-copyright-year?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=automatically-change-your-footer-copyright-year</feedburner:origLink></item>
	</channel>
</rss>
