<?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>HonkBlog&#124;TechNotes</title>
	<atom:link href="http://www.honk.com.au/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.honk.com.au</link>
	<description>Notes, fixes, tips and suggestions from across my technical world</description>
	<lastBuildDate>Fri, 24 May 2013 13:22:20 +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>You need to take a French Test to really learn French</title>
		<link>http://www.honk.com.au/index.php/2013/05/23/you-need-to-take-a-french-test-to-really-learn-french/</link>
		<comments>http://www.honk.com.au/index.php/2013/05/23/you-need-to-take-a-french-test-to-really-learn-french/#comments</comments>
		<pubDate>Thu, 23 May 2013 14:22:32 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=421</guid>
		<description><![CDATA[<p>I&#8217;ve never learned French properly. I love the sound of the language and can hack my way around a cafe menu when visiting France but really don&#8217;t know how to speak it at all! It&#8217;s a little ironic (though only a little) therefore that my most recent project is all about testing your French! I <a href='http://www.honk.com.au/index.php/2013/05/23/you-need-to-take-a-french-test-to-really-learn-french/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2013/05/23/you-need-to-take-a-french-test-to-really-learn-french/">You need to take a French Test to really learn French</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve never learned French properly. I love the sound of the language and can hack my way around a cafe menu when visiting France but really don&#8217;t know how to speak it at all! It&#8217;s a little ironic (though only a little) therefore that my most recent project is all about <a href="http://www.french-test.com" target="_blank">testing your French</a>! I am very embarrased I&#8217;ve never <a href="http://www.bitesizedlanguages.com/learn-french-language" target="_blank">learned French</a> properly. I love the sound of the language and can hack my way around a cafe menu when visiting France but really don&#8217;t know how to speak it at all! It&#8217;s a little ironic (though only a little) therefore that my most recent project is all about testing your French! I am very fortunately the CTO of a company called Kwiziq which has just released <a href="http://www.french-test.com" target="_blank">French-test.com</a> &#8211; an application aiming to <strong>help you improve your French through targeted testing</strong> and then personalised learning recommendations.</p>
<p>We call this approach Test Driven Learning, meaning that tests are no longer something you do to evaluate how much you fortunately the CTO of a company called Kwiziq which has just released French-test.com &#8211; an application aiming to help you improve your French through targeted testing and then personalised learning recommendations.</p>
<p>We call this approach Test Driven Learning, meaning that tests are no longer something you do to simply evaluate your progress they&#8217;re tools to use to actively improve. French-test.com uses a terribly clever (if I do say so myself) set of algorithms to analyse your capabilities. It does this through simple <a href="http://www.french-test.com" target="_blank">French tests and quizzes</a>, detailed CEFR based exams, personalised assessments (based on gap analysis and your specific need) as well as several soon to be released Kwiziq based language games, that interpret your game play and responses to help further evaluate your level. We&#8217;re gathering all sorts of interesting group data too &#8211; helping us identify common problems amongst similar profiles of user and will soon be releasing a set of teacher led testing tools so teachers can incorporate additional testing and learning material into their curriculum easily.</p>
<p>So if you want to know how good your French really is, <a href="http://www.french-test.com" target="_blank">take a French test now</a>!</p>
<p>The post <a href="http://www.honk.com.au/index.php/2013/05/23/you-need-to-take-a-french-test-to-really-learn-french/">You need to take a French Test to really learn French</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2013/05/23/you-need-to-take-a-french-test-to-really-learn-french/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use the “__n()” for internationalisation/i18n function in cakephp?</title>
		<link>http://www.honk.com.au/index.php/2013/05/09/how-to-use-the-__n-function-for-internationalisation-i18n-in-cakephp/</link>
		<comments>http://www.honk.com.au/index.php/2013/05/09/how-to-use-the-__n-function-for-internationalisation-i18n-in-cakephp/#comments</comments>
		<pubDate>Thu, 09 May 2013 15:20:18 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Cake PHP]]></category>
		<category><![CDATA[Internationalization]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=411</guid>
		<description><![CDATA[<p>Following on from a post I wrote a long time ago entitled &#8221;What does “__n()” do in cakephp?&#8221; I thought I&#8217;d follow up with an example of how to actually use the __n() with i18n in cakephp as it&#8217;s not obvious and also hard to find examples of use and or documentation. If you&#8217;re using __(n) in version 2.0 <a href='http://www.honk.com.au/index.php/2013/05/09/how-to-use-the-__n-function-for-internationalisation-i18n-in-cakephp/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2013/05/09/how-to-use-the-__n-function-for-internationalisation-i18n-in-cakephp/">How to use the “__n()” for internationalisation/i18n function in cakephp?</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Following on from a post I wrote a long time ago entitled &#8221;<a title="What does “__n()” do in cakephp?" href="http://www.honk.com.au/index.php/2009/10/09/what-does-__n-do-in-cakephp/">What does “__n()” do in cakephp?</a>&#8221; I thought I&#8217;d follow up with an example of <strong>how to actually use the __n() with i18n in cakephp</strong> as it&#8217;s not obvious and also hard to find examples of use and or documentation.</p>
<p>If you&#8217;re using __(n) in version 2.0 or above Cake the documentation is <a href="http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html" target="_blank">here</a>.  After a brief look around I couldn&#8217;t find the 1.3 version please comment if you have the link!  The documentation says this:</p>
<pre style="padding-left: 30px;"> __n(<em>string $singular</em>, <em>string $plural</em>, <em>integer $count</em>, <em>mixed $args = null</em>)
Returns correct plural form of message identified by $singular and $plural for count $count. Some languages have more than one form for plural messages dependent on the count.</pre>
<p>This is fine but it doesn&#8217;t result in a translation that includes the actual numbers in translated context so here as a note to self more than anything is an example of <strong>how to actually use the __n() with i18n in cakephp:</strong></p>
<pre style="padding-left: 30px;">echo sprintf(__n('%s Singularname', '%s Pluralname',$number,true),$number);</pre>
<p style="padding-left: 30px;">e.g. how to show &#8220;x dog/s&#8221;</p>
<pre style="padding-left: 30px;">echo sprintf(__n('%s dog', '%s dogs',$number,true),$number);</pre>
<p>&nbsp;</p>
<p>Hope that&#8217;s useful!</p>
<p>&nbsp;</p>
<p>The post <a href="http://www.honk.com.au/index.php/2013/05/09/how-to-use-the-__n-function-for-internationalisation-i18n-in-cakephp/">How to use the “__n()” for internationalisation/i18n function in cakephp?</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2013/05/09/how-to-use-the-__n-function-for-internationalisation-i18n-in-cakephp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wp_redirect and wp_safe_redirect on custom admin pages in WordPress &#8211; Cannot modify header information &#8211; headers already sent</title>
		<link>http://www.honk.com.au/index.php/2013/01/21/wp_redirect-and-wp_safe_redirect_cannot_modify_header_information_ordpress/</link>
		<comments>http://www.honk.com.au/index.php/2013/01/21/wp_redirect-and-wp_safe_redirect_cannot_modify_header_information_ordpress/#comments</comments>
		<pubDate>Mon, 21 Jan 2013 17:17:40 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[gotcha]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[notetoself]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=405</guid>
		<description><![CDATA[<p>For some reason wp_redirect/wp_safe_redirect in WordPress can be a total pain, whether it be when writing custom front end code, plugins or widgets I seem to come across an issue with redirects periodically, with the utterly frustrating &#8220;Cannot modify header information &#8211; headers already sent&#8221; error.  As a heads up, this is caused as the name suggests by <a href='http://www.honk.com.au/index.php/2013/01/21/wp_redirect-and-wp_safe_redirect_cannot_modify_header_information_ordpress/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2013/01/21/wp_redirect-and-wp_safe_redirect_cannot_modify_header_information_ordpress/">wp_redirect and wp_safe_redirect on custom admin pages in WordPress &#8211; Cannot modify header information &#8211; headers already sent</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>For some reason wp_redirect/wp_safe_redirect in WordPress can be a total pain, whether it be when writing custom front end code, plugins or widgets I seem to come across an issue with redirects periodically, with the utterly frustrating &#8220;Cannot modify header information &#8211; headers already sent&#8221; error.  As a heads up, this is caused as the name suggests by  content in a header being pushed down before the redirect is called, this is a generic issue not one that is specific to WordPress.  More often than not it is simple to identify, if any of the involved PHP files have leading or trailing white space, and or there&#8217;s some hidden debug output you have forgotten.  Occasionally the issue is WordPress however, in my case the issue of wp_redirect not working on a custom admin page, was caused by a function in</p>
<p>/wp-admin/includes/template.php:1636 or so, whereby headers/html, quite a lot of them are indeed sent as part of the page load process.</p>
<p>Having ensured all of my files were trimmed and there was nothing wrong with my plugin code, I discovered <a href="http://stackoverflow.com/a/4809496/1099824">here </a>that there&#8217;s a little workaround for forms being called in custom admin pages, that is simply to append:</p>
<p>&amp;noheader=true</p>
<p>To your action, e.g.</p>
<p>&lt;form method=&#8221;POST&#8221; action=&#8221;?page=your-plugin-page&amp;noheader=true&#8221;&gt;</p>
<p>This resolved my problem instantly &#8211; understandably given it suppressed the content being produced in template.php!</p>
<p>Hope it helps anyone having problems with <strong>wp_redirect and wp_safe_redirect on custom admin pages in WordPress.</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="http://www.honk.com.au/index.php/2013/01/21/wp_redirect-and-wp_safe_redirect_cannot_modify_header_information_ordpress/">wp_redirect and wp_safe_redirect on custom admin pages in WordPress &#8211; Cannot modify header information &#8211; headers already sent</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2013/01/21/wp_redirect-and-wp_safe_redirect_cannot_modify_header_information_ordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal CSS failing/not working in IE 6,7,8</title>
		<link>http://www.honk.com.au/index.php/2012/10/23/drupal-css-failingnot-working-in-ie-678/</link>
		<comments>http://www.honk.com.au/index.php/2012/10/23/drupal-css-failingnot-working-in-ie-678/#comments</comments>
		<pubDate>Tue, 23 Oct 2012 12:51:51 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=77</guid>
		<description><![CDATA[<p>CSS on your drupal site not loading properly in IE (though working in FireFox)?  Loading sometimes and not others?  This comes down to an extremely annoying bug in IE (all versions) which is described here: http://support.microsoft.com/kb/262161 Essentially after the inclusion of 30 css scripts i.e. stops loaidng any more, this is not uncommon in the development <a href='http://www.honk.com.au/index.php/2012/10/23/drupal-css-failingnot-working-in-ie-678/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2012/10/23/drupal-css-failingnot-working-in-ie-678/">Drupal CSS failing/not working in IE 6,7,8</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>CSS on your drupal site not loading properly in IE (though working in FireFox)?  Loading sometimes and not others?  This comes down to an extremely annoying bug in IE (all versions) which is described here:</p>
<p><a href="http://support.microsoft.com/kb/262161">http://support.microsoft.com/kb/262161</a></p>
<p>Essentially after the inclusion of 30 css scripts i.e. stops loaidng any more, this is not uncommon in the development (non cached) mode of drupal so can be a real pain when you&#8217;re working with lots of modules and need to make changes to the css.</p>
<p>Along comes the &#8220;unlimited css&#8221; project on the drupal main site</p>
<p><a href="http://drupal.org/project/unlimited_css">http://drupal.org/project/unlimited_css</a></p>
<p>&#8220;Unlimited CSS&#8221; needs no configuration just install it and it will change the way that drupal (6 only for now) loads CSS to avoid this issue with IE.  Another great module that has saved me lots of head scratching.</p>
<p>The post <a href="http://www.honk.com.au/index.php/2012/10/23/drupal-css-failingnot-working-in-ie-678/">Drupal CSS failing/not working in IE 6,7,8</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2012/10/23/drupal-css-failingnot-working-in-ie-678/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_pagespeed filters cutting off urls incorrectly when using ajax (jQuery)</title>
		<link>http://www.honk.com.au/index.php/2012/03/09/mod_pagespeed-filters-cutting-off-urls-incorrectly-when-using-ajax-jquery/</link>
		<comments>http://www.honk.com.au/index.php/2012/03/09/mod_pagespeed-filters-cutting-off-urls-incorrectly-when-using-ajax-jquery/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 16:49:52 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[gotchas]]></category>
		<category><![CDATA[mod_pagespeed]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=397</guid>
		<description><![CDATA[<p>I just started using mod_pagespeed from google, an Apache module that aims to speed up page serving by eking out a load of small improvements that can be made to rendered html.  So far I&#8217;ve certainly noticed some improvement, though not as much as some have claimed.  I had already spent a load of time with the pagespeed plugin <a href='http://www.honk.com.au/index.php/2012/03/09/mod_pagespeed-filters-cutting-off-urls-incorrectly-when-using-ajax-jquery/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2012/03/09/mod_pagespeed-filters-cutting-off-urls-incorrectly-when-using-ajax-jquery/">mod_pagespeed filters cutting off urls incorrectly when using ajax (jQuery)</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I just started using <a href="http://code.google.com/speed/page-speed/docs/module.html" target="_blank">mod_pagespeed </a>from google, an Apache module that aims to speed up page serving by eking out a load of small improvements that can be made to rendered html.  So far I&#8217;ve certainly noticed some improvement, though not as much as some have claimed.  I had already spent a load of time with the pagespeed plugin for chrome speeding up the site before installing it, so there&#8217;s perhaps not much to do, but we&#8217;ll see. Almost immediately I had a problem with one of the default filters, you can <a href="http://code.google.com/speed/page-speed/docs/config_filters.html" target="_blank">read about default mod_pagespeed filters here</a>, the one I was having issues with in particular was trim_urls, which &#8220;This filter trims URLs by resolving them by making them relative to the base URL for the page&#8221;.  This was all working fine on the main site, but as soon as I started working with ajax, the receiving pages would start screwing up, urls would be randomly cut off (or perhaps not randomly but with no apparent explanation).  Anyway I removed this setting, by editing:</p>
<p>pagespeed.conf</p>
<p>under mods_available in the apache2 folder (sorry cannot do direct path, server rejects it!)</p>
<p>and adding (or uncommenting) the line: ModPagespeedDisableFilters trim_urls This removes the filter from the default settings, which comprise of</p>
<pre> add_head
   combine_css
   convert_meta_tags
   extend_cache
   inline_css
   inline_import_to_link
   inline_javascript
   rewrite_css
   rewrite_images
   rewrite_javascript
   rewrite_style_attributes_with_url
   trim_urls</pre>
<p>The post <a href="http://www.honk.com.au/index.php/2012/03/09/mod_pagespeed-filters-cutting-off-urls-incorrectly-when-using-ajax-jquery/">mod_pagespeed filters cutting off urls incorrectly when using ajax (jQuery)</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2012/03/09/mod_pagespeed-filters-cutting-off-urls-incorrectly-when-using-ajax-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Aptana Studio 3 &#8211; FTP &#8220;Opening file for write failed&#8221;</title>
		<link>http://www.honk.com.au/index.php/2012/03/09/eclipse-aptana-studio-3-ftp-opening-file-for-write-failed/</link>
		<comments>http://www.honk.com.au/index.php/2012/03/09/eclipse-aptana-studio-3-ftp-opening-file-for-write-failed/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 16:22:47 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Aptana]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Efficiency]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=393</guid>
		<description><![CDATA[<p>Aptana for Eclipse is brilliant, an amazing plugin, that for the most part really gives a productivity boost.   Something that I&#8217;ve never quite understood however is why they keep messing with their FTP integration.  I&#8217;ll  be honest this was one of the main reasons I started using it instead of the older eclipse PHP <a href='http://www.honk.com.au/index.php/2012/03/09/eclipse-aptana-studio-3-ftp-opening-file-for-write-failed/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2012/03/09/eclipse-aptana-studio-3-ftp-opening-file-for-write-failed/">Eclipse Aptana Studio 3 &#8211; FTP &#8220;Opening file for write failed&#8221;</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Aptana for Eclipse is brilliant, an amazing plugin, that for the most part really gives a productivity boost.   Something that I&#8217;ve never quite understood however is why they keep messing with their FTP integration.  I&#8217;ll  be honest this was one of the main reasons I started using it instead of the older eclipse PHP tools.  For some reason though whenever I do an update it seems to work slightly differently &#8211; either location in the context menu, or what can be uploaded from where or whatever.  So in the latest version it&#8217;s known as &#8220;deployment&#8221; &#8211; ok that makes sense, but it&#8217;s also broken.    For ages I was living with &#8221;Opening file for write failed&#8221; errors, just switching to Filezilla when I needed to do FTP, this however is such a pain and really slows you down when you&#8217;re making small regular changes to test or whatever.   After yet another &#8221;Opening file for write failed&#8221;, I decided to sort it out, I found a few references to it, none of which really helped, so I resorted to the age old process of just trying different settings until I found one that worked.  Form me, the resolution of the <strong>Eclipse Aptana Studio 3 &#8211; FTP &#8220;Opening file for write failed&#8221; </strong>error was just to change to SFTP rather than non SFTP.  Nothing exciting in this, but worth noting simply because a number of references I found suggested the opposite also worked.  So the tip, if you&#8217;re getting &#8221;Opening file for write failed&#8221; in Aptana FTP, is just experiment with variations in your SFTP settings, one of them should work!</p>
<p>The post <a href="http://www.honk.com.au/index.php/2012/03/09/eclipse-aptana-studio-3-ftp-opening-file-for-write-failed/">Eclipse Aptana Studio 3 &#8211; FTP &#8220;Opening file for write failed&#8221;</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2012/03/09/eclipse-aptana-studio-3-ftp-opening-file-for-write-failed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to link a Facebook app to a fan page</title>
		<link>http://www.honk.com.au/index.php/2012/01/09/how-to-link-a-facebook-app-to-a-fan-page/</link>
		<comments>http://www.honk.com.au/index.php/2012/01/09/how-to-link-a-facebook-app-to-a-fan-page/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 16:54:06 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Facebook Apps]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[notetoself]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=389</guid>
		<description><![CDATA[<p>I&#8217;ve just spent tow frustrating hours going around the houses, trying to work out how to link my brand new Facebook I-frame app to my fan page.  I&#8217;ve done this successfully before, but it was a while ago so this is a note to self.  I&#8217;m constantly amazed at how despite such comprehensive documentation it can be so <a href='http://www.honk.com.au/index.php/2012/01/09/how-to-link-a-facebook-app-to-a-fan-page/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2012/01/09/how-to-link-a-facebook-app-to-a-fan-page/">How to link a Facebook app to a fan page</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just spent tow frustrating hours going around the houses, trying to work out how to link my brand new Facebook I-frame app to my fan page.  I&#8217;ve done this successfully before, but it was a while ago so this is a note to self.  I&#8217;m constantly amazed at how despite such comprehensive documentation it can be so difficult to find things that are so fundamental to how a Facebook app works.  So, in case it helps, to link a  Facebook app to a fan page (other than the page you create for the app) you need to use this url:</p>
<p><a href="https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&amp;next=YOUR_URL" target="_blank">https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&amp;next=YOUR_URL</a></p>
<p>Obviously replacing the capitalised details.  The app ID is easy &#8211; found here in your <a href="https://developers.facebook.com/apps" target="_blank">app settings</a>, the url as far as I can tell can be anything, just cut and paste your app url here and it will redirect you to it afterwards.  When linking your Facebook app to the fan page, the link above will allow you to select which page you want to link to, submit this.</p>
<p>From here, go to your fan page &gt; edit page &gt; apps (in the left nav) and the new app should be listed, from which point you can choose to &#8220;link to this tab&#8221; and it will appear in your menu on the left.</p>
<p>The information for this was sourced from <a href="https://developers.facebook.com/docs/appsonfacebook/pagetabs/">https://developers.facebook.com/docs/appsonfacebook/pagetabs/</a> hopefully it will help you with<strong> how to link a Facebook app to a fan page.</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="http://www.honk.com.au/index.php/2012/01/09/how-to-link-a-facebook-app-to-a-fan-page/">How to link a Facebook app to a fan page</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2012/01/09/how-to-link-a-facebook-app-to-a-fan-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress random 404 errors on pages that were working</title>
		<link>http://www.honk.com.au/index.php/2011/11/02/wordpress-random-404-errors-on-pages-that-were-working/</link>
		<comments>http://www.honk.com.au/index.php/2011/11/02/wordpress-random-404-errors-on-pages-that-were-working/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 21:28:43 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[notetoself]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=385</guid>
		<description><![CDATA[<p>WordPress is fantastic, what else can you say.  The new custom post types and taxonomies make it a super powerful system that can handle the vast majority of average web content management requirements simply and quickly.  It does have its quirks to be sure, and one of them is the tendency for it to screw <a href='http://www.honk.com.au/index.php/2011/11/02/wordpress-random-404-errors-on-pages-that-were-working/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2011/11/02/wordpress-random-404-errors-on-pages-that-were-working/">WordPress random 404 errors on pages that were working</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>WordPress is fantastic, what else can you say.  The new custom post types and taxonomies make it a super powerful system that can handle the vast majority of average web content management requirements simply and quickly.  It does have its quirks to be sure, and one of them is the tendency for it to screw up it&#8217;s permalink cache at times producing<strong> random 404 errors on pages that were working</strong> to that point.  This often happens when you change slug values in your functions.php but it can certainly happen at other times.  If this happens the quickest way to sort it (normally) is to reset your permalink structure to the default then reapply any custom paths you have defined.  Volia, old pages back on track, no more random 404s on WordPress.</p>
<p>The post <a href="http://www.honk.com.au/index.php/2011/11/02/wordpress-random-404-errors-on-pages-that-were-working/">WordPress random 404 errors on pages that were working</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2011/11/02/wordpress-random-404-errors-on-pages-that-were-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal: Call to undefined function zen_menu_item_link()</title>
		<link>http://www.honk.com.au/index.php/2011/09/29/drupal-call-to-undefined-function-zen_menu_item_link/</link>
		<comments>http://www.honk.com.au/index.php/2011/09/29/drupal-call-to-undefined-function-zen_menu_item_link/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 09:55:11 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[badtiming]]></category>
		<category><![CDATA[notetoself]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=381</guid>
		<description><![CDATA[<p>I&#8217;ve spent the last couple of nights working through Centos rebuilds, solr installations, and hook_blocks that just weren&#8217;t working the way I wanted them too, so this morning on booting up my newly restored system on encountering &#8220;Call to undefined function zen_menu_item_link()&#8221; I was just about ready to punch something! After ranting a bit and <a href='http://www.honk.com.au/index.php/2011/09/29/drupal-call-to-undefined-function-zen_menu_item_link/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2011/09/29/drupal-call-to-undefined-function-zen_menu_item_link/">Drupal: Call to undefined function zen_menu_item_link()</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve spent the last couple of nights working through Centos rebuilds, solr installations, and hook_blocks that just weren&#8217;t working the way I wanted them too, so this morning on booting up my newly restored system on encountering &#8220;<strong>Call to undefined function zen_menu_item_link()</strong>&#8221; I was just about ready to punch something!</p>
<p>After ranting a bit and the only references online to Call to undefined function zen_menu_item_link() being the error itself on unmaintained sites I took deep breaths and went through my &#8220;broken drupal&#8221; checklist.  Fortunately on this occasion the problem was fixed by flushing out all the cached variables.  In SQL paste the following:</p>
<p>&nbsp;</p>
<p>update system s<br />
set s.status=0, s.throttle=0, s.bootstrap=0<br />
where filename = &#8216;modules/update/update.module&#8217;;</p>
<p>TRUNCATE cache;<br />
TRUNCATE cache_block;<br />
TRUNCATE cache_content;<br />
TRUNCATE cache_filter;<br />
TRUNCATE cache_form;<br />
TRUNCATE cache_menu;<br />
TRUNCATE cache_page;<br />
TRUNCATE cache_update;</p>
<p>And the drupal issue Call to<strong> undefined function zen_menu_item_link()</strong> should be no longer!</p>
<p>&nbsp;</p>
<p>The post <a href="http://www.honk.com.au/index.php/2011/09/29/drupal-call-to-undefined-function-zen_menu_item_link/">Drupal: Call to undefined function zen_menu_item_link()</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2011/09/29/drupal-call-to-undefined-function-zen_menu_item_link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter &#8211; Epic Fail &#8211; Account disabled blocks that username</title>
		<link>http://www.honk.com.au/index.php/2011/06/28/twitter-epic-fail-account-disabled-blocks-that-username/</link>
		<comments>http://www.honk.com.au/index.php/2011/06/28/twitter-epic-fail-account-disabled-blocks-that-username/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 09:29:54 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[notetoself]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.honk.com.au/?p=371</guid>
		<description><![CDATA[<p>Having decided to get back onto the blog mission again and redefine my online thang somewhat I chose to combine and remove a few twitter accounts I had been using.  In case you&#8217;re wondering about the username change (unlikely, true, but in case you are!) I managed to skip through the clearly presented T&#38;Cs of <a href='http://www.honk.com.au/index.php/2011/06/28/twitter-epic-fail-account-disabled-blocks-that-username/' class='excerpt-more'>[...]</a></p><p>The post <a href="http://www.honk.com.au/index.php/2011/06/28/twitter-epic-fail-account-disabled-blocks-that-username/">Twitter &#8211; Epic Fail &#8211; Account disabled blocks that username</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Having decided to get back onto the blog mission again and redefine my online thang somewhat I chose to combine and remove a few twitter accounts I had been using.  In case you&#8217;re wondering about the username change (unlikely, true, but in case you are!) I managed to skip through the clearly presented T&amp;Cs of cancellation by twitter:</p>
<p><img class="aligncenter size-medium wp-image-372" title="punkd by twitter " src="http://www.honk.com.au/wp-content/uploads/2011/06/twitter-300x187.png" alt="" width="300" height="187" /></p>
<p>So now not only have I closed my old twitter account I&#8217;ve also, in the exuberance of changing twitter accounts blocked my original name, @spottmedia.  So two lessons learned, read the instructions and if it&#8217;s not broke don&#8217;t fix it!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="http://www.honk.com.au/index.php/2011/06/28/twitter-epic-fail-account-disabled-blocks-that-username/">Twitter &#8211; Epic Fail &#8211; Account disabled blocks that username</a> appeared first on <a href="http://www.honk.com.au">HonkBlog|TechNotes</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.honk.com.au/index.php/2011/06/28/twitter-epic-fail-account-disabled-blocks-that-username/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
