<?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>PSD to Wordpress &#187; Tom</title> <atom:link href="http://www.sramekdesign.com/author/tommi/feed/" rel="self" type="application/rss+xml" /><link>http://www.sramekdesign.com</link> <description>Get your PSD sliced into the XHTML valid Wordpress theme. SramekDesign offers cheap and fast PSD to Wordpress conversion service.</description> <lastBuildDate>Tue, 30 Mar 2010 08:22:59 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Deep Blue</title><link>http://www.sramekdesign.com/wordpress/themes/deep-blue/</link> <comments>http://www.sramekdesign.com/wordpress/themes/deep-blue/#comments</comments> <pubDate>Tue, 30 Mar 2010 08:11:55 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Themes]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=565</guid> <description><![CDATA[
Deep Blue is an easily customizable and fully widgetized beautiful web 2.0 Wordpress theme.Features6 widget areas
3 widget areas in the footer
2 widget areas in the header
In-built Cufon support
Automatic thumbnails
3 level drop-down menu
Nested commentsPreview
Download
]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fthemes%2Fdeep-blue%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fthemes%2Fdeep-blue%2F&amp;source=TomSramek&amp;style=normal" height="61" width="51" /><br
/> </a></div><p>Deep Blue is an easily customizable and fully widgetized beautiful web 2.0 Wordpress theme.<br
/> <a
href="http://sramekdesign.com/free-theme/deepblue/"><img
src="http://www.sramekdesign.com/wp-content/uploads/2010/03/deepblue-screenshot-237x300.jpg" alt="" title="deepblue-screenshot" width="237" height="300" class="alignnone size-medium wp-image-571" /></a></p><h3>Features</h3><ul><li>6 widget areas</li><li>3 widget areas in the footer</li><li>2 widget areas in the header</li><li>In-built Cufon support</li><li>Automatic thumbnails</li><li>3 level drop-down menu</li><li>Nested comments</li></ul><p><a
class="preview" href="http://sramekdesign.com/free-theme/deepblue/">Preview</a><br
/> <a
class="download-file" href="http://www.sramekdesign.com/downloads/deepblue.zip">Download</a></p> ]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/themes/deep-blue/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Display recent and related posts without duplicating each other</title><link>http://www.sramekdesign.com/wordpress/display-recent-and-related-posts-without-duplicating-each-other/</link> <comments>http://www.sramekdesign.com/wordpress/display-recent-and-related-posts-without-duplicating-each-other/#comments</comments> <pubDate>Tue, 02 Mar 2010 08:22:57 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[do not duplicate]]></category> <category><![CDATA[function]]></category> <category><![CDATA[recent posts]]></category> <category><![CDATA[related posts]]></category> <category><![CDATA[WP_Query]]></category><guid
isPermaLink="false">http://sramekdesign.com/?p=496</guid> <description><![CDATA[
My client asked me to implement lists of recent and related posts below a single post without duplicating each other.What do we have to do?Create 2 instances of WP_Query class ($recent_query and $tags_query)
By the help of these instances we have to create loops for recent and related posts
IDs of the recent posts must be stored [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fdisplay-recent-and-related-posts-without-duplicating-each-other%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fdisplay-recent-and-related-posts-without-duplicating-each-other%2F&amp;source=TomSramek&amp;style=normal&amp;hashtags=do+not+duplicate,function,recent+posts,related+posts,WP_Query" height="61" width="51" /><br
/> </a></div><p>My client asked me to implement lists of recent and related posts below a single post without duplicating each other.<div
class="clear"></div><p><img
src="http://sramekdesign.com/wp-content/uploads/2010/03/re-rel.jpg" alt="recent and related posts" title="re-rel" class="alignleft size-full wp-image-497" /><div
class="clear"></div><h3>What do we have to do?</h3><ol><li>Create 2 instances of <a
rel="nofollow" href="http://codex.wordpress.org/Function_Reference/WP_Query">WP_Query class</a> ($recent_query and $tags_query)</li><li>By the help of these instances we have to create loops for recent and related posts</li><li>IDs of the recent posts must be stored in an array for later use</li><li>Implement displaying of the related posts based on tags</li><li>In the loop for tags we have to exclude IDs of recent posts from displaying</li></ol><p>This tutorial has two parts:</p><ul><li>Recent posts</li><li>Related posts</li></ul><h4>Recent posts</h4><p>This is how full code for recent posts looks:</p><pre class="brush: php; html-script: true;">
&lt;?php
/**
 * recent posts
 */
?&gt;

&lt;h2&gt;recent 5 posts&lt;/h2&gt;
&lt;?php $recent_query = new WP_Query(); ?&gt;
&lt;?php $recent_query-&gt;query('showposts=5'); $ids = array(); ?&gt;
&lt;ul&gt;
&lt;?php while($recent_query-&gt;have_posts()) : $recent_query-&gt;the_post();
 $ids[] = get_the_ID(); // we have to store IDs in the array for later use
?&gt;
	&lt;li&gt;
            &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;
            &lt;?php the_title(); ?&gt;
            &lt;/a&gt;
       &lt;/li&gt;
&lt;?php endwhile; ?&gt;
&lt;/ul&gt;
</pre><p>Now let&#8217;s go step by step:<br
/> The first we have to create instance of the WP_Query() class. Its references retain a lot of info that we can use later. More info about this class you can find in the <a
rel="nofollow" href="http://codex.wordpress.org/Function_Reference/WP_Query">function reference.</a></p><pre class="brush: php;">
&lt;?php $recent_query = new WP_Query(); ?&gt;
</pre><p>With the instance of WP_QUery we can query posts. We also have  to create an array $ids that we&#8217;ll use later for storing IDs of the rcent posts we displayed.</p><pre class="brush: php;">
&lt;?php
$recent_query-&gt;query('showposts=5'); // we are going to display 5 posts
$ids = array(); // create array we will use for storing recent posts' IDs
?&gt;
</pre><p>Using $recent_query object we can run a loop to display last 5 posts. We also have to get the ID of each post and store it in $id array. Note that the loop is inside ul tags i.e we want to repeat only list items with unique permalinks, not whole list.</p><pre class="brush: php; html-script: true;">
&lt;ul&gt;
&lt;?php while($recent_query-&gt;have_posts()) : $recent_query-&gt;the_post();
 $ids[] = get_the_ID(); // we have to store IDs in the array for later use
?&gt;
	&lt;li&gt;
            &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;
            &lt;?php the_title(); ?&gt;
            &lt;/a&gt;
       &lt;/li&gt;
&lt;?php endwhile; ?&gt;
&lt;/ul&gt;
</pre><h4>Related posts</h4><p>Here is a code of displaying of the related posts based on tags.</p><pre class="brush: php; html-script: true;">
&lt;?php
/**
 * related posts
 */

$tags = wp_get_post_tags( array('showposts' =&gt; 5, 'post__not_in'=&gt;$ids) );

    $tag_ids = array();
    foreach ($tags as $individual_tag)
        $tag_ids[] = $individual_tag-&gt;term_id;

    $args = array(
	'tag__in'=&gt;$tag_ids,
	'post__not_in'=&gt;$ids, // while using $recent_query we created $ids[] array with IDs of the recent posts
	'showposts'=&gt;5, // Number of related posts that will be shown.
	'caller_get_posts'=&gt;1);
    $tags_query = new WP_Query($args);
    if ($tags_query-&gt;have_posts()) {
?&gt;
    	&lt;div class=&quot;related-posts&quot;&gt;
            &lt;h2&gt;Related posts&lt;/h2&gt;
            &lt;ul&gt;

    &lt;?php while ($tags_query-&gt;have_posts()) { $tags_query-&gt;the_post(); ?&gt;           

    		&lt;li&gt;
    		    &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
    		&lt;/li&gt;   		

    &lt;?php } ?&gt;

            &lt;/ul&gt;
        &lt;/div&gt;

        &lt;?php
      }
?&gt;
</pre><p>The first we have create an array of tags and exclude recent posts. This we do by adding an array $ids to the parameter &#8216;post__not_in&#8217;.</p><pre class="brush: php;">
$tags = wp_get_post_tags( array('showposts' =&gt; 5, 'post__not_in'=&gt;$ids) );
</pre><p>Store the tags&#8217; ID&#8217;s in the array $tag_ids</p><pre class="brush: php;">
$tag_ids = array();
    foreach ($tags as $individual_tag)
        $tag_ids[] = $individual_tag-&gt;term_id;
</pre><p>Prepare $args &#8211; arguments we want to set for $tags_query instance of the WP_Query class.<br
/> Note argument &#8216;post__not_in&#8217; => $ids to which we assign array of the IDs of the recent posts. They won&#8217;t be displayed in the related posts.</p><pre class="brush: php;">
 $args = array(
	'tag__in'=&gt;$tag_ids,
	'post__not_in'=&gt;$ids, // while using $recent_query we created $ids[] array with IDs of the recent posts
	'showposts'=&gt;5, // Number of related posts that will be shown.
	'caller_get_posts'=&gt;1);
    $tags_query = new WP_Query($args);
</pre><p>If there are posts that meet our conditions:</p><pre class="brush: php;">
if ($tags_query-&gt;have_posts()) {
</pre><p>Start displaying related posts based on the their tags:</p><pre class="brush: php; html-script: true;">
&lt;div class=&quot;related-posts&quot;&gt;
            &lt;h2&gt;Related posts&lt;/h2&gt;
            &lt;ul&gt;

    &lt;?php while ($tags_query-&gt;have_posts()) { $tags_query-&gt;the_post(); ?&gt;           

    		&lt;li&gt;
    		    &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
    		&lt;/li&gt;   		

    &lt;?php } ?&gt;

            &lt;/ul&gt;
        &lt;/div&gt;
</pre>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/display-recent-and-related-posts-without-duplicating-each-other/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Advanced Videobox</title><link>http://www.sramekdesign.com/wordpress/plugins/advanced-videobox/</link> <comments>http://www.sramekdesign.com/wordpress/plugins/advanced-videobox/#comments</comments> <pubDate>Tue, 23 Feb 2010 11:14:19 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[embed]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[video]]></category> <category><![CDATA[videobox]]></category> <category><![CDATA[web 2]]></category> <category><![CDATA[widget]]></category> <category><![CDATA[XHTML valid]]></category> <category><![CDATA[youtube]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=470</guid> <description><![CDATA[
With this plugin you can add videos to your sidebar (or any other widgetized area of your site). Just copy and paste code of the video into the Advanced widget.
The Youtube&#8217;s original video code doesn&#8217;t pass W3C validation. The filtered video code of the Advanced Videobox will keep your site XHTML valid. Of course only [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fplugins%2Fadvanced-videobox%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fplugins%2Fadvanced-videobox%2F&amp;source=TomSramek&amp;style=normal&amp;hashtags=embed,plugin,video,videobox,web+2,widget,XHTML+valid,youtube" height="61" width="51" /><br
/> </a></div><p>With this plugin you can add videos to your sidebar (or any other widgetized area of your site). Just copy and paste code of the video into the Advanced widget.<br
/> The Youtube&#8217;s original video code doesn&#8217;t pass W3C validation. The filtered video code of the Advanced Videobox will keep your site XHTML valid. Of course only in case the site was valid beforehand <img
src='http://www.sramekdesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br
/> <em>See sidebar</em> for Advanced Videobox in action.</p><h3>Latest version 1.0.1</h3><p><a
class="download-file" rel="nofollow" href="http://wordpress.org/extend/plugins/advanced-videobox/">Download</a></p><h3>Features</h3><ul><li>Web 2.0 graphics</li><li>Plugin outputs XHTML valid code</li><li>Change sizes of the video comfortably through widget panel</li><li>Easily customizable CSS</li><li>Add up to 20 videos</li></ul><div
id="attachment_222" class="wp-caption alignnone" style="width: 340px"><img
src="http://tomsramek.com/wp-content/uploads/screenshot-11.jpg" alt="" title="screenshot-1" width="330" height="460" class="size-full wp-image-222" /><p
class="wp-caption-text">You can add up to 20 videos. Music, tutorials, ads or whatever you want.</p></div><h3>How-to</h3><ul><li>Download plugin from Wordpress repository.</li><li> Unzip and upload it to \wp-content\plugins\. Or you can go to the admin panel:<ul><li>Plugins &#8211;&gt; Add New</li><li>Type &#8220;advanced videobox&#8221; into the search field.</li><li>Install.</li></ul></li><li>Drag the widget instance to the widget panel of your choice</li><li>Choose number of videos and SAVE widget to see correct number of the input fields.</li><li>Add width and height of the videos</li><li>Add title and code for each video</li><li>If you want to display customized video player, you have to check &#8220;Enable parameters&#8221;. Don&#8217;t do that if you want to keep code of the video XHTML valid.<div
class="wp-caption alignnone" style="width: 317px"><img
class="size-full wp-image-47" title="yt" src="http://tomsramek.com/wp-content/uploads/yt.jpg" alt="" width="307" height="233" /><p
class="wp-caption-text">In the your youtube.com, click the wheel and play around with the colors of the player.</p></div></li></ul><p><a
rel="nofollow" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&#038;hosted_button_id=HKC9Q229KP22U" class="buy-me-beer">Buy me a beer</a></p> ]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/plugins/advanced-videobox/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>All-In-One Cufon</title><link>http://www.sramekdesign.com/wordpress/plugins/all-in-one-cufon/</link> <comments>http://www.sramekdesign.com/wordpress/plugins/all-in-one-cufon/#comments</comments> <pubDate>Tue, 23 Feb 2010 11:02:43 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[cufon]]></category> <category><![CDATA[flir]]></category> <category><![CDATA[font]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[replacement]]></category> <category><![CDATA[sifr]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=466</guid> <description><![CDATA[
All-In-One Cufon plugin allows you an easy replacement of standard fonts with beautiful catchy fonts.
This plugin implements Simo Kinnunen&#8217;s Cufón script, which aspires to become a worthy alternative to sIFR.
Latest version 1.0.3
Download
FeaturesEasy to use
Automatic detection of the uploaded fonts
Preview of the uploaded fonts
Automatic detection of the fontFamily parameter
Option to enable only font you really want [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fplugins%2Fall-in-one-cufon%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fplugins%2Fall-in-one-cufon%2F&amp;source=TomSramek&amp;style=normal&amp;hashtags=cufon,flir,font,plugin,replacement,sifr" height="61" width="51" /><br
/> </a></div><p>All-In-One Cufon plugin allows you an easy replacement of standard fonts with beautiful catchy fonts.<br
/> This plugin implements Simo Kinnunen&#8217;s <a
href="http://wiki.github.com/sorccu/cufon/about" rel="nofollow">Cufón script</a>, which aspires to become a worthy alternative to sIFR.</p><h3>Latest version 1.0.3</h3><p><a
href="http://wordpress.org/extend/plugins/all-in-one-cufon/" rel="nofollow" class="download-file">Download</a></p><h3>Features</h3><ul><li>Easy to use</li><li>Automatic detection of the uploaded fonts</li><li>Preview of the uploaded fonts</li><li>Automatic detection of the fontFamily parameter</li><li>Option to enable only font you really want to use</li><li>Code tips</li></ul><div
id="attachment_200" class="wp-caption alignnone" style="width: 238px"><a
href="http://tomsramek.com/wp-content/uploads/screenshot-1.jpg"><img
src="http://tomsramek.com/wp-content/uploads/screenshot-1-228x300.jpg" alt="" title="screenshot-1" width="228" height="300" class="size-medium wp-image-200" /></a><p
class="wp-caption-text">All-In-One Cufon admin panel with code tips, fonts preview and field where you set your font.</p></div><h3>How-to</h3><ul><li>Download plugin from Wordpress repository.</li><li>Unzip and upload it to \wp-content\plugins\. Or you can go to the admin panel:<ul><li>Plugins &#8211;> Add New</li><li>Type &#8220;all-in-one cufon&#8221; into the search field.</li><li>Install.</li><li>First you have to generate JavaScript file of your .otf, .ttf etc. font file. To generate this you have to go the <a
href="http://cufon.shoqolate.com/generate/" rel="nofollow">Cufon generator</a>.<br
/> Make sure the EULA of the font permits web embedding.</li></ul></li><li>Create a folder called /cufon-fonts/ in the wp-content/plugins/ directory, where you need to upload your generated font .js files.</li><li>When you&#8217;re done, just go the admin panel: Settings&#8211;>All-In-One Cufon</li><li>There you will instantly see fonts that were detected in your \wp-content\plugins\cufon-fonts\ folder.</li><li>Enable fonts you wish to use.</li><li>The last step is adding the Cufón code.</li></ul><h4>Adding Cufon code</h4><p>Add Cufon code to the Cufon&#8217;s code field. Basic code for replacing h2 element looks like this:</p><pre class="brush: jscript;">
Cufon.replace('h2');
</pre><p>For more complex element you can use code like this:</p><pre class="brush: jscript;">
Cufon.replace('#top-menu.menu');
</pre><p>1. Add gradient to the font:</p><pre class="brush: jscript;">
Cufon.replace('.cufon-gradient', {
                	color: '-linear-gradient(red, blue)'
                    });
</pre><div
class="cufon-gradient">Cufon can make use of gradients</div><p>2. Add shadow to the font:</p><pre class="brush: jscript;">
Cufon.replace('.cufon-shadow', {
                    textShadow: '2px 2px red'
                    });
</pre><div
class="cufon-shadow">Cufon can have a shadow, too!</div><p>3. Add gradient and shadow to the font:</p><pre class="brush: jscript;">
Cufon.replace('.cufon-gradient-shadow', {
                	color: '-linear-gradient(blue, yellow)',
                        textShadow: '2px 2px #C0C0C0'
                    });
</pre><div
class="cufon-gradient-shadow">Cufon can even have gradient and shadow together.</div><p>4. Add gradient and shadow to a link:</p><pre class="brush: jscript;">
Cufon.replace('a.cufon-gradient-shadow-link', {
                	color: '-linear-gradient(#FF9900, #000000)',
                    textShadow: '2px 2px #C0C0C0',
                    hover: {
		textShadow: '2px 2px #C0C0C0',
		color: '-linear-gradient(#99CC00, #000000)'
	}
                    });
</pre><p><a
href="#" class="cufon-gradient-shadow-link">Cufon can apply gradient and shadow to links.</a></p><p>5. Set font, gradient and hover.</p><pre class="brush: jscript;">
Cufon.replace('a.cufon-easy', {
                    fontFamily: 'Sketch Rockwell',
                    color: '-linear-gradient(#FF6600, #33CCCC)',
                    hover: {
            		textShadow: '2px 2px red',
            		color: '-linear-gradient(black, white)'
	}
</pre><p><a
href="#" class="cufon-easy">Cufon is easy to set up.</a></p><p>6. Add gradient, shadow and transparency to a shadow:</p><pre class="brush: jscript;">
Cufon.replace('a.cufon-transparent', {
                	color: '-linear-gradient(#FFFFFF, #99CCFF)',
                    textShadow: '10px 10px rgba(0, 0, 0, 0.3)',
                    hover: {
		textShadow: '10px 10px rgba(0, 0, 0, 0.3)',
		color: '-linear-gradient(#FFFFFF, #969696)'
	}
                    });
</pre><p>CSS code</p><pre class="brush: css;">
.cufon-transparent { display: block; font-size: 40px; background: url(images/cufon-bg.jpg) repeat; }
</pre><p><a
href="#" class="cufon-transparent">Cufon can work with transparency in links.</a></p><p>You can find much more info on this amazing script on the <a
rel="nofollow" href="http://wiki.github.com/sorccu/cufon">official Cufón&#8217;s pages</a>.<br
/> They also have active forum, where you can ask all your questions regarding Cufón.</p><p><a
rel="nofollow" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&#038;hosted_button_id=N9A8UH9JPJ82G" class="buy-me-beer">Buy me a beer</a></p> ]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/plugins/all-in-one-cufon/feed/</wfw:commentRss> <slash:comments>86</slash:comments> </item> <item><title>PHP Designer 7 &#8211; The best IDE for Web developers.</title><link>http://www.sramekdesign.com/php-designer-7/php-designer-7-the-best-ide-for-web-developers/</link> <comments>http://www.sramekdesign.com/php-designer-7/php-designer-7-the-best-ide-for-web-developers/#comments</comments> <pubDate>Wed, 10 Feb 2010 14:58:53 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[PHP Designer 7]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=447</guid> <description><![CDATA[
As a freelance coder I need a really reliable IDE for everyday work. I&#8217;ve tried a lot of IDEs so far. None of them suited me 100%. Until I found PHP Designer 7.
Since I am sitting by comp not less than 12 hours daily I need eye friendly background. I did myself one. If you [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Fphp-designer-7%2Fphp-designer-7-the-best-ide-for-web-developers%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Fphp-designer-7%2Fphp-designer-7-the-best-ide-for-web-developers%2F&amp;source=TomSramek&amp;style=normal" height="61" width="51" /><br
/> </a></div><p>As a freelance coder I need a really reliable IDE for everyday work. I&#8217;ve tried a lot of IDEs so far. None of them suited me 100%. Until I found <a
href="http://www.mpsoftware.dk/phpdesigner.php" rel="nofollow">PHP Designer 7</a>.<br
/> Since I am sitting by comp not less than 12 hours daily I need eye friendly background. I did myself one. If you want you can download it <a
href="http://www.sramekdesign.com/downloads/dark_bg.zip">here</a>. It includes colorization for languages I use most HTML, PHP, JavaScript and CSS.<br
/> <a
href="http://www.sramekdesign.com/wp-content/uploads/2010/02/darkbg.jpg"><img
src="http://www.sramekdesign.com/wp-content/uploads/2010/02/darkbg-300x234.jpg" alt="" title="darkbg" width="300" height="234" class="aligncenter size-medium wp-image-452" /></a><br
/> What amazes me most about this software is incredible speed. It is much faster than any other IDE I tried before. Whether it is code completion or just a FTP I get what I want immediately.<br
/> Speaking of code completion. PHP Designer 7 has top support for JavaScript / Ajax. You wish jQuery, Ext JS, YUI, Dojo, MooTools or Prototype? No problem with this IDE. Pretty surprising when it&#8217;s called &#8220;PHP&#8221; Designer.<br
/> Things like highlight matching brackets, highlight matching HTML tags or highlight missing brackets are must when you customize your or someone else code. This and much more is implemented in PHP Designer 7.<br
/> More info on this software you can get on its <a
href="http://www.mpsoftware.dk/phpdesigner.php" rel="nofollow">official site</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/php-designer-7/php-designer-7-the-best-ide-for-web-developers/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Youtube Video Box Plugin</title><link>http://www.sramekdesign.com/wordpress/plugins/youtube-video-box-plugin/</link> <comments>http://www.sramekdesign.com/wordpress/plugins/youtube-video-box-plugin/#comments</comments> <pubDate>Tue, 15 Dec 2009 06:47:01 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[embed]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[video]]></category> <category><![CDATA[videobox]]></category> <category><![CDATA[widget]]></category> <category><![CDATA[XHTML valid]]></category> <category><![CDATA[youtube]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=428</guid> <description><![CDATA[
With Youtube Videobox plugin you can add unlimited number of videos to your site in a painless way. All you need is to copy and paste code of the video into the Youtube Videobox widget.
The original video code from Youtube doesn&#8217;t pass W3C validation. My filtered video code will keep your site XHTML valid. Of [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fplugins%2Fyoutube-video-box-plugin%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fplugins%2Fyoutube-video-box-plugin%2F&amp;source=TomSramek&amp;style=normal&amp;hashtags=embed,plugin,video,videobox,widget,XHTML+valid,youtube" height="61" width="51" /><br
/> </a></div><p>With Youtube Videobox plugin you can add unlimited number of videos to your site in a painless way. All you need is to copy and paste code of the video into the Youtube Videobox widget.<br
/> The original video code from Youtube doesn&#8217;t pass W3C validation. My filtered video code will keep your site XHTML valid. Of course only in case the site was valid beforehand <img
src='http://www.sramekdesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p><h3>Latest version 0.9.1</h3><p><a
class="download-file" rel="nofollow" href="http://wordpress.org/extend/plugins/youtube-video-box-plugin/">Download</a></p><h3>Features</h3><ul><li>Plugin outputs XHTML valid code</li><li>Change sizes of the video comfortably through widget panel</li><li>Due to WP widget architecture you can add unlimited number of the widget instances</li></ul><h3>How-to</h3><ul><li>Download plugin from Wordpress repository.</li><li> Unzip and upload it to \wp-content\plugins\. Or you can go to the admin panel:<ul><li>Plugins &#8211;&gt; Add New</li><li>Type &#8220;youtube videobox&#8221; into the search field.</li><li>Install.</li></ul></li><li>Drag the widget instance to the widget panel of your choice</li><li>Add width, height and code of the video</li><li>If you want to display customized video player, you have to tick &#8220;Enable parameters&#8221;. Don&#8217;t do that if you want to keep code of the video XHTML valid.<div
id="attachment_47" class="wp-caption alignnone" style="width: 317px"><img
class="size-full wp-image-47" title="yt" src="http://tomsramek.com/wp-content/uploads/yt.jpg" alt="" width="307" height="233" /><p
class="wp-caption-text">In the your youtube.com, click the wheel and play around with the colors of the player.</p></div></li></ul><h4>Create widgets and put your videos anywhere</h4><p>Adding widgets is not limited only to sidebar. You can widgetize any part of your site. It&#8217;s incredibly easy!<br
/> This is CSS of the widget. Note that width of the widget is set to auto. This allows using setting different sizes of the video without setting new sizes of the widget in CSS.</p><pre class="brush: css;">
.widget            { width: auto; margin: 0px 0 10px 0; }
.widget p          { padding: 10px 10px 10px 10px; }
</pre><p>In functions.php you have to register your sidebar:</p><pre class="brush: php;">
&lt;?php
if (function_exists('register_sidebar')) {
//Video widget 1
    register_sidebar(array(
    'before_widget' =&gt; '&lt;div id=&quot;%1$s&quot; class=&quot;%2$s widget&quot;&gt;',
    'before_title' =&gt; '&lt;h3 class=&quot;widgettitle&quot;&gt;',
    'after_title' =&gt; '&lt;/h3&gt;',
    'after_widget' =&gt; '&lt;/div&gt;',
    'name' =&gt; Video widget 1));
//Video widget 2
    register_sidebar(array(
    'before_widget' =&gt; '&lt;div id=&quot;%1$s&quot; class=&quot;%2$s widget&quot;&gt;',
    'before_title' =&gt; '&lt;h3 class=&quot;widgettitle&quot;&gt;',
    'after_title' =&gt; '&lt;/h3&gt;',
    'after_widget' =&gt; '&lt;/div&gt;',
    'name' =&gt; Video widget 2));
}
?&gt;
</pre><p>The last thing we have to do is add widgets to our code.<br
/> Video widget 1 in the footer:</p><pre class="brush: php; html-script: true;">
&lt;div id=&quot;footer&quot;&gt;
&lt;?php if (function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar('Video widget 1')): else : ?&gt;
&lt;!-- some code --&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
</pre><p>..and Video widget 2 in the sidebar:</p><pre class="brush: php; html-script: true;">
&lt;div id=&quot;sidebar&quot;&gt;
&lt;?php if (function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar('Video widget 2')): else : ?&gt;
&lt;!-- some code --&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
</pre><p><a
rel="nofollow" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&#038;hosted_button_id=KT46YVVNQX4CL" class="buy-me-beer">Buy me a beer</a></p> ]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/plugins/youtube-video-box-plugin/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Display HTML toolbar when PHP file is opened</title><link>http://www.sramekdesign.com/eclipse-ide/display-html-toolbar-when-php-file-is-opened/</link> <comments>http://www.sramekdesign.com/eclipse-ide/display-html-toolbar-when-php-file-is-opened/#comments</comments> <pubDate>Wed, 04 Nov 2009 14:54:14 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Aptana]]></category> <category><![CDATA[Eclipse IDE]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=419</guid> <description><![CDATA[
If  you are using Eclipse IDE with Aptana 2.0 plugin and want to display HTML toolbar even when you have PHP file opened, just follow these instructions:
1.  Go to Preferences -&#62; General -&#62; Editors -&#62; File Associations
2.  In file types  choose .php extension
3.  In associated editors click Add button.
4.  Choose &#8220;Aptana HTML editor&#8221; from internal [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Feclipse-ide%2Fdisplay-html-toolbar-when-php-file-is-opened%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Feclipse-ide%2Fdisplay-html-toolbar-when-php-file-is-opened%2F&amp;source=TomSramek&amp;style=normal" height="61" width="51" /><br
/> </a></div><p>If  you are using Eclipse IDE with Aptana 2.0 plugin and want to display HTML toolbar even when you have PHP file opened, just follow these instructions:</p><p>1.  Go to Preferences -&gt; General -&gt; Editors -&gt; File Associations</p><p>2.  In file types  choose .php extension</p><p>3.  In associated editors click Add button.</p><p>4.  Choose &#8220;Aptana HTML editor&#8221; from internal editors.</p><p>5.  Save your changes by clicking OK</p><p>6.  Now you should see HTML toolbar even when you have PHP file opened.</p><p>I hope this is just a temporal solution and  Aptana developers (or PDT team) will implement this feature in future realeases of PDT plugin.</p> ]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/eclipse-ide/display-html-toolbar-when-php-file-is-opened/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Dark color scheme for Aptana 2.0 on Eclipse IDE</title><link>http://www.sramekdesign.com/eclipse-ide/dark-color-scheme-for-aptana-2-0-on-eclipse-ide/</link> <comments>http://www.sramekdesign.com/eclipse-ide/dark-color-scheme-for-aptana-2-0-on-eclipse-ide/#comments</comments> <pubDate>Wed, 04 Nov 2009 11:38:12 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Eclipse IDE]]></category> <category><![CDATA[dark colors]]></category> <category><![CDATA[green chaud]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=413</guid> <description><![CDATA[
For all eyes bleeding users of Aptana 2.0 on Eclipse IDE. I uploaded my colors scheme preferences for Eclipse using Aptana 2.0 as plugin. This color scheme is based on Green Chaud color scheme.
1. Download the .zip file with preferences
2. Unzip it and import: File -&#62; Import -&#62; Preferences -&#62; Import All
3. That&#8217;s it!
downloaded: [download#2#hits]
Download [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Feclipse-ide%2Fdark-color-scheme-for-aptana-2-0-on-eclipse-ide%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Feclipse-ide%2Fdark-color-scheme-for-aptana-2-0-on-eclipse-ide%2F&amp;source=TomSramek&amp;style=normal&amp;hashtags=dark+colors,green+chaud" height="61" width="51" /><br
/> </a></div><p>For all eyes bleeding users of Aptana 2.0 on Eclipse IDE. I uploaded my colors scheme preferences for Eclipse using Aptana 2.0 as plugin. This color scheme is based on<a
href="http://gueschla.com/labs/green-chaud/"> Green Chaud color scheme</a>.</p><p>1. Download the .zip file with preferences<br
/> 2. Unzip it and import: File -&gt; Import -&gt; Preferences -&gt; Import All<br
/> 3. That&#8217;s it!</p><p><span
style="text-align: center;">downloaded: [download#2#hits]</span></p><p>Download  [download#2#nohits]</p> ]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/eclipse-ide/dark-color-scheme-for-aptana-2-0-on-eclipse-ide/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Display current logged in user</title><link>http://www.sramekdesign.com/wordpress/display-current-logged-in-user/</link> <comments>http://www.sramekdesign.com/wordpress/display-current-logged-in-user/#comments</comments> <pubDate>Mon, 27 Jul 2009 14:58:18 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[log in]]></category> <category><![CDATA[log out]]></category> <category><![CDATA[user]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=386</guid> <description><![CDATA[
1. If you are logged out you will see &#8220;Please log in or Register&#8221;
else if you are logged in
2. you will see  &#8220;Welcome USERNAME&#8221;&#60;?php  if (is_user_logged_in()) {
$user = wp_get_current_user();
echo 'Welcome &#60;strong&#62;'.$user-&#62;display_name.'&#60;/strong&#62; !';
[...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fdisplay-current-logged-in-user%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fdisplay-current-logged-in-user%2F&amp;source=TomSramek&amp;style=normal&amp;hashtags=log+in,log+out,user" height="61" width="51" /><br
/> </a></div><p>1. If you are logged out you will see &#8220;Please <strong>log in</strong> or <strong>Register</strong>&#8221;</p><p>else if you are logged in</p><p>2. you will see  &#8220;Welcome <strong>USERNAME</strong>&#8221;</p><pre class="brush: php;">
&lt;?php  if (is_user_logged_in()) {
          $user = wp_get_current_user();
          echo 'Welcome &lt;strong&gt;'.$user-&gt;display_name.'&lt;/strong&gt; !';
                        } else { ?&gt;
          Please &lt;strong&gt;&lt;?php wp_loginout(); ?&gt;&lt;/strong&gt;
          or &lt;a href=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-login.php?action=register&quot;&gt;&lt;strong&gt;Register&lt;/strong&gt;&lt;/a&gt;
          &lt;?php } ?&gt;
</pre>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/display-current-logged-in-user/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Free theme Sidon</title><link>http://www.sramekdesign.com/wordpress/themes/sidon/</link> <comments>http://www.sramekdesign.com/wordpress/themes/sidon/#comments</comments> <pubDate>Thu, 23 Jul 2009 14:53:25 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Themes]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=377</guid> <description><![CDATA[NEW! update 1.4.1dropdown menu
nested comments
minor fixesSidon 1.3.13 column AdSense ready
2 columns widget ready
blue and white colors
XHTML valid TransitionalPreview
Download
]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin: 0 0 10px 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fthemes%2Fsidon%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwww.sramekdesign.com%2Fwordpress%2Fthemes%2Fsidon%2F&amp;source=TomSramek&amp;style=normal" height="61" width="51" /><br
/> </a></div><p><img
class="aligncenter size-full wp-image-378" title="sidon-splash" src="http://www.sramekdesign.com/wp-content/uploads/2009/07/sidon-splash.jpg" alt="sidon-splash" width="650" height="263" /></p><h2>NEW! update 1.4.1</h2><ul><li>dropdown menu</li><li>nested comments</li><li>minor fixes</li></ul><p></br></p><h2>Sidon 1.3.1</h2><ul><li>3 column AdSense ready</li><li>2 columns widget ready</li><li>blue and white colors</li><li>XHTML valid Transitional</li></ul><p><a
href="http://sramekdesign.com/free-theme/sidon/">Preview</a><br
/> <a
href="http://wordpress.org/extend/themes/sidon" rel="nofollow">Download</a></p> ]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/themes/sidon/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 9/14 queries in 0.005 seconds using disk

Served from: www.sramekdesign.com @ 2010-08-01 07:32:03 -->