<?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>sven.buschbeck &#187; php</title>
	<atom:link href="http://svenbuschbeck.net/wordpress/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://svenbuschbeck.net/wordpress</link>
	<description>. . . .portfolio.blog. . . .human-computer-interaction. .semantic-web. .computer-science. .communication-design. . . . . . . . . . . . . . . . . . . . . . . . .</description>
	<lastBuildDate>Thu, 09 Sep 2010 15:53:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to make Jquerymenu for Drupal Keeping its State on Page Reload</title>
		<link>http://svenbuschbeck.net/wordpress/2010/02/how-to-make-jquerymenu-for-drupal-keeping-its-state-on-page-reload/</link>
		<comments>http://svenbuschbeck.net/wordpress/2010/02/how-to-make-jquerymenu-for-drupal-keeping-its-state-on-page-reload/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 18:13:32 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[jobs]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=804</guid>
		<description><![CDATA[While setting up the website for my new project &#8220;Glocal&#8221; www.glocal-project.eu), I came across the problem of finding a proper menu module. Something easy to use, stable and efficient in the same time for the complex intranet structure (therefore, sorry, but you will not be able to see my solution there unless you are a [...]]]></description>
			<content:encoded><![CDATA[<p>While setting up the website for my new project &#8220;Glocal&#8221; <a title="See project website" href="http://www.glocal-project.eu" target="_blank">www.glocal-project.eu</a>), I came across the problem of finding a proper menu module. Something easy to use, stable and efficient in the same time for the complex intranet structure (therefore, sorry, but you will not be able to see my solution there unless you are a project member). Something with a high usability in the end. <a title="Go to Activemenu project page" href="http://drupal.org/project/activemenu" target="_blank">Activemenu</a> is still quite buggy and <a title="Go to DHTML Menu project page" href="http://drupal.org/project/dhtml_menu" target="_blank">DHTML Menue</a> requires a double click to actually open a page — unbearable in a non-doulbe-click environment like the Internet — who is supposed to guess, that this menu requires a double click?? Leaving me with <a title="Go to Activemenu project page" href="http://drupal.org/project/jquerymenu" target="_blank">JQuerymenu</a>.</p>
<p>First impression: perfect! Open and close branches by clicking (+) or (-) — view page by clicking menu item label. Even the few styling issues could be fixed easily by using CSS. But as soon, as someone clicks a label, the menu collapses to its default status. It does not remember its last status after loading a different page with the same menu.</p>
<p>Is this it? All module have critical downsides like this? I was quite disappointed! <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>But I taught JQuerymenu to remember!</p>
<p>As it is quite some code, I will not post it here directly, but added it to the <a title="See tracker page" href="http://drupal.org/node/373273" target="_blank">tracker page for this &#8220;feature request&#8221;</a> or you can download the two updated files (<a title="Right click to save file to your disk" href="/media/drupal/jquerymenu.js" target="_blank">jquerymenu.js</a> and <a title="Right click to save file to your disk" href="/media/drupal/jquerymenu.module" target="_blank">jquerymenu.module</a>) here and replace the once in your /sites/all/modules/jquerymenu folder.</p>
<p>But please be careful, it should be considered an alpha version, there are quite some weaknesses (see tracker page). <em>Any feedback or suggestions are very welcome!<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2010/02/how-to-make-jquerymenu-for-drupal-keeping-its-state-on-page-reload/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple redirection using PHP and HTML meta tag</title>
		<link>http://svenbuschbeck.net/wordpress/2009/08/simple-redirection-using-php-and-html-meta-tag/</link>
		<comments>http://svenbuschbeck.net/wordpress/2009/08/simple-redirection-using-php-and-html-meta-tag/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 12:12:49 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=756</guid>
		<description><![CDATA[Something everyone needs once in a while&#8230; maybe you moved a file on your server or you did not install wordpress in the root folder of your webserver &#8211; like I did neither &#8211; a redirection or forwarding can be an easy answer. The script is rather simple &#8211; it redirects in three ways to [...]]]></description>
			<content:encoded><![CDATA[<p>Something everyone needs once in a while&#8230; maybe you moved a file on your server or you did not install wordpress in the root folder of your webserver &#8211; like I did neither <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  &#8211; a redirection or forwarding can be an easy answer.</p>
<p>The script is rather simple &#8211; it redirects in three ways to provide a reasonable fall back if any of the automatic redirecting fails. To use it on your server, just enter the URL/address/file name/folder you would like the user to be redirected to in the second line of the page/script.</p>
<div>Put the whole code and markup in a file with file extension &#8220;.php&#8221;.</div>
<div>In my case, every user ending up at &#8220;www.svenbuschbeck.net&#8221; should to be forwarded to &#8220;www.svenbuschbeck.net/wordpress/home&#8221;. So I adjusted the script below like &#8220;$url = &#8216;wordpress/home&#8217;&#8221;, named the file &#8220;index.php&#8221; and put it in the root folder. Done <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</div>
<pre>&lt;?php
$url = 'put your URL between the parenthesis';
header("Location: $url");
?&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/&gt;
&lt;meta http-equiv="refresh" content="0;url=&lt;?php echo $url; ?&gt;"/&gt;
&lt;title&gt;You will be redirected... &lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
If you are not redirected automatically, please click &lt;a href="&lt;?php echo $url; ?&gt;"&gt;here&lt;/a&gt;.
&lt;/body&gt;
&lt;/html&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2009/08/simple-redirection-using-php-and-html-meta-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
